tools/security/auth_flow_trace
newsecurityv0.3.0pro · $0.002/call

fizzgig__auth_flow_trace

traces every protected route back to its auth check + verifies webhooks.

heuristic auth-flow audit. Flags protected-shaped routes (/admin, /dashboard, /account, /api/admin, /api/private) without detectable auth gating — pass files with `// path`-style markers and it names the exact unprotected handler files (per-file attribution) rather than a blanket verdict; webhook routes without signature verification (stripe constructEvent / crypto.createHmac / svix); auth library drift (mixing next-auth + clerk + supabase + auth0 + iron-session + lucia in one source).

new v0.3.0 pro
// input schema
schema · application/json
{
"type": "object"
"required": [
"project"
]
"properties": {
"project": {
"type": "string"
"description": "the project slug or path"
}
"strict": {
"type": "boolean"
"default": false
"description": "fail on warnings, not just errors"
}
}
}
// output schema
schema · application/json
{
"type": "object"
"properties": {
"ok": {
"type": "boolean"
}
"findings": {
"type": "array"
"items": {
"type": "object"
"properties": {
"severity": {
"enum": [
"info"
"warn"
"high"
"critical"
]
}
"message": {
"type": "string"
}
"fix": {
"type": "string"
}
}
}
}
}
}
// example call from cursor
~/myapp — example output
fizzgig__auth_flow_trace(project="myapp")
{
"ok": false,
"findings": [
{ "severity": "high",
"message": "policy uses user_id without auth.uid()",
"fix": "USING (auth.uid() = user_id)" }
],
"scanned": 3, "duration_ms": 142
}
// reviews
@maya.codes★★★★★
2 days ago

caught a policy that would have leaked every user's comments. shipped a fix in 4 minutes.

@solo_at_3am★★★★★
1 week ago

first tool i installed. it's the one that pays for itself.

@vibebuilder★★★★
2 weeks ago

works great. one false positive on a join table — easy to ignore.

// primary action
add to your editor
paste this into your mcp config.
.cursor/mcp.json
{
  "fizzgig": {
    "url": "https://mcp.fizzgig.ai",
    "tools": ["auth_flow_trace"]
  }
}
full setup guide →
// pricing
$0.002 / call
included free in pro plan.