a2a-auditor
v0.3.1Scans Agent2Agent (A2A) protocol code for webhook SSRF, missing auth, and credential exposure
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scan_text
Scan Agent2Agent (A2A) protocol implementation code for anti-patterns found in the reference SDKs and sample agents: an Agent Card fetching a client-supplied push-notification webhook URL with no host allowlist (SSRF), a request handler wired up with no authentication at all, and a literal credential embedded directly in Agent Card metadata (which is served publicly).
| Parameter | Type | Description |
|---|---|---|
content * | string | The code content to scan |
label | string | Optional label shown in findings (e.g. filename) |
scan_file
Scan a single file for A2A (Agent2Agent) protocol anti-patterns
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the file to scan |
scan_directory
Recursively scan a directory of A2A agent source for protocol anti-patterns
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the directory to scan |
exclude | array | Skip files/dirs whose path contains one of these strings |
include | array | Only scan files whose path contains one of these strings |
maxFiles | integer | Maximum number of files to scan (default: 5000) |
list_patterns
List every A2A (Agent2Agent) protocol pattern this auditor detects, grouped by category