All-in-One Security. Offensive Security at the Core.
The all-in-one security platform combining offensive security, automation, and integrations to uncover what others miss.
Check a Supabase app's Row Level Security in about a minute. Real attacks on a private copy in your browser, with a fix file when one can be made. Free, no signup.
SecurityTypeScript · HTMLGitHub @lockstampOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Free security check for Supabase apps built with Lovable, Bolt or Replit: tries real attacks on a private copy of the database and writes the fix. Not affiliated with Supabase.
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
Find and fix the security holes that AI app builders (Lovable, Bolt, Replit, v0) commonly leave in Supabase apps, and prove the fix works before you ship it.
Try it free in your browser: lockstamp.github.io. Nothing is uploaded.
Lockstamp is an independent project. It is not affiliated with or endorsed by Supabase, Lovable, Bolt or Replit.
It reads your supabase/migrations folder and your source code, then writes these files to your-app/lockstamp-report/:Read the full README ↗Find and fix the security holes that AI app builders (Lovable, Bolt, Replit, v0) commonly leave in Supabase apps, and prove the fix works before you ship it.
Try it free in your browser: lockstamp.github.io. Nothing is uploaded.
Lockstamp is an independent project. It is not affiliated with or endorsed by Supabase, Lovable, Bolt or Replit.
npm install
npm run guard -- path/to/your-app
It reads your supabase/migrations folder and your source code, then writes these files to your-app/lockstamp-report/:
| File | What it is |
|---|---|
report.md | Plain-English findings, plus a before/after table of attacks that were tried |
fix.sql | A reviewable migration that closes the database problems |
results.json | Machine-readable findings and attack results |
summary.md | A short version for a merge request comment |
npm run web:dev starts a web version of the same check. Paste a snapshot (or pick migration files) and it runs entirely in the browser tab. The database engine is compiled to WebAssembly, so nothing is uploaded. npm run web:build produces a static site in dist-web/ that any static host can serve.
If your app was built in the Supabase dashboard (or your migrations don't match your database), check a snapshot instead:
snapshot.sql (also printed by npm run guard -- --snapshot-query), and run it.snapshot result into a file, e.g. snapshot.json.npm run guard -- --snapshot snapshot.json.The query is read-only and collects only your database's structure: tables, columns, access rules, functions, views and triggers. It never reads rows of data, and no passwords are involved.
using (true), with check (true))auth.users to the publicservice_role / sb_secret_, Stripe, OpenAI, Anthropic, AWS, GitHub tokens, private keys, and secrets in VITE_ / NEXT_PUBLIC_ variables (which get bundled into the browser), and in snapshot mode, keys written into database functionsauth and storage schemas and default grants. Nothing touches your real database, and nothing goes over the network.fix.sql is applied to a fresh copy and every attack is repeated.The report shows which attacks worked before the fix and confirms they are blocked after it.
examples/vibe-notes is a demo app with the mistakes AI builders typically make (all keys are fake). Result:
lockstamp: 4 tables checked
findings: 5 critical, 5 high, 0 medium, 0 low, 1 info
attacks that worked: 22 before the fix, 0 after
Read the full report and the generated fix.
We ran Lockstamp offline against 35 public GitHub projects built with Lovable and Supabase (public code only; no live sites were touched, and individual results aren't published). Of the 29 that had a migrations folder:
lockstamp [project-folder] [options]
--migrations <dir> Migrations folder (default: <project>/supabase/migrations)
--snapshot <file> Check a snapshot instead of migrations (JSON from --snapshot-query)
--snapshot-query Print the read-only query to run in the Supabase SQL editor
--out <dir> Where to write the report (default: <project>/lockstamp-report)
--schema <name> Schema exposed through the API (default: public; repeatable)
--no-verify Skip the before/after attack tests
--no-code Skip scanning code for leaked keys
--fail-on <level> Exit with 1 at this severity or worse: critical, high (default), medium, low, never
The exit code is 1 when problems at the --fail-on level (default: high) are found, so it can fail a CI pipeline.
Add this to a project's .gitlab-ci.yml:
include:
- remote: "https://raw.githubusercontent.com/lockstamp/lockstamp/main/ci/lockstamp.gitlab-ci.yml"
The lockstamp job runs in any project with supabase/migrations. It fails on high or critical problems (change this with the LOCKSTAMP_FAIL_ON variable) and attaches the report to the job, linked from the merge request.
user_id, owner_id, a foreign key to auth.users). Review fix.sql before applying it, and test your app afterwards.MIT