Checklist · part 4 of 12

Security checklist for vibe-coded apps: leaks that become legal trouble

A leak is a compliance failure, not just a bug. 8 checks covering open databases, exposed keys, weak access control and the leaks that turn into legal problems. 3 of them are marked high severity. Free, no sign-up, and written so an AI assistant can run them against your code.

Run only these checks: paste this into the AI that can see your code

Read https://savemyslop.tech15apps.workers.dev/check.md and audit my app against the “Security that becomes legal trouble” checks (S1 to S8). For each one, tell me pass, fail or can't tell, with the file and line, and how to fix it. Start with the high-severity fails. Don't change anything until I say so.

Your AI does the work on your side. Your code never reaches us. This is a general checklist, not legal advice.

  1. HighS1 Database open to the world

    Applies to: Every app

    Look for
    Supabase tables with Row Level Security off, or policies like “using (true)”. Firebase rules with “allow read, write: if true”. Public storage buckets. Admin endpoints with no auth. Try reading another user’s row with the public key.
    Why it matters
    This is the mistake behind the Lovable CVE-2025-48757 and the Moltbook exposure. Weak security is a violation in itself under GDPR Art. 32, the CCPA and India’s DPDP Act (penalties up to ₹250 crore for inadequate safeguards).
    Fix
    Deny by default. Per-user policies on every table and bucket. Test as a signed-out user and as a different signed-in user.
    Source
    NIST: CVE-2025-48757 (opens in a new tab)
  2. HighS2 Secret keys in the browser bundle or the repo

    Applies to: Every app

    Look for
    Service-role keys, Stripe secret keys, OpenAI or Anthropic keys, or SMTP passwords in front-end code, in NEXT_PUBLIC_ or VITE_ variables, in committed .env files or in git history.
    Why it matters
    Anyone can read your client bundle. Escape’s 2025 scan of 5,600 vibe-coded apps found more than 400 exposed secrets.
    Fix
    Move secrets to the server. Rotate anything that was ever exposed. Add a secret scanner to the repo.
    Source
    Escape research method (opens in a new tab)
  3. HighS3 Authorisation checked only in the UI

    Applies to: User accounts

    Look for
    API routes or server actions that trust a user ID sent by the client. No server-side ownership checks. Role checks that live only in front-end components.
    Why it matters
    Unauthorised access to personal data is a reportable breach under most privacy laws. Broken access control tops the OWASP list of web application risks.
    Fix
    Enforce authentication and per-object authorisation on the server, on every route.
    Source
    OWASP Top 10 (opens in a new tab)
  4. MediumS4 Weak password and session handling

    Applies to: User accounts

    Look for
    Plaintext or fast-hashed passwords, hand-rolled token logic, long-lived tokens in localStorage, no rate limiting or lockout, no second factor for admin accounts.
    Why it matters
    “Appropriate security” under GDPR Art. 32 and “reasonable security” under US law are judged against basics like these.
    Fix
    Use a maintained auth provider or library, a slow password hash (argon2 or bcrypt), rate limits, and MFA for admins.
    Source
    GDPR Art. 32 (opens in a new tab)
  5. MediumS5 Injection and unsafe uploads

    Applies to: Every app

    Look for
    SQL built by joining strings. User content rendered as raw HTML. Uploads with no limit on type or size. User files served from the app’s own origin.
    Why it matters
    These are the most common routes to the leak that triggers every other obligation on this list.
    Fix
    Parameterised queries, output encoding, upload allow-lists, and a separate origin for user files.
    Source
    OWASP Top 10 (opens in a new tab)
  6. MediumS6 Hallucinated or abandoned dependencies

    Applies to: Every app

    Look for
    Packages the AI named that do not exist, or exist with almost no downloads (“slopsquatting”). Old versions with known vulnerabilities.
    Why it matters
    Attackers register the package names AI tools invent. Installing one runs their code on your server.
    Fix
    Check that each package exists and is maintained. Run npm audit or pip-audit. Pin versions.
  7. LowS7 Missing headers, wide-open CORS, chatty errors

    Applies to: Every app

    Look for
    No HTTPS redirect or security headers. CORS that allows any origin with credentials. Stack traces or SQL errors shown to users. Debug mode on in production.
    Why it matters
    Each one makes the serious failures above easier to exploit.
    Fix
    Force HTTPS, add a Content-Security-Policy and standard headers, restrict CORS, and return generic errors.
  8. MediumS8 No way to report or handle a vulnerability

    Applies to: App Store / Play Store · Downloadable app or extension

    Look for
    Software that people download or install (mobile and desktop apps, browser extensions, plug-ins, firmware) and that is sold in the EU, with no security contact, no process for exploited vulnerabilities and no update plan.
    Why it matters
    Under the EU Cyber Resilience Act, makers have had to report actively exploited vulnerabilities within 24 hours since 11 September 2026. The full security-by-design duties follow in December 2027. Pure web services are largely outside it.
    Fix
    Publish a security contact, keep a list of your dependencies, and decide now who reports what, and where, if a flaw is being exploited.
    Source
    European Commission: CRA reporting (opens in a new tab)

Legal references were last checked against current sources on 24 November 2026. This is general information, not legal advice, and passing every check does not mean an app is compliant.