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.
By mintmcpv0.1.14Apache-2.0In 1 marketplace
Blocks API keys, tokens and private keys from reaching Claude Code before a file read or prompt is sent. It claims nothing leaves your machine, but detection is regex-based and best-effort, so rotate any secret that slips through.
Trending plugins
7-day copy clicks
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.
Blocks sending secrets to Claude Code or Cursor by scanning inputs and outputs.
Install via the Claude Code plugin marketplace:
/plugin marketplace add mintmcp/agent-security
/plugin install secrets-scanner@agent-security
pipx install claude-secret-scan
# or
python3 -m pip install --user claude-secret-scan
For manual usage, run secrets_scanner_hook.py with python3 via hooks.
PreToolUse / Cursor beforeReadFile: blocks when secrets are detected.UserPromptSubmit / Cursor beforeSubmitPrompt: blocks when secrets are detected.PostToolUse: prints a warning (cannot block after execution).Detected classes include common cloud credentials, source control tokens, webhook URLs, payment provider keys, private keys, and JWTs. See PATTERNS in hooks/secrets_scanner_hook.py for details.
MAX_SCAN_BYTES (default 5 MB)PATTERNS (regex map for credential types)Binary content is skipped using a simple heuristic.
See tests/read_hook_test.py and TESTING.md for examples and guidance.
hooks/secrets_scanner_hook.py for the core implementation and patterns.Apache License 2.0. See ../../LICENSE.
Regex patterns were informed by or adapted from detect-secrets (Apache 2.0).
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 mintmcp/agent-security --plugin secrets-scannerPlugins from other owners that cover similar ground