Use Case a Day

Drop #16 · Coding ·

Security check your vibe-coded app before launch

Have your coding agent audit for leaked keys, open databases and missing auth before real users show up.

Who: vibe coders about to share their app · Tools: Cursor, Claude Code or any agent with repo access

Prompt

Audit this repository for security problems before I launch. Do not change code yet. Check and report:
1. Secrets: API keys, tokens or passwords in code, config, git history or client-side bundles
2. Auth: every route/API endpoint, and whether it checks the user is logged in AND allowed to access that record
3. Database: row-level security / access rules (e.g. Supabase RLS, Firebase rules) — is anything readable or writable by anyone?
4. Input: places user input reaches SQL, shell commands, file paths or HTML without validation
5. Payments/webhooks: are webhook signatures verified?
6. Rate limits on login, signup and any endpoint that costs me money (AI calls, email sends)
For each finding: severity (critical/high/medium/low), file and line, how someone would exploit it in one sentence, and the fix.
Sort by severity. Then wait for me to choose which to fix.

Steps

  1. Run it in your agent with the whole repo open.
  2. Fix every critical and high finding, one at a time, then rerun the audit.
  3. Rotate any key that was ever committed, even if you’ve deleted it since.

Gotcha: an AI audit isn’t a pentest. It catches the common vibe-coding mistakes (exposed keys, open tables, missing ownership checks), not everything.


From the Tender Venture family (disclosure: Charging4ward is my other project): about to launch? The $19 Charging4ward Starter Build has security checks built in (one command scans for leaked keys, env-var mistakes, auth and database rules), plus a working template, a plan for your own idea and a setup walkthrough.

Free. One email a day. Unsubscribe anytime.

Related use cases