AI agents are fantastic at generating code, but they are terrible at checking their own work. A new checklist published by ProofForge on DEV.to highlights a critical gap in the modern dev workflow: the signed-out launch audit. The premise is simple but brutalβopen a private window, log out, and see what strangers can actually access before you share your product link.
The Pages and Files That Should Not Exist
The checklist starts with the obvious, which is often where AI-built apps fail most spectacularly. Developers need to verify that the home page loads without errors and that protected routes like /dashboard, /admin, or any account-specific pages return a proper login prompt, a 401 Unauthorized, or a 403 Forbidden status. If an AI-generated app returns a 200 OK with empty data or a broken layout, itβs leaking structure. Furthermore, the checklist demands that /.env and /.git/config return 404s. If you can read your environment variables from the browser, youβve already lost.
Hunting for Leaked Keys in the Bundle
This is the section that usually makes senior engineers wince. You need to view the source or inspect the Sources tab and search the JavaScript bundle for strings like "secret", "private", "sk_", and "service_role". If you find anything resembling a server-only key in the client bundle, you need to fix it immediately. The checklist also warns about source maps; if your main JavaScript file has a .map extension that resolves, you are handing strangers your original codebase. Every key in the bundle should be one you are happy for the entire internet to read.
Data Rules and Security Headers
For those using backend-as-a-service providers like Supabase or Firebase, the audit requires checking if a signed-out visitor can read private tables or documents. They should get nothing. The data rules must strictly match each user to their own rows, preventing horizontal privilege escalation. On the infrastructure side, HTTPS must be forced with a redirect from http://, and response headers should include a Content Security Policy (CSP) and basic protections. These are table stakes for any production app, yet AI-generated boilerplate often skips them in favor of quick functionality.
The Loop: Fix, Redeploy, Repeat
The checklist isn't a one-and-done affair. The guide explicitly states that after fixing any issue, you must redeploy and run the list again from the top. This cycle should be repeated after every deploy that touches routes, environment variables, or packages. Itβs a maintenance discipline, not just a launch ritual. ProofForge notes that this process covers the "outside view only"βit doesn't test logic behind a login or the internal code quality.
Key Takeaways
- Signed-Out Access is Critical: Always test routes as an unauthenticated user to catch 200 OK responses that should be 401/403s.
- Bundle Hygiene Matters: Search your client-side JS for "sk_", "secret", and "service_role" to prevent key leakage.
- Config Files Must Be Private: /.env and /.git/config should return 404s, not your actual configuration.
- Backend Rules Need Verification: Ensure Supabase/Firebase row-level security blocks signed-out visitors from reading private data.
- Headers Are Not Optional: Force HTTPS and implement CSP headers to mitigate common web vulnerabilities.
- Iterate After Every Deploy: Re-run the checklist after any change to routes, env vars, or dependencies.
The Bottom Line
If you canβt secure your appβs front door with a five-minute manual check, you shouldnβt be shipping it. AI writes the code, but humans still have to own the security posture.