Troubleshooting
Node.js version too old
Sensitive Canary requires Node.js 22.6.0 or later for --experimental-strip-types.
bash
node --versionInstall or update from nodejs.org.
Hooks not running after install
- Restart Claude Code — a session that was already running when the plugin was installed does not pick the hooks up.
/pluginlists it as enabled either way, so the state that checks nothing looks exactly like the state that works. Restart first, then check anything else. - Check plugin status — run
/pluginand verify sensitive-canary is listed and enabled. - Check hooks config — for manual installs, verify the hooks entries exist in
~/.claude/settings.json
False positives
If legitimate content is being blocked:
- Add
[allow-secret],[allow-pii], or[allow-all]to your prompt to bypass the check for that message - Allow tags apply only to the current message and do not persist
- For PreToolUse hooks a tag stops applying once a tool result is recorded after it. Tool calls issued together, before any result comes back, are all covered by one tag — a tag is not a promise that only the next one goes through
.env file blocking
This is by design. .env and its siblings are blocked by filename, but only while the secret category is enabled (the default). Template names (.env.example, .env.sample, .env.template, .env.dist, .env.defaults) are exempt from the name guard and scanned on their contents instead, so an ordinary template reads fine and one holding a live key does not. [allow-secret] or [allow-all] will lift this block if you need Claude to read an .env file intentionally. [allow-pii] will not: the block is a secret guard.
Plugin not found after marketplace registration
Verify the marketplace was registered correctly:
- Run
/pluginand check the Marketplaces tab - Ensure
coo-quack/claude-code-marketplaceappears in the list - Try running
/plugin install sensitive-canary@coo-quackagain
Still stuck?
Open an issue on GitHub.