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 Infisicalv1.0.0MITIn 1 marketplace
Blocks Claude Code prompts that contain secrets. Scans every prompt locally with the Infisical CLI; nothing is sent to Infisical.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
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.
This plugin blocks Claude Code prompts that contain secrets, such as API keys, tokens, private keys, and database connection strings, before they reach Claude.
Everything runs on your machine. The plugin scans each prompt with the Infisical CLI's secret scanner and sends nothing to Infisical. You don't need an Infisical account or a login.
UserPromptSubmit hook scans its text with infisical scan --pipe. Pasted text is scanned too.The plugin fails closed: if the CLI or jq is missing, if the scan fails, or if the hook crashes or times out, the prompt is not sent.
claude plugin marketplace add Infisical/claude-code-plugin
claude plugin install infisical-secret-scanner@infisical
If a value is safe to share with Claude, for example a test key, allow it:
/infisical-secret-scanner:allow-secret <secret>
The hook handles this command itself and blocks it, so the value is never sent to Claude. That's why Claude Code shows the confirmation under "UserPromptSubmit operation blocked by hook". Prompts that contain the value are no longer blocked. You can pass the bare value, a quoted value, or a whole line such as STRIPE_KEY=sk_test_...; the plugin allows every secret the scanner finds in it.
The plugin stores only the SHA-256 hash of each allowed value, as the name of an empty file in ~/.claude/plugins/data/infisical-secret-scanner-infisical/allowlist/. To clear all of them, delete that folder.
To stop allowing a value, disallow it:
/infisical-secret-scanner:disallow-secret <secret>
The hook handles this command the same way, so the value is never sent to Claude. Pass the same value, quoted value, or line that you passed to /infisical-secret-scanner:allow-secret.
The plugin scans with config/infisical-scan.toml: the CLI's default rules, plus an allowlist for placeholder values such as <your-token>. A .infisical-scan.toml in your project does not change the scan.
To use your own rules, put a config at ~/.claude/plugins/data/infisical-secret-scanner-infisical/infisical-scan.toml. It replaces the plugin's config. Start it with this block to keep the default rules:
[extend]
useDefault = true
@ (the prompt holds only the path), files Claude reads with its tools, or images./infisical-secret-scanner:allow-secret or /infisical-secret-scanner:disallow-secret, to local files such as your prompt history and the session transcript. See Claude Code's local data.From the root of this repository:
claude --plugin-dir ./infisical-secret-scanner
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 infisical/claude-plugins --plugin infisical-secret-scannerPlugins from other owners that cover similar ground