Skip to content

About

Free read-only security scan for AI-built apps: leaked keys, open Supabase/Firebase data, missing headers. First fix free, no account.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

30 Commits

Folders and files

Repository files navigation

ProofForge

Is your AI-built app leaking? ProofForge is a free, read-only security scan for AI-built apps. Paste a public URL and see what your app ships to every visitor: leaked keys, open databases, exposed files, missing security headers.

Scan your app free · See a sample report · How the scan works · Free single-purpose checkers

Built for apps made with Lovable, Bolt, Replit, Cursor, v0, Windsurf, Claude Code, Base44, Firebase Studio, Codex and Copilot, and for any public website. First fix free. No account. No repo access, no code upload: the scan reads only what any visitor's browser can already reach, and proves exposure the way an attacker would find it, from outside, with nothing but the address.

Why this exists

AI builders ship fast, and the failure pattern is consistent: the app works, so it launches, and the security defaults nobody touched stay open. The canonical case is CVE-2025-48757: in one study, 170 of 1,645 Lovable-built apps examined had exposed data, most of them because Supabase row-level security was never enabled (advisory GHSA-773x-pxjg-gxgx). The keys and the data were reachable by anyone who looked. ProofForge is the look, done before an attacker does it.

What a scan checks

Thirteen bounded steps, all passive, at most 40 HTTP requests per scan:

  1. Home page fetch: status, redirects, TLS, response headers.
  2. JavaScript collection: same-origin scripts, known app CDNs, modulepreload links, one level of dynamic chunks.
  3. Builder detection: fingerprints set which builder the fix prompts are written for.
  4. Secret key patterns: high-confidence patterns for Supabase service_role, OpenAI, Anthropic, Stripe, AWS, GitHub, Slack, SendGrid, Groq, Replicate, private keys and more. The test is privilege: a public anonymous key is expected and is not a finding; a privileged key in a browser bundle is a disclosure. Matches are shown masked.
  5. Supabase tables: count-only probes with the anonymous key your site itself ships. Only the record count is read. Row values are never requested.
  6. Supabase storage: bucket list with the anonymous key; public buckets with private-sounding names are flagged.
  7. Firebase: Realtime Database, Firestore and Storage reachability. Only readable-or-not is reported; records are never downloaded.
  8. Exposed files: /.env, /.env.local, /.env.production, /.git/HEAD, /.git/config, flagged only on a real file signature. Contents are never displayed.
  9. Source maps: public maps that hand out your original source code.
  10. Security headers: HSTS, CSP or frame-ancestors, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy.
  11. CORS: wildcard on JSON responses, or a reflected origin combined with credentials.
  12. HTTPS and mixed content: HTTP must redirect to HTTPS; insecure subresources are flagged.
  13. Admin routes: /admin, /dashboard, /api/admin answering without a login. Info only. The scan never tries to sign in.

Scoring is published and simple: start at 100, Critical −35, High −15, Medium −6, Low −2, any Critical caps the score at 39, grades run A (90+) to F (below 40). Full methodology: proofforge.live/methodology.

What a report looks like

The public sample report is a fully unlocked report the real scanner produced against isolated, fake-data responses for a demo app. It found 13 problems, 3 of them critical:

  • Critical: a Supabase service_role key exposed in the JavaScript bundle
  • Critical: a profiles table readable by anyone (count-only estimate, about 42 records; no record values were requested)
  • Critical: an environment file publicly accessible
  • High: untrusted CORS origins combined with credentials, on two endpoints
  • Medium: a public production source map, and no framing protection header
  • Low: six missing baseline headers

Every report also carries a coverage table (what was tested, skipped, or inconclusive, per area), a SHA-256 hash of its canonical findings so the report can be shown unedited, and a fix for every finding written as a copy-paste prompt for your builder. Annotated walkthrough: examples/sample-report-walkthrough.md.

Use it

  1. Paste your app's public URL at proofforge.live. Only scan an app you own or have permission to test.
  2. Read the grade and the findings. The first fix is free, in full.
  3. Apply the fix in your builder, then rescan from the same report to confirm the exposure is closed.

Pricing is one-time and published: the free scan shows your grade, every severity, and the first fix. $9 Fix unlocks every fix and builder prompt (PDF and private link included). $29 Fix + Guard adds builder-specific rules, on-demand deploy-hook rescans, and user-started rechecks. $79 Buyer report is a signed due-diligence report for checking an app before you buy it. No subscription, no account, 14-day money-back.

New to this? Start with the pre-launch security checklist: every check in it can be done by hand, free, in about fifteen minutes. The scan is the shortcut.

For agents

ProofForge is agent-native. Four ways in:

MCP server (free, no API key, Streamable HTTP at https://proofforge.live/mcp):

claude mcp add --transport http proofforge https://proofforge.live/mcp

Tools: scan_url, get_report, explain_finding, check_deployment_receipt. Setup snippets for Cursor, Windsurf, VS Code and Codex, plus a release rule to paste into your agent's project instructions: proofforge.live/mcp-server.

Agent skill: SKILL.md in this repo is the installable proofforge-audit skill. Raw URL for agents that fetch skills directly: https://raw.githubusercontent.com/zambodotdev/proofforge/main/SKILL.md

REST API: POST /api/v1/scan with owner_confirmed: true starts a free scan; poll GET /api/v1/scan/{scan_id} for the bounded summary. Full contract: proofforge.live/openapi.json and proofforge.live/docs/api. Agents with a wallet can buy the same full scan per call over x402 (GET /api/v1/x402/outside-check, $0.25 USDC on Base, no account).

Receipts: an owner can publish an Ed25519-signed scan receipt after verifying domain control. Anyone can check it later without rescanning: the check_deployment_receipt MCP tool, GET /api/v1/grade?url=, or GET /api/verify/{report_id} against the public keys at /.well-known/proofforge-signing-keys.json. A pass requires a receipt under 30 days old, grade B or better, no Critical, High or inconclusive findings, and complete coverage. Details: proofforge.live/receipts.

Machine-readable discovery: llms.txt and proofforge-agent.json.

Ready-made prompts your users can paste into their coding agent to run this audit end to end: prompts/.

The checks are open

Every check the hosted scan runs is written out as a readable rule in rules/: what it fetches, what counts as a finding, and what does not.

Two rules govern every check: public surface only (no logins, no credentials, no writes), and inconclusive is a result (if a check cannot confirm exposure from outside, it says so, with the reason; it never guesses a finding and never silently passes). Improvements and arguments welcome: see CONTRIBUTING.md.

Docs

  • What ProofForge checks: every check class, what it looks for, and what it never does
  • How ProofForge is different: read-only by design, no code sent anywhere, inconclusive instead of guessed
  • Anatomy of an exposed app: the three finding patterns, what each one lets an attacker do, and the fix
  • Pre-launch security checklist: fifteen minutes of manual checks that stand alone, scanner optional
  • FAQ: is my Lovable app leaking, how to check Supabase RLS, what a leaked key means, and the other real questions
  • The ProofForge badge: what the domain-verified badge means, how to earn it, and the honest-use rules
  • Examples: an annotated sample report and a GitHub Actions workflow that checks every deploy

Honest limits

  • A clean scan means no leaks found in what your app ships publicly. It is not a full security audit, not a penetration test, and not a guarantee: the scan cannot see server code, auth logic, or anything behind a login.
  • Anything that could not be tested is marked inconclusive, never green. A blocked check never becomes a passing result.
  • The scan never writes, never logs in, never guesses passwords, never uses a secret it finds, and never reads database rows. Supabase exposure is proven with count-only probes; Firebase with reachability only.
  • ProofForgeBot identifies itself (ProofForgeBot/1.0), stays inside a published request budget, refuses private and internal addresses, and honors opt-outs: proofforge.live/bot.

Who builds it

ProofForge is built by Brennan Zambo, creator of Zambo, the verifiable work layer for AI. Two separate products, one shared rule: evidence over trust. A scan result you cannot check is a claim; ProofForge shows its work.

License

MIT. See LICENSE. The rules in rules/ are part of this repository and carry the same license: read them, reuse them, argue with them.

About

Free read-only security scan for AI-built apps: leaked keys, open Supabase/Firebase data, missing headers. First fix free, no account.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors