prodlock finds every production key your coding agents can reach, shows what each could destroy, and makes agents ask before they break anything you can't get back.
Agents run as you. Anything you can read, they can read: .env files, CLI logins, shell history, the configs where you hand them keys. Many of those keys can delete production, and nothing outside the agent checks before it uses one.
No dangerous shell command was ever run, so command blockers never saw it. It was one API call with a key the agent could read.
One command checks project files, CLI logins, shell history and agent configs, then asks each provider, read-only, what the key can do.
prodlock — what could an AI agent on this machine destroy? Checked 18,207 files: your project folder, home folder, environment variables. CRITICAL Railway API token #fc3e8a81 Can destroy: every service, database and volume in 4 projects …and the backups you would restore from. Found: old-migrate.sh:3 (RAILWAY_TOKEN), a project file your agent can read Check: confirmed live with a read-only API call CRITICAL Supabase service_role key #4b1e07c2 Can destroy: every row in every table, ignoring Row Level Security Found: .zsh_history:412, your shell history Summary 25 credentials an agent can reach. 14 can destroy production.
prodlock scanEvery production credential an agent can read, checked read-only with the provider, with exactly what it could destroy.
Availableprodlock initConnects Claude Code, Codex, Cursor and Claude Desktop over MCP, with rules: never use a found key, ask before anything destructive.
Availableprodlock backupPostgres backups under S3 Object Lock that no key can delete early, proven by a real restore.
Availableprodlock vaultFolders and secrets out of every agent's reach, opened with Touch ID for a limited time.
In progressprodlock recordA flight recorder of every command, file and network call an agent makes, in a log that can't be quietly edited.
In progressTemptation benchAn open benchmark of how often agents use credentials they find when a task is blocked.
Results soonNo account, no cloud, no telemetry. There is no central store of anyone's secrets to breach.
Never printed, logged or written to disk. Tests plant fake keys and check every output for leaks.
"Who am I" and "list" calls to each provider's own API. --offline makes none.
npm trusted publishing with provenance. No npm token exists to steal.