Your coding agent works with everything this machine is logged into: hosting CLIs, cloud keys, GitHub, SSH keys, .env files. One command lists what it could break, as plain consequences, and fixes the agent settings for you.
RUN IT IN YOUR PROJECT
npx agentleisure-guard blast
Then npx agentleisure-guard blast --fix shows a diff of the agent-settings changes, asks, backs up the files and applies them. --restore undoes it.
EXAMPLE OUTPUT · NOT YOUR MACHINE
$ npx agentleisure-guard blast CRITICAL Your agent can delete your production database and its backups: Railway CLI login token (~/.railway/config.json)
CRITICAL Your agent runs every command without asking: defaultMode is bypassPermissions (./.claude/settings.local.json)
HIGH Your agent can force-push over your default branch: no branch protection (acme/api@main)
HIGH Your agent can use or copy SSH keys that have no passphrase: 1 key (~/.ssh)
MEDIUM Nothing stops your agent from reading .env files and SSH keys (Claude Code settings)
━━ 2 critical, 2 high, 1 medium · score 26/100 ━━
PRIVATE BY DESIGN
Runs locally. Secrets never leave your machine.
Read-only checks. Secret values are never printed, stored or sent; output shows only what kind of access exists and where.
For the report link only the kinds of findings are sent (for example “railway_token: critical”). --private sends nothing.
--fix changes agent settings in your project only, never credential files.