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.
翻譯準備中
安全TypeScript · HTMLGitHub @lockstamp上線中營運者未確認
試用過了嗎? 點一下就好,不需要登入。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證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.
翻譯準備中
取自儲存庫 README
正在載入完整 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.
It reads your supabase/migrations folder and your source code, then writes these files to your-app/lockstamp-report/:檢視完整 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