Every check we run

Every check we run, and what it takes to turn it RED. Nothing here is a score.

ai

AI-DISC-001coverage-only (never emitted as a finding)
AI/chat endpoint discovered

coverage-only (never emitted as a finding; listed so the catalogue documents what discovery feeds COST-001/AI-INJ-002)

AI-INJ-002live
System prompt or hidden instructions leak via prompt injection

AMBER; RED if leaked text contains a secret

Proven by: 1 canned payload, max_tokens<=200, only on endpoints already proven anonymous

AI-MCP-003live
MCP/tool config runs unpinned or piped commands

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

AI-MCP-004live
MCP server starts a shell or runs inline code

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

AI-AGENT-001live
Agent hook runs a command

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

AI-AGENT-002live
Agent settings let the agent run any command without asking

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

AI-AGENT-003live
Hidden characters in agent instruction files

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

AI-AGENT-004coverage-only (never emitted as a finding)
Claude skill ships scripts your agent can run

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

API-DBG-001live
Debug details in production

AMBER (RED if stack contains secret)

API-DOCS-001live
API documentation is public

AMBER (RED if the classifier finds a secret literal inside)

API-DBG-002live
Debug/config endpoint exposes internal settings

AMBER, evidence is key names only; RED if the classifier finds a recognised secret literal inside

API-CORS-001live
CORS allow-all with credentials

AMBER (RED if data API + PII proof)

API-GQL-002live
GraphQL introspection exposed

AMBER

API-UPLOAD-003catalogued, not yet live
Unrestricted file upload

AMBER (RED if executable + public URL)

WEB-CORS-002live
CORS reflects any origin with credentials

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

WEB-REDIRECT-001live
Open redirect in an auth/callback parameter

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

SURFACE-API-001live
Client-side inventory of the API endpoints your frontend calls

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

AW-PERM-001live
Appwrite collection or bucket open to anyone

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

AUTH-ADMIN-001catalogued, not yet live
Admin endpoint without authentication

RED if /admin* anon 200 with sensitive content

AUTH-MASS-002live
Self-editable role (mass assignment)

AMBER, code only: client code sends a role field in an update body. Never tested live (we do not sign in)

AUTH-RATELIMIT-003catalogued, not yet live
No rate limit on login/reset

AMBER (RED if combined with credential stuffing surface)

Proven by: <=15 reqs/30s, abort on 429

AUTH-SESSION-004catalogued, not yet live
Session survives logout/password change

AMBER, code only. Not tested live (we do not sign in)

authz

SUPA-BOLA-002catalogued, not yet live
Another user can read this record

RED on A->B proof with throwaway users

Proven by: A/B harness + cleanup

bubble

BUBBLE-DATA-001live
Bubble data type listable through the Data API without login

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

CODE-SSRF-001live
Server-side request built from request input (SSRF)

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

CODE-SQL-001live
Raw SQL built from request input

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

CODE-JWT-001live
JWT decoded without verifying the signature

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

CODE-MASS-001live
Request body written straight into a DB write (mass assignment)

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

CODE-REDIRECT-001live
Open redirect from request input

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

CODE-TRAVERSAL-001live
Filesystem path built from request input (path traversal)

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

CODE-NEXTIMG-001live
Next.js image optimizer allows any remote host

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

CODE-WEBHOOK-001live
Third-party webhook handler with no signature check

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

CVX-AUTH-001live
Convex mutation with no login check

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

COST-001live
Anonymous expensive AI endpoint

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.

COST-002catalogued, not yet live
User-controlled model/max_tokens without cap

AMBER (RED if anon + top-tier model selectable)

dependencies

DEP-REACH-001live
Reachable critical CVE in prod path

AMBER default; RED only if reachable + exploit path (Trivy/OSV + call graph)

email

EMAIL-SPF-001live
Email spoofing possible — SPF missing or too permissive

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

EMAIL-DMARC-001live
Email spoofing not enforced — DMARC missing or p=none

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

EMAIL-DKIM-001live
DKIM signing posture

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

FB-RULES-003live
Firestore rules open to anyone

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.

FB-RULES-004live
Firebase Storage rules open to anyone

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.

FB-RULES-005live
Realtime Database rules open to anyone

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.

FB-FS-006live
Firestore collection readable without login

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.

FB-STORAGE-007live
Firebase Storage files listable without login

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.

FB-RTDB-001live
Firebase Realtime Database readable without login

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

INFRA-EXP-001live
/.env exposed

RED on 200 + KEY= pattern

Fix guide: Your .env file is a URL away.

INFRA-EXP-002live
/.git exposed

RED on ref: match

Fix guide: Your .env file is a URL away.

INFRA-MAP-003live
Source maps expose original code

AMBER (RED if secret inside)

Fix guide: Your .env file is a URL away.

INFRA-HDR-001live
Content-Security-Policy missing

AMBER (hygiene; never RED)

INFRA-HDR-002live
HSTS missing

AMBER (hygiene; never RED)

INFRA-HDR-003live
Clickjacking protection missing

AMBER (hygiene; never RED)

INFRA-HDR-004live
Browser hardening headers missing (nosniff / Referrer-Policy / Permissions-Policy)

AMBER low — one finding listing the absent headers

Proven by: homepage response headers; 0 extra requests

INFRA-HDR-005live
HSTS present but weak (short max-age / no includeSubDomains)

AMBER low

Proven by: homepage Strict-Transport-Security header; 0 extra requests

INFRA-VER-001live
Server/framework version disclosed in headers

AMBER low when Server/X-Powered-By carries a version number

Proven by: homepage response headers; 0 extra requests

HTTPS-001live
Active mixed content (http scripts/forms on an https page)

AMBER when an https page loads a script/form/stylesheet over http

Proven by: passive, from the homepage body; 0 extra requests

INFRA-EXP-003live
Config/compose file exposed (docker-compose.yml / config.json)

RED when the file is served and looks like real config

Proven by: one GET each, budgeted; evidence withholds values

INFRA-EXP-004live
/.DS_Store exposed (leaks directory names)

RED when a binary .DS_Store is served

Proven by: one GET, budgeted; directory names not dumped

WEB-CSP-002live
Content-Security-Policy present but weak

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

INFRA-SURF-001live
Bot protection blocked the scan

AMBER, and every other check is reported as NOT_checked (a challenge page is never graded)

SURFACE-MAP-001live
Public JavaScript source maps expose your original source

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

TLS-001live
TLS certificate or protocol posture

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

INFRA-CNAME-001live
Dangling CNAME your site references (subdomain-takeover risk)

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

NEXT-AUTH-001live
Next.js API route or server action changes data with no login check

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)

NEXT-ENV-002live
Server secret exposed through NEXT_PUBLIC_ or next.config env

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

VERCEL-PREVIEW-003live
Site links to Vercel preview deployments (check they require login)

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

PAY-001live
Stripe webhook without signature verification

RED-capable static: missing constructEvent (no live charge test)

Fix guide: Anyone can tell your app they paid.

PAY-002live
Client-controlled amount/price

RED-capable static: amount from req.body without Price-ID allowlist

Fix guide: Anyone can tell your app they paid.

pocketbase

PB-RULES-001live
PocketBase collection open to anyone

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.

PB-LIVE-002live
PocketBase collection lists records to anyone

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

OPS-BACKUP-001catalogued, not yet live
Backups off / restore never tested

AMBER max (Things you will regret later)

secrets

SEC-007live
Supabase service_role exposed in frontend

RED if service_role JWT in bundle (bypasses RLS)

Fix guide: Your Supabase service_role key is in the browser.

SEC-HIST-007-stripelive
Stripe secret key in client bundle

RED if sk_live_* in shipped JS

SEC-017-supabase-secretlive
Supabase secret key (sb_secret_) in frontend

RED — full database access, bypasses RLS like service_role

SEC-008-openailive
OpenAI key in client bundle

RED (unbounded spend)

Fix guide: Your AI API key is in your frontend. Anyone can spend your money.

SEC-009-anthropiclive
Anthropic key in client bundle

RED

Fix guide: Your AI API key is in your frontend. Anyone can spend your money.

SEC-HIST-003live
Secret committed in your repo files

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.

SEC-013live
NEXT_PUBLIC secret-like assignment

AMBER (confirm reachability)

Fix guide: Your Supabase service_role key is in the browser.

SEC-015-telemetrylive
Telemetry/analytics key exposed (Sentry DSN, PostHog, Datadog client token)

AMBER, confidence low — these keys are public by design, verify scope; never RED

SEC-016-datadog-apilive
Datadog API key exposed

RED — the API key (not the client token) can read/write org-wide monitoring data

SEC-018-clerklive
Clerk secret key in frontend

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)

SEC-019-auth0live
Auth0 client secret in frontend

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

SEC-020-db-urllive
Database connection string with password in frontend

RED — direct read/write to the database (postgres, mysql, mongodb, incl. Neon/PlanetScale/Atlas). Local, example and placeholder passwords never flagged

SEC-021-tursolive
Turso/libSQL auth token in frontend

RED — database access. Confidence medium — plain JWT, only flagged with TURSO_/LIBSQL_ variable or libsql:// context

SEC-022-geminilive
Google Gemini API key in frontend

RED (spend on your Google account). Confidence medium — AIza keys are also public Firebase keys, so only flagged with Gemini context

SEC-023-groqlive
Groq API key in client bundle

RED (unbounded spend)

SEC-024-replicatelive
Replicate API token in client bundle

RED (unbounded spend)

SEC-025-resendlive
Resend API key in client bundle

RED — anyone can send email as your domain

SEC-026-sendgridlive
SendGrid API key in client bundle

RED — anyone can send email as your account

SEC-027-twiliolive
Twilio auth token in frontend

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

SEC-028-airtablelive
Airtable personal access token in client bundle

RED — read/write to every base the token covers

SEC-029-notionlive
Notion integration secret in frontend

RED — read/write to shared Notion pages. ntn_ is high confidence; legacy secret_ only with Notion context (medium)

SEC-030-upstashlive
Upstash Redis token in frontend

RED — read/write to your Redis data. Confidence medium — only flagged with UPSTASH_ variable or *.upstash.io context

SEC-014live
Secret committed in MCP/agent config

RED (config files are read by every agent run)

supabase

SUPA-RLS-001live
Table readable without authorisation (RLS off)

RED if anon reads PII/financial rows (dynamic proof)

Proven by: anon GET /rest/v1/<table>, <=5 reqs, throwaway data only

Fix guide: Supabase RLS is off. Anyone can read that table.

SUPA-RLS-002live
Overly broad policy USING(true)/tautology

RED if anon/auth reads cross-user rows

Remediation: USING(auth.uid()=user_id) + down-migration

Fix guide: Supabase RLS is off. Anyone can read that table.

SUPA-AUTH-001live
Sign-up open without email confirmation

AMBER — any made-up email becomes an 'authenticated' user

Proven by: one GET /auth/v1/settings (public, anon key)

SUPA-AUTH-002live
Anonymous sign-ins enabled

AMBER — anonymous visitors get the authenticated role

Proven by: one GET /auth/v1/settings (public, anon key)

SUPA-AUTH-003live
Phone sign-up without confirmation

AMBER

Proven by: one GET /auth/v1/settings (public, anon key)

SUPA-WRITE-004live
Anonymous can write rows (missing INSERT/WITH CHECK)

RED if anon INSERT succeeds on user table

Fix guide: Supabase RLS is off. Anyone can read that table.

SUPA-STORAGE-005live
Sensitive files in a public storage bucket

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)

SUPA-RPC-006live
Edge function runs without checking for a login

AMBER from supabase/config.toml verify_jwt = false (webhook-style names exempt)

Proven by: code only; non-AI functions are never called

SUPA-DEFINER-007live
SECURITY DEFINER without search_path/auth

AMBER (RED if search_path hijack + data exfil path)

SUPA-RPC-008live
Database function returns data to anyone

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

SUPA-DEFINER-009live
SECURITY DEFINER function anyone can call, no caller check

AMBER, code only (public schema, no caller check, EXECUTE not revoked from PUBLIC)

Proven by: code only (migrations)

Machine-readable: /checks.json