Let your agent run. Keep your stuff.
Free configs and a guard hook that stop rm -rf ~, DROP TABLE, force pushes and cat .env. Every other command runs without a prompt, even in YOLO mode.
Seven agents that ran without one.
Real incidents from the last 18 months, each with its source, and what this page would have done about it. Not everything is a command you can block, so it says so.
Agent Seatbelt is not affiliated with any of these companies or people.
Fasten your agents.
Everything outside the blocked list keeps running without prompts. Each file says where it goes. The guard and snapshot scripts are shared by all agents and live in ~/.seatbelt/.
Your agents
What to block
rm -rf on the wrong folder, DROP TABLE, git reset --hard or cat .env. An agent that writes its own script, renames a binary or calls an API directly can still get past them. Keep real backups, and run anything you cannot lose in a container or VM.Ten spend limits to set today.
A leaked key without a cap is how people end up with $18k to $82k bills. Several providers added real hard caps in 2026. Tick each one off as you set it; your progress stays in this browser.
| Done | Provider | What to do | Link |
|---|
HARD CAPstops usage at the limitPAUSEstops only if you switch pausing onALERT ONLYemails you, keeps chargingKEY FIXlimits what a leaked key can do
Drop your project folder in.
The scan runs in this tab. No file leaves your computer; switch off Wi-Fi first if you want to check. It also reads agent memory files like CLAUDE.md and AGENTS.md, which get committed and sent to the model on every turn.
or choose one. node_modules, .git, build output and binaries are skipped.
On a phone, folder picking may not work. If it doesn't, open this page on your computer to scan.
gitleaks git -v in the repo to check old commits. If anything turns up, follow the key leaked plan.My key leaked. What now?
Order matters. Deleting the commit first does nothing: bots scrape GitHub within minutes, and forks and caches keep the old copy.
- Revoke the key now. Delete or roll it in the provider dashboard (links in Spend caps). Do this before anything else.
- Create a new key with the smallest scope that works, and put it only in
.envor your host's secret settings. - Set a hard cap on that account if it has none.
- Check usage and billing for the last days. Screenshot anything you did not cause.
- Contact support quickly and ask for a billing review. Say when the key leaked, when you revoked it, and that the usage was not yours. Some providers have waived abuse charges when people reported them fast.
- Find every copy. Run the leak scanner on the folder and
gitleaks git -von the history. Check agent memory files, CI logs and deploy previews too. - Clean the history only after revoking, with
git filter-repoor BFG, then force-push and ask collaborators to re-clone. - Stop it happening again: turn on GitHub secret scanning push protection, add
.env*to.gitignore, and blockcat .envfor your agent with the generator.
Before you ship a vibe-coded app.
What most often goes wrong in apps built with agents. Saved in this browser.
Row Level Security in one copy.
Without RLS, anyone with your public anon key can read and change every row in Supabase. Enter a table and the column that holds the owner's user id.
Test it afterwards: sign in as a second user and try to read the first user's rows. The service_role key ignores RLS, so it must never reach the browser.
Make your agent check its own work.
Paste one into your agent at the end of a feature. They find a lot, but they do not replace the steps above.