Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Run automatically on Claude Code events. Claude doesn't decide.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Prevents Claude from reading .env files that may contain secrets.
This plugin blocks any attempt to read environment files via:
cat, head, tail, less, more, sed, awk, grep, etc.< .envcp, mv, scp, rsync with .env as source.env.env.local.env.production.env.development.env.*claude plugin add ./plugins/protect-env
When Claude tries to access an env file via any method:
Blocking: Access to '.env' is blocked. Environment files may contain
secrets and should not be read by AI assistants.
cat .env # Blocked
head -5 .env.local # Blocked
tail .env.production # Blocked
less .env # Blocked
grep API_KEY .env # Blocked
sed -n '1p' .env # Blocked
awk '{print $1}' .env # Blocked
source .env # Blocked
. .env # Blocked
cp .env .env.backup # Blocked
< .env xargs echo # Blocked
ls -la .env # Allowed (listing, not reading)
rm .env # Allowed (deleting, not reading)
touch .env # Allowed (creating empty file)
echo "KEY=val" > .env # Allowed (writing, not reading)
Environment files often contain:
These should never be exposed to AI assistants or included in context.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub rbozydar/rbw-claude-code --plugin protect-envPlugins from other owners that cover similar ground