Start with the check your builder already gives you
These cost nothing to run, know your stack, and are the first thing we would open.
- Lovable. Automatic checks run before you publish and after relevant changes: database security (tables without per-row rules, rules that let everyone in, leaked-password protection turned off), MCP servers your app offers without sign-in, and vulnerable dependencies. Advanced checks read all of your app's code when you start them. Lovable says running the checks is free; fixing through chat uses credits. It also says the checks cannot guarantee your app is secure, and only critical dependency issues become findings (Lovable documentation).
- Bolt. The project security audit reviews code and database and fixes what it can. It is on paid plans, uses no tokens when started from the Publish menu, and allows up to 30 runs a day (Bolt security). The database Security tab is on every plan and uses the same checks as Supabase's Security Advisor (Bolt database security).
- Replit. Level 1 of the Security Center scan checks your dependencies for known vulnerabilities and is free. Levels 2 and 3, a code review and a test of the live Preview, need a paid plan. Replit's own words: "No scan guarantees that your app is secure" (Replit scan levels).
- v0. Its DeepSec review checks your chat's changes for missing auth checks, injection and unsafe input handling. It is not free: it needs a paid plan, uses v0 credits, and does not run your code (v0 security check).
More detail per platform: Lovable, Bolt, Replit, v0.
Which free tools check my database rules?
Supabase Security Advisor. Deterministic checks that ship with the platform, in the dashboard, the CLI (supabase db advisors), MCP and the API. Its lints include public tables with row-level security off, views that expose auth.users, policies that are always true, policies that rely on user-editable metadata, and public buckets that can be listed (Supabase advisors). It does not know what your app means to allow: a policy that lets every signed-in user read every row passes. Our row-level security test covers that part.
Firebase Rules Playground and Emulator Suite. The Playground, in the console, simulates one read or write and tells you whether it was allowed (Rules Playground). Firebase calls it a quick check and points to the Emulator Suite to fully validate rules: it runs unit tests for Firestore, Realtime Database and Storage rules on your machine (Emulator setup), without touching production data (Emulator Suite). Both test the rules you give them, not the rules you forgot to write.
Which free tools test the live site from outside?
MDN HTTP Observatory. Grades a site's HTTP headers: content security policy, HSTS, cookies, CORS, framing, referrer policy and subresource integrity (MDN launch post, 2 July 2024). MDN says it does not test outdated software, SQL injection or password storage, and scan history for each domain is public (Observatory FAQ). The code is open source under MPL-2.0 and runs locally too (GitHub):
npx @mdn/mdn-http-observatory your-app.example
OWASP ZAP baseline scan. Free and open source, Apache-2.0 (ZAP on GitHub). The baseline scan spiders your site for one minute by default, then reports what passive scanning saw. ZAP says it "doesn't perform any actual 'attacks'" and is fit for CI (baseline scan):
docker run -t ghcr.io/zaproxy/zaproxy:stable zap-baseline.py -t https://your-app.example
ZAP's active scan is different: it sends known harmful requests and can change data. ZAP's own guide says to use it only on an app you have permission to test (ZAP getting started). Run it only on your own app, ideally a staging copy.
Your browser's DevTools. Already installed. The Search panel looks through every loaded script (Chrome DevTools), which is how you find a secret key that shipped to the browser. Our guide to an exposed API key lists what to search for.
How do I check my dependencies for free?
- npm audit sends your dependency list to the registry and reports known vulnerabilities;
npm audit fixapplies upgrades (npm Docs). - GitHub Dependabot alerts watch your default branch and alert when a GitHub-reviewed advisory matches a dependency (Dependabot alerts). Alerts and security updates are on all GitHub plans, public and private repositories (GitHub security features).
- OSV-Scanner from Google reads lockfiles across 11 or more ecosystems and container images, Apache-2.0 (GitHub):
osv-scanner scan source -r .
Expect overlap. Pick one for every commit and read what it finds; a known-vulnerable package is not always reachable from your code.
How do I find secrets I committed by accident?
- gitleaks scans git history (
gitleaks git -v) or a folder (gitleaks dir), MIT licence. Its README says it is now feature complete and gets security patches only (gitleaks). - TruffleHog recognises over 800 secret types and can check whether a found key still works;
--results=verifiedshows only live ones. AGPL-3.0 (TruffleHog). - GitHub push protection for users is on by default and stops you pushing secrets to public repositories. Secret scanning alerts are free on public repositories; private ones need the paid GitHub Secret Protection (GitHub security features, push protection).
A secret found in history is exposed even if you deleted the file later. Rotate it first.
Is there a free tool that reads the code itself?
Semgrep Community Edition, LGPL-2.1, 30 or more languages (Semgrep on GitHub). It is good at patterns such as string-built SQL. Semgrep is candid about the limit: Community Edition "can only analyze code within the boundaries of a single function or file", so in security work it misses many true positives. A missing ownership check spread across a route and a helper is the kind of thing it will not see.
The whole list in one table
| Tool | Job | Reads code or tests live app | Cost |
|---|---|---|---|
| Lovable checks | Database rules, dependencies, code | Reads project | Free to run; fixes in chat use credits |
| Bolt audit / database tab | Code and database / database only | Reads project | Audit on paid plans; database tab on all |
| Replit Security Center | Dependencies (Level 1) | Reads project | Level 1 free |
| v0 DeepSec | Code review | Reads code | Paid plans, uses credits |
| Supabase Security Advisor | Database configuration | Reads configuration | Ships with Supabase |
| Firebase Playground, Emulator | Security Rules | Simulates rules | Console tool; emulator runs locally |
| MDN HTTP Observatory | Headers | Live site, signed out | Open source, MPL-2.0 |
| OWASP ZAP baseline | Passive web checks | Live site, signed out | Open source, Apache-2.0 |
| DevTools | Scripts, requests | Live site | Built into the browser |
| npm audit, Dependabot, OSV-Scanner | Known-vulnerable packages | Reads manifests | Free |
| gitleaks, TruffleHog | Secrets in git | Reads repository | MIT; AGPL-3.0 |
| GitHub secret scanning | Secrets in git | Reads repository | Free on public repos |
| Semgrep CE | Code patterns | Reads code | LGPL-2.1 |
What do free tools leave open?
Look at the fourth column: every live-site tool above tests signed out. That leaves three things no free tool on this list checks:
- Whether one signed-in user can read another user's data. It takes two accounts and a request for the other account's record. Our access control guide shows how to do it by hand.
- Business logic. Whether a user can set their own role, skip a payment step or reuse an invite. A scanner cannot know what your app is meant to allow.
- Chained issues. A public list of ids that is harmless alone, next to an endpoint that trusts any id.
We compared passive scanners in detail on a separate page, so we will not repeat it here.
Do this tonight: run your builder's check and the Supabase Security Advisor or Firebase Emulator, then open your app in two browsers as two test users and ask for each other's records.