audit_code
Statically scans source code before delivery or execution to flag RCE, data exfiltration, reverse shells, hard-coded secrets and unsafe patterns without running anything. Returns a pass/warn/review/block verdict with line-numbered findings.
Instructions
Audit source code before delivering or running it. Flags remote code execution (curl | bash), data exfiltration of environment variables or credential files, reverse shells, destructive commands, hidden base64 payloads, hard-coded secrets (AWS, OpenAI, Stripe, GitHub, database URLs), install-time hooks, typo-squatted package names and unsafe patterns such as shell=True, pickle.loads or TLS verification turned off. Nothing is executed; the audit is static text analysis. Returns a verdict (pass/warn/review/block), a safe_to_deliver flag and findings with line numbers.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Source code to audit (single file or snippet). | |
| path | No | Optional file name for the snippet. | |
| files | No | Several files instead of one snippet. |