audit_sql
Identify SQL injection risks in scripts by checking for missing %e in mysql_format calls.
Instructions
Scan a script for potential SQL Injection risks (missing %e in mysql_format).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "audit_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the script file |