guard_inspect
Audit commands or code snippets before execution to detect secret leaks, SQL injection, TLS bypass, CORS wildcards, destructive commands, raw grep, and never-terminating streams.
Instructions
Pre-flight security & hygiene audit for commands or code snippets. Detects secret leaks, SQL injection, TLS bypass (incl. git-level), CORS wildcard, destructive commands, raw grep, and never-terminating streams (tail -f, watch, docker attach).
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": "guard_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Optional: Code snippet, replacement diff, or file content to audit | |
| command | No | Optional: Terminal command line to audit | |
| file_path | No | Optional: File path being written or modified |