Skip to main content

Tools

Tools

Deflectra agents operate through a rich set of built-in tools that provide fine-grained capabilities for file inspection, network interaction, encoding, vulnerability reporting, and more. These tools are invoked autonomously by agents during a scan and can also be composed together for complex, multi-step attack chains.

File System

Tools for reading and exploring the project's source files.

ToolDescription
List FilesLists the contents of a project directory
Read FileReads a full file with line numbers
Read File SegmentReads a specific line range from a file
Find FilesRecursively searches files by name or glob pattern
Grep SearchSearches text within file contents

HTTP

Tools for performing network requests against the target application.

ToolDescription
HTTP RequestPerforms a standard HTTP request (GET, POST, etc.)
Batch HTTP RequestExecutes multiple requests in batch, in series or parallel
Brute Force RequestIterates automatic payloads against an endpoint with success criteria
Raw HTTP RequestSends raw bytes over TCP/TLS for full protocol control

Encoding

Tools for encoding and decoding data in various formats.

ToolDescription
Encode TextEncodes text in base64, hex, URL, AES, RSA, JSFuck, PHP Filter Chain, etc.
Decode TextDecodes text from base64, hex, URL, AES, RSA, etc.

Serialization

Tools for generating insecure deserialization payloads.

ToolDescription
Serialize ObjectGenerates insecure deserialization payloads in Java, PHP, Phar or Python/Pickle

Semgrep

Tools for AI-assisted static analysis using Semgrep rules.

ToolDescription
Semgrep Rule GeneratorGenerates a Semgrep rule with AI and runs it against the project

Endpoints

Tools for discovering and registering API endpoints.

ToolDescription
Add EndpointRegisters a discovered API endpoint in the database
Add Multiple EndpointsRegisters multiple endpoints in batch efficiently
Semgrep Endpoint RuleDetects endpoints with Semgrep and verifies them with AI before saving

Vulnerabilities

Tools for reporting and correlating discovered vulnerabilities.

ToolDescription
Report VulnerabilityReports a vulnerability and starts the deduplication & verification pipeline
Search Related VulnerabilitiesSearches for a related vulnerability in DB or code for chained exploits

Sub-Agents

Tools for delegating complex tasks to specialised sub-agents.

ToolDescription
Dynamic Vulnerability VerifierLaunches a sub-agent that verifies the vuln by executing real attacks
Delegate HTTP TaskDelegates a complex HTTP task to a specialised HTTP agent
Delegate Code AnalysisDelegates a code question to a static analysis specialist agent

Dynamic Placeholders

Deflectra's backend processes dynamic placeholders within tool parameters (such as URLs, headers, or HTTP request bodies). These placeholders allow agents to perform on-the-fly data transformations during a scan without needing separate tool calls.

Encryption and Encoding

Use these placeholders to encode or decode data within any text field.

Syntax: {{encode:type:text[:parameters]}} or {{decode:type:text[:parameters]}}

TypeDescriptionSupported Parameters
base64Standard Base64 encoding.-
jsfuckJavaScript encoding using only 6 characters.eval=true/false, parent=true/false
hexHexadecimal representation.-
urlURL encoding (percent-encoding).-
htmlHTML entity encoding.-
aesAES Encryption/Decryption (128, 192, 256 bits).key, iv, padding=true/false, iv_in_payload=true/false, key_encoding, iv_encoding
rsaRSA Encryption/Decryption.public_key, private_key
php_filter_chainPHP Filter Chain generation for LFI/RCE.prefix, suffix, resource
unicodeUnicode character escape (\uXXXX).-
binaryBinary representation (0s and 1s).-
Othersoctal, decimal, ascii, utf8, unicode-binary-

Example: {{encode:base64:admin:admin}}YWRtaW46YWRtaW4=

Object Serialization

Used to generate payloads for insecure deserialization exploitation.

Syntax: {{serialize:type:json_config}}

TypeDescription
javaJava Object Serialization payload.
pythonPython pickle payload.
pharPHP Phar archive payload.
php-stringPHP serialized string literal.

Usage: The configuration is a JSON object defining the class and data to serialize. Deflectra will automatically calculate lengths and formats required by each specific language protocol.