scan_red_flags
Detect static security red flags in a project directory, such as client-trusted roles or pricing, unverified webhooks, raw-HTML XSS sinks, and exposed .env files.
Instructions
Preflight checks #3/#5/#6/#8 as static signals (port of scan-red-flags.sh): role/plan/price read from the request body, premium decided in localStorage, webhook handlers without signature-verification markers, raw-HTML XSS sinks, Supabase/Firebase client usage, .env files present. Every finding is confidence 'sinal'.
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": {
"target": "<target>"
},
"name": "scan_red_flags"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Absolute or relative path to the project directory |