Every check we run
Every check we run, and what it takes to turn it RED. Nothing here is a score.
ai
coverage-only (never emitted as a finding; listed so the catalogue documents what discovery feeds COST-001/AI-INJ-002)
AMBER; RED if leaked text contains a secret
Proven by: 1 canned payload, max_tokens<=200, only on endpoints already proven anonymous
AMBER (supply-chain via agent tooling): curl|sh, or npx/uvx/pipx -y without an exact version (@latest, @next, ranges count as unpinned); cmd /c wrappers judged on the wrapped command
AMBER when an MCP server's own command is a shell (bash/sh/zsh/cmd/powershell/pwsh) with -c, /c or -Command before its first non-flag argument, or node -e / python -c; a plain cmd /c or sh -c wrapper around npx/uvx/node/python with no shell syntax, and a shell inside a container's arguments, are not flagged
Proven by: code only (committed MCP configs, all formats incl. VS Code servers); the inline code is never shown
AMBER for every command hook and command-running setting (statusLine, apiKeyHelper, awsAuthRefresh, awsCredentialExport, otelHeadersHelper) in .claude/settings*.json; RED when it downloads and runs code (curl|sh, eval $(curl ...)) or sends a credentials file (~/.ssh, .env, ~/.aws/credentials) over the network. Up to 500 hooks per file evaluated; every RED shown, then 10 AMBER and a count
Proven by: code only; evidence is the file, event and first 80 characters of the command, redacted; hook scripts are not read or run
AMBER for permissions.allow Bash / Bash(*) / *, defaultMode bypassPermissions, or dangerouslySkipPermissions/skipPermissions true in .claude/settings*.json
Proven by: code only; Cursor and Windsurf permission settings not checked
RED for Unicode tag characters, bidi controls, variation-selector runs or invisible operators; AMBER for zero-width characters alone. Files: CLAUDE.md, AGENTS.md, GEMINI.md (also in subfolders up to 3 deep), .cursorrules, .windsurfrules, copilot-instructions, Cursor rules, Claude commands/agents, SKILL.md. A leading BOM, emoji and script joiners and the England/Scotland/Wales flags are ignored
Proven by: code only, max 50 files, first 200KB each, files over 2MB skipped; evidence is the file, line numbers and counts by type; the hidden text is never decoded
coverage-only (informational, never a finding: a .claude/skills/<name>/ folder containing .sh/.bash/.zsh/.py/.js/.mjs/.cjs/.ts/.rb/.ps1 files is listed in the report coverage so you can review them)
Proven by: code only; script names only, contents not read
api
AMBER (RED if stack contains secret)
AMBER (RED if the classifier finds a secret literal inside)
AMBER, evidence is key names only; RED if the classifier finds a recognised secret literal inside
AMBER (RED if data API + PII proof)
AMBER
AMBER (RED if executable + public URL)
RED when a live /api/ path reflects our arbitrary probe Origin AND sets Allow-Credentials:true (worse than *, which browsers reject with credentials); AMBER when only the homepage reflects it
Proven by: one anonymous GET per target with a custom Origin header, <=4 targets (homepage + <=3 crawled /api/ paths), within the surface budget; evidence is the reflected header values only
RED when a clearly-session cookie is missing both HttpOnly and Secure; AMBER when a session/auth-named cookie is missing any one of HttpOnly, Secure or SameSite
Proven by: reads Set-Cookie already seen on the homepage/crawled responses, no extra request; evidence is the cookie name + missing attributes, never the value
RED — the site redirects visitors to an arbitrary external host supplied through a redirect-style query param (phishing + OAuth token theft)
Proven by: passive: only a redirect param the site's own links use is probed, one anonymous GET per param (<=2), redirects never followed; evidence is the param name + that an external Location was returned, never full URLs
informational (recorded in coverage); AMBER only when a referenced path looks sensitive by name (admin/internal/debug/export/delete/all/users/payments) and the page sets no auth cookie/header. Path names only
Proven by: passive: reads only pages/bundles already fetched (no new requests); same-origin fetch()/axios()/supabase.from()/"/api/"/"/rest/v1/" references, deduped, static assets dropped, capped at 40
appwrite
RED for update/delete/write by any or guests; AMBER for read by any, or update/delete by any signed-in user
Proven by: code only (appwrite.json)
auth
RED if /admin* anon 200 with sensitive content
AMBER, code only: client code sends a role field in an update body. Never tested live (we do not sign in)
AMBER (RED if combined with credential stuffing surface)
Proven by: <=15 reqs/30s, abort on 429
AMBER, code only. Not tested live (we do not sign in)
authz
RED on A->B proof with throwaway users
Proven by: A/B harness + cleanup
bubble
RED for a user-data type (user, order, payment, message, customer, profile…), AMBER otherwise, when an anonymous Data API list returns records
Proven by: only when the site's own page shows Bubble's page globals; the site's own host only; type names its code reveals (max 5); one GET each, limit=1; type name and count kept, never ids or field values
code
RED when the request input is the whole URL (attacker-controlled host); AMBER when input is appended to a fixed host; suppressed when an allowlist/host validation is in view near the call
Proven by: code only (static, JS/TS + Python); single-hop taint; OWASP A10
RED — request input interpolated/concatenated into a raw SQL string (.query/.raw/$queryRawUnsafe/sequelize.query/cursor.execute). Parameterised queries ($1/?/:name/params array) never flagged
Proven by: code only (static, JS/TS + Python); OWASP A03
AMBER — jsonwebtoken jwt.decode()/jwtDecode() (never verifies), or pyjwt jwt.decode with verify disabled; evidence notes when a role/admin claim is read from it
Proven by: code only (static, JS/TS + Python); OWASP A02/A07
AMBER — the whole request body spread into create/update/save (Prisma data:{...req.body}, Model.update(req.body), SQLAlchemy **request.json)
Proven by: code only (static, JS/TS + Python); OWASP A08/A04
AMBER — res.redirect/redirect/RedirectResponse sent to a URL from request input with no allowlist or relative-path check
Proven by: code only (static, JS/TS + Python); single-hop taint; OWASP A01
AMBER — fs.readFile/sendFile/open/send_file given a path from request input with no normalisation, basename or allowlist
Proven by: code only (static, JS/TS + Python); single-hop taint; OWASP A01/A05
AMBER — next.config images.remotePatterns hostname '**' or images.domains including '*' (SSRF/abuse via the image optimizer)
Proven by: code only (static, next.config.*); OWASP A10
AMBER — a Clerk/Svix, Lemon Squeezy or Paddle webhook route reads the body but verifies no signature (Stripe is covered by PAY-001)
Proven by: code only (static, JS/TS + Python); OWASP A08
convex
AMBER for a public mutation/action whose handler never reads ctx.auth (internal functions exempt)
Proven by: code only (convex/)
Fix guide: Your Convex mutations are public endpoints.
cost_abuse
RED only when the endpoint echoes our nonce (proven spend); AMBER if it answers anonymously but the nonce is unconfirmed
Proven by: tiny max_tokens<=16, nonce echo required for RED, <=3 reps
Fix guide: Your AI API key is in your frontend. Anyone can spend your money.
AMBER (RED if anon + top-tier model selectable)
dependencies
AMBER default; RED only if reachable + exploit path (Trivy/OSV + call graph)
AMBER when the apex domain publishes no v=spf1 TXT record (anyone can send as your domain), or an SPF record ending in a permissive +all/?all; ~all/-all is fine
Proven by: one public DNS TXT read of the audited apex domain; evidence is the public record value, never invented
AMBER when _dmarc.<domain> publishes no v=DMARC1 TXT record, or the policy is p=none (monitoring only, not enforced); p=quarantine/p=reject is fine
Proven by: one public DNS TXT read of _dmarc.<apex>; evidence is the public record value
informational only (coverage) — DKIM selectors cannot be read without guessing, which we never do, so no finding is emitted; coverage notes whether DMARC alignment implies DKIM is expected
Proven by: no selector enumeration or guessing; reported only from records the domain already publishes
firebase
RED for write/update/delete open to everyone, or read of every document; AMBER for public read of one collection or open create; includes unexpired test-mode rules
Proven by: code only (firestore.rules)
Fix guide: Your Firestore rules may let anyone read everything.
same as FB-RULES-003, for storage.rules
Proven by: code only (storage.rules)
Fix guide: Anyone may be able to list and download your Firebase files.
RED for .write true anywhere or .read true at the root; AMBER for .read true below the root
Proven by: code only (database.rules.json)
Fix guide: Your Firestore rules may let anyone read everything.
RED for a user-data collection, AMBER otherwise, when an anonymous read returns a document
Proven by: collections the site's own code names (max 5); one GET each, no fields requested, document ids never kept
Fix guide: Your Firestore rules may let anyone read everything.
AMBER when an anonymous listing returns any file
Proven by: one GET of the bucket root, maxResults=1; file names never kept
Fix guide: Anyone may be able to list and download your Firebase files.
RED if anonymous GET /.json?shallow=true returns a non-empty object (proven)
Proven by: 1 request, shallow only, key names in evidence, never values
infra
AMBER (RED if secret inside)
Fix guide: Your .env file is a URL away.
AMBER (hygiene; never RED)
AMBER (hygiene; never RED)
AMBER (hygiene; never RED)
AMBER low — one finding listing the absent headers
Proven by: homepage response headers; 0 extra requests
AMBER low
Proven by: homepage Strict-Transport-Security header; 0 extra requests
AMBER low when Server/X-Powered-By carries a version number
Proven by: homepage response headers; 0 extra requests
AMBER when an https page loads a script/form/stylesheet over http
Proven by: passive, from the homepage body; 0 extra requests
RED when the file is served and looks like real config
Proven by: one GET each, budgeted; evidence withholds values
RED when a binary .DS_Store is served
Proven by: one GET, budgeted; directory names not dumped
AMBER — unsafe-inline/unsafe-eval or a wildcard * in script-src/default-src, or a missing frame-ancestors or object-src 'none'; only fires when a CSP IS present, so it never double-reports with INFRA-HDR-001 (absence)
Proven by: parses the CSP header already seen on the homepage, no extra request; evidence is the offending directive only
AMBER, and every other check is reported as NOT_checked (a challenge page is never graded)
AMBER when a same-origin bundle's source map is readable (a real JSON source map, found via its //# sourceMappingURL= comment or the conventional <bundle>.map); the secret classifier runs over its sourcesContent independently (RED if a key is inside). Evidence is the map URL and source count only — never the source text
Proven by: passive: one GET per already-fetched same-origin bundle, budget-guarded, capped at 5 maps
RED when the audited host's certificate is already expired; AMBER when it expires within 15 days, its hostname does not match, or the negotiated protocol is TLS 1.0/1.1 (only when cleanly detectable)
Proven by: one TLS handshake to the audited host (short timeout); evidence is the notAfter date, host and protocol — never key material
AMBER when a same-registrable-domain hostname the site's own fetched pages/bundles link to is a CNAME to a known-takeover-prone target (S3/github.io/herokuapp/netlify/vercel/azurewebsites) that no longer resolves (NXDOMAIN)
Proven by: passive: only hostnames the customer's own fetched text references, same registrable domain only, capped at 5; never enumerated or guessed; evidence is the hostname and dangling target only
nextjs
AMBER (medium) when a pages/api route, an app route exporting POST/PUT/PATCH/DELETE, or a 'use server' action writes data (Prisma/Drizzle/Supabase/Mongo/Firestore/fetch with a write method) and neither it, a helper it calls, nor a protecting middleware.ts checks the session; webhook/cron/health/og/sitemap/robots/sign-in routes and signature-verified handlers skipped; capped at 10
Proven by: code only (Next.js repos)
RED when a NEXT_PUBLIC_ value in a committed .env file matches a known secret format; AMBER when the name looks secret (SECRET, SERVICE_ROLE, PRIVATE_KEY, PASSWORD) in a committed .env, next.config env, or code; placeholders and public-by-design keys (anon, Firebase API, publishable) ignored
Proven by: code only; evidence is the variable name, never the value
AMBER (low) when the site's own pages or bundles name *.vercel.app branch (-git-) or per-deploy (hash with 2+ digits) URLs; not visited, so whether Deployment Protection is on is unknown
Proven by: passive: reads only pages the scan already fetched; preview hosts are never visited, guessed or enumerated
payments
RED-capable static: missing constructEvent (no live charge test)
Fix guide: Anyone can tell your app they paid.
RED-capable static: amount from req.body without Price-ID allowlist
Fix guide: Anyone can tell your app they paid.
pocketbase
RED for an empty update/delete rule, or an empty list/view rule on an auth or user-data collection; AMBER otherwise
Proven by: code only (pb_migrations, pb_schema.json); last migration wins
Fix guide: In PocketBase, an empty rule means everyone.
RED for a user-data collection, AMBER otherwise, when an anonymous list returns records
Proven by: best-effort (needs the PocketBase URL readable in the site's code); PocketBase on the site's own domain or a subdomain only; collections the site's code names (max 5); one GET each, ids only requested, never kept
Fix guide: In PocketBase, an empty rule means everyone.
regrets
AMBER max (Things you will regret later)
secrets
RED if service_role JWT in bundle (bypasses RLS)
Fix guide: Your Supabase service_role key is in the browser.
RED if sk_live_* in shipped JS
RED — full database access, bypasses RLS like service_role
RED (unbounded spend)
Fix guide: Your AI API key is in your frontend. Anyone can spend your money.
RED
Fix guide: Your AI API key is in your frontend. Anyone can spend your money.
RED until rotated. Scans the files at the checked commit only; secrets deleted from older commits are not scanned
Fix guide: Your Supabase service_role key is in the browser.
AMBER (confirm reachability)
Fix guide: Your Supabase service_role key is in the browser.
AMBER, confidence low — these keys are public by design, verify scope; never RED
RED — the API key (not the client token) can read/write org-wide monitoring data
RED for sk_live_ (full Clerk backend API: users, sessions, impersonation); AMBER for sk_test_ (development instance). Confidence medium — same shape as Stripe, so only flagged with Clerk context (CLERK_SECRET_KEY / createClerkClient)
RED — lets anyone act as your application against Auth0. Confidence medium — no prefix, only flagged when assigned to AUTH0_CLIENT_SECRET or clientSecret beside auth0
RED — direct read/write to the database (postgres, mysql, mongodb, incl. Neon/PlanetScale/Atlas). Local, example and placeholder passwords never flagged
RED — database access. Confidence medium — plain JWT, only flagged with TURSO_/LIBSQL_ variable or libsql:// context
RED (spend on your Google account). Confidence medium — AIza keys are also public Firebase keys, so only flagged with Gemini context
RED (unbounded spend)
RED (unbounded spend)
RED — anyone can send email as your domain
RED — anyone can send email as your account
RED — SMS/calls billed to you, account access. Confidence medium — 32 hex with no prefix, only flagged with TWILIO_AUTH_TOKEN or twilio(sid, token) context
RED — read/write to every base the token covers
RED — read/write to shared Notion pages. ntn_ is high confidence; legacy secret_ only with Notion context (medium)
RED — read/write to your Redis data. Confidence medium — only flagged with UPSTASH_ variable or *.upstash.io context
RED (config files are read by every agent run)
supabase
RED if anon reads PII/financial rows (dynamic proof)
Proven by: anon GET /rest/v1/<table>, <=5 reqs, throwaway data only
RED if anon/auth reads cross-user rows
Remediation: USING(auth.uid()=user_id) + down-migration
AMBER — any made-up email becomes an 'authenticated' user
Proven by: one GET /auth/v1/settings (public, anon key)
AMBER — anonymous visitors get the authenticated role
Proven by: one GET /auth/v1/settings (public, anon key)
AMBER
Proven by: one GET /auth/v1/settings (public, anon key)
RED if anon INSERT succeeds on user table
AMBER for a public bucket with a sensitive name (live bucket list, the site's own getPublicUrl calls, or migrations); RED for a storage.objects read policy open to everyone
Proven by: one GET /storage/v1/bucket (anon key); file listing never attempted (POST)
AMBER from supabase/config.toml verify_jwt = false (webhook-style names exempt)
Proven by: code only; non-AI functions are never called
AMBER (RED if search_path hijack + data exfil path)
AMBER when a function the site calls returns rows to an anonymous visitor
Proven by: getter-named functions only (get_/list_/search_…), GET with no arguments in a read-only transaction; row count + column names only
AMBER, code only (public schema, no caller check, EXECUTE not revoked from PUBLIC)
Proven by: code only (migrations)
Machine-readable: /checks.json