A security mistake can expose customer data, take your app offline, or run up a bill. Use a private test copy of your app, fake accounts and records, and test mode for payments or messages. If you only run one check, start with the two-account test below.
Stolen credentials and API keys
Risk. Someone with your AI API key can spend money on your account. A stolen database login can expose or destroy customer records.
How it happens. A break-in can expose secrets your app can read. Keys can also leak through old Git commits, files sent to the browser, or error pages. Sources: OWASP secrets guidance · OpenAI API key guidance
What to do. Store keys in your hosting dashboard’s private server settings. Use separate test keys and keep live keys away from coding agents. If you use GitHub, enable secret scanning and push protection where available. If a key leaks, revoke it, replace it in the app, and check the provider’s usage history. Sources: GitHub secret scanning · GitHub push protection
Account takeover
Risk. An attacker could impersonate a customer or take control of your app.
How it happens. They reuse a leaked password or trick you into signing in on a fake page. Access to your email can help them reset passwords for your other accounts. Source: OWASP authentication failures
What to do. Use unique passwords and turn on two-step sign-in for your email, app builder, code repository, hosting, database and domain accounts. Use an established sign-in provider or library for the app. Require two-step sign-in for app admins and limit repeated login and reset attempts. On your launch domain, check that test emails arrive, links return to the right site, and used or expired one-time links are rejected. Confirm a disabled test account loses access. Sources: OWASP authentication guidance · Supabase sign-in settings
Access to another customer’s data
Risk. An ordinary user could see someone else’s records, use admin features, or give themselves credits.
How it happens. The app checks that the person is signed in but forgets to check what they can see or change. Hiding a button can leave the action behind it exposed. Source: OWASP authorization guidance
What to do. Try this in your browser with two ordinary test accounts in separate workspaces.
- As A, make a fake private record. Check you can open and edit it, then copy the page address.
- As B in a private window, open that address. None of A’s data should appear there or in B’s lists or exports.
- Sign out and try again. Also check that a regular account can’t use an admin page.
Ask your maintainer to enforce those rules on the server and check that users can’t change their own role, membership, plan, or credit balance. Include users whose access was removed and confirm blocked edits leave the data intact. Source: OWASP guidance on editable fields
Exposed Supabase data and files
Risk. Private records or files can be visible even when the app requires sign-in.
How it happens. Row Level Security (RLS) controls who can access each database record. A rule that checks only whether someone is signed in can give any user access to everyone’s records. Public file storage can let anyone with a link open an upload. Sources: Supabase RLS guide · Supabase file storage
What to do. Open Security Advisor to check for missing RLS and Storage to check that private uploads are in private buckets. Repeat the two-account test with files. Keep secret and service-role keys on the server. Supabase’s publishable and legacy anon keys are designed for the browser. Ask your maintainer to check that users can’t move records between workspaces or see private details, such as email addresses, in database results or live updates. Sources: Supabase Advisors · Supabase API keys · Supabase column access
Vulnerable software packages
Risk. A bug in a software package your app uses can expose customer data or give an attacker access to your server.
How it happens. An attacker looks for apps still running an affected version. The package may have been installed by another package you use. Source: GitHub dependency detection
What to do. If your app is on GitHub, turn on Dependabot alerts in the repository settings. Ask your maintainer to check which alerts affect the live app. After an update, try the affected feature and confirm the fix is live. Source: Dependabot setup
Forms and uploads that accept unsafe input
Risk. A form submission can expose records or make a browser run unwanted code.
How it happens. The app treats something someone typed as a command, or runs it when the text appears in a page or dashboard.
What to do. In your test copy, check that invalid entries and oversized uploads get a clear error. Ask your maintainer to check how the server handles user text, database queries, uploaded files, and any links the app fetches. Source: OWASP application security standard
Private data exposed by hosting settings
Risk. A test link or error page can reveal live customer data or secrets.
How it happens. Someone opens an unprotected preview connected to the live database or gets a copy of a private page the host saved for reuse.
What to do. In your hosting dashboard, restrict preview access, use test data and keys for previews, and turn off public error details. Check that the live site uses HTTPS. Ask your maintainer to check that private pages can’t be reused across accounts. Collect only the data you need. List where it goes and when you delete it. Sources: Vercel environment settings · OWASP application security standard
Bots and surprise bills
Risk. Bots can drain your budget or use up the credits your customers need.
How it happens. Someone opens many trial accounts or keeps asking for costly work. Some providers charge even for rejected requests. For example, Firestore can charge for a database lookup a security rule makes before rejecting a request. Source: Firestore rules billing
What to do. In each provider’s billing dashboard, set alerts and check which limits actually stop requests. Know how to pause a costly feature. Ask your maintainer to cap sign-ups and paid work, and check that retries or jobs running at the same time can’t spend the same credits twice. Source: OWASP resource abuse guidance
Paid access without payment
Risk. Someone could get paid features for free or keep access past the end of their plan.
How it happens. The app trusts a payment claim from the browser or accepts a fake or repeated payment notification.
What to do. In test mode, try a purchase, failed payment, cancellation, and refund. Check that the right account gets or loses access when expected. Ask your maintainer to verify payment notifications with the provider. For disputes after someone has used a feature, publish your refund terms and keep only the records you need to review the charge. Sources: Stripe test mode · Stripe payment notifications · Stripe dispute guidance
AI that shares data or acts on its own
Risk. An assistant could share a private file, send a message, or change a record without permission.
How it happens. Instructions hidden in a message or document can mislead the AI. An assistant with broad permissions may act on those instructions. Source: OWASP prompt injection guidance
What to do. With fake files, check that the assistant only sees records the test account is allowed to access. Check that it asks before it sends a message or deletes a record. Have your maintainer enforce those rules in the app before the AI sees a file or takes an action. Source: OWASP AI tool permissions
Updates that reopen security gaps
Risk. The next update can expose data or break access that worked yesterday.
How it happens. Someone finds a new page that skips a permission check or uses a database rule that became too broad.
What to do. Use Lovable’s Security view or Supabase’s Security Advisor if you have them. Rerun the two-account check after changes to sign-in, permissions, or customer data, even if the scan passes. Hold the release if the check fails, and ask your maintainer to automate it where possible. Test risky database changes and backup restores on a separate, private copy. Sources: Lovable security checks · Supabase permission tests · Supabase backups
If you can’t check a critical workflow before a real customer pilot, ask an independent reviewer to focus on it. Ask for evidence and a retest after fixes. If a customer requested the review, ask what evidence they need.
Security reports and suspected leaks
Risk. A leak can continue while you figure out what happened. A fake report can pressure you into handing over money or access.
How it happens. Someone keeps using a leaked key or sends a vague email demanding payment before they share details.
What to do. Publish a security contact and make sure someone receives alerts. Ask which feature is affected and for details you can verify with test data. Save relevant logs, revoke leaked keys or pause the affected feature, then retest. If customer data may have leaked, identify what was affected and who will handle customer notifications. Source: OWASP vulnerability disclosure guidance
Pre-launch checklist
- [ ] Try two accounts. On your test copy, create a fake private record or file. Confirm its owner can open it and the second account and signed-out visitors can’t. Check admin pages with a regular account.
- [ ] Test sign-in on your launch domain. Confirm sign-in or reset emails arrive and take your test account back to the right site.
- [ ] Protect your owner accounts. Turn on multifactor authentication for email, source control, hosting, your database dashboard, and your domain registrar.
- [ ] Run your platform’s security checks. Review the findings. If you use Supabase, check that customer tables have RLS enabled and private uploads are in private buckets.
- [ ] Check your keys and previews. In your hosting dashboard, confirm private API keys are set up as server-side secrets and previews use test credentials.
- [ ] Test paid access. If you charge customers, use your payment provider’s test mode. Confirm the right account gains access after payment and loses it when the plan ends.
- [ ] Set spending alerts. For AI, SMS, or other metered services, set alerts and look for limits that actually stop requests.
- [ ] Find your backup. If you store customer data, confirm when the last backup ran, what it includes, and where to start a restore.
If a check exposes private data, credentials, or admin access, fix it and rerun the check before inviting real users.
Get early access to Jungle Security
Explore the proposed plans and join the waitlist for your app.