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.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A security plugin that prevents unintended data leaks from Claude Code. Automatically detects and blocks secrets and PII — in prompts, file reads, and command executions — before they are sent to the Anthropic API.
No proxy server. No background process. Native Claude Code hooks only.
📖 Documentation — Installation guide, detection rules reference, and allow tag details.
Claude Code is a powerful development tool, but file reads and command executions can inadvertently send secrets and personal information to the Anthropic API. API keys in .env files, tokens embedded in config files, credentials pasted into the terminal — once sent to the API, they leave your machine.
sensitive-canary intercepts them before they are sent, preventing unintended data leaks.
| Without sensitive-canary | With sensitive-canary |
|---|---|
cat .env → full contents sent to Claude ❌ | Blocked by name before Claude reads it ✅ |
| Paste a live AWS key in a prompt ❌ | Blocked before the API call is made ✅ |
Read customers.csv full of email addresses ❌ | PII detected before Claude sees the file ✅ |
echo $API_KEY with live key ❌ | Env var value scanned and blocked ✅ |
cat docker-compose.yml with POSTGRES_PASSWORD: ❌ | Assignment detected in YAML and JSON too ✅ |
UserPromptSubmit and PreToolUse cover both directions of riskexample.com), a value that is a variable reference (PASSWORD: ${VAR}), an ssh or scp target ([email protected], deploy@host, user@host:path), and .env.example and its siblings are left alone. Each was blocking ordinary work. A template is exempt only when its contents can be read whole. One holding a NUL byte, running past the per-file cut, reached after the call's budget or deadline, or that is not a regular file at all is blocked on its name, since the contents are what the exemption relies on. A template name that exists on no disk is not blocked — there is nothing to read and nothing to leak--experimental-strip-types)Install in two commands from inside a Claude Code session:
1. Register the marketplace
/plugin marketplace add coo-quack/claude-code-marketplace
2. Install the plugin
/plugin install sensitive-canary@coo-quack
The hooks are enabled for every session started after this. A session that was already running does not pick them up — it reports the plugin as enabled and checks nothing — so start a new one.
Then check that it blocks. An installation that checks nothing looks exactly like one that works, and only exit 2 stops a tool call, so a hook that fails to start is silent. Write a private-key header to a file:
printf -- '-----BEGIN RSA PRIVATE KEY-----\n' > /tmp/canary-check.txt
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.
Generated from the plugin's indexed repository (coo-quack/sensitive-canary) — no native marketplace selected
npx claudepluginhub p/coo-quack-sensitive-canaryPlugins from other owners that cover similar ground