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 home-dev-labv0.1.10In 1 marketplace
Function-hook secret scrubber for prompts, assistant text, tool results, and raw outbound tool inputs
Run automatically on Claude Code events. Claude doesn't decide.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
1Password CLI executable the hook runs for `op read` (e.g. `op.exe` under WSL interop)opBinary
1 critical · 2 cautions to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; runs programs; writes files; reads files; reads environment variables (CLAUDE_CONFIG_DIR, HOME, OS); reads or rewrites your prompts; changes what Claude reads (system prompt, context, reminders).
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
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.
The hook's own process capability spawns this executable; shell aliases do not apply there. Default `op`; under WSL, set `op.exe` when the Windows 1Password CLI is the signed-in one.
stringOptionaldefault op
1Password account passed to `op read --account` (empty = the CLI's default account)opAccount
Account passed as `op read --account <value>` when references are rewritten; leave empty on a single-account machine. OP_ACCOUNT does not reach op.exe through WSL interop.
stringOptionaldefault
Mask email addresses in prompts and tool resultsmaskEmails
Replace email addresses with stable redaction tokens before submitted prompts and tool results reach the model. This option cannot affect first-message context blocks.
booleanOptionaldefault false
Mask IP addresses in prompts and tool resultsmaskIpAddresses
Replace IPv4 and IPv6 addresses with stable redaction tokens before submitted prompts and tool results reach the model. This option cannot affect first-message context blocks.
booleanOptionaldefault false
Redact Atrium message bodies instead of refusing themownerChannelRedaction
Only the text field of the supported Atrium speak adapters is rewritten; routing fields stay unchanged or the call is refused. Disable to retain refusal for all raw MCP inputs.
booleanOptionaldefault true
Warn when a tool would read a likely secret filesecretFileReadWarnings
Measurement-only warning. The read still executes and a value-free event is journaled.
booleanOptionaldefault true
wt-secret-guard replaces detected secrets in inbound deliveries, pasted prompts, attachments, visible assistant text, and supported tool results with session-stable tokens. It refuses raw secret-bearing Bash, Write, Edit, NotebookEdit, WebFetch, WebSearch, Agent, Task, and MCP inputs before execution, with a body-redaction adapter for Atrium speak described below. It can rewrite op:// 1Password references and secret:file:/path references before Bash runs; secret:env:NAME is disabled and refused (see Supported secret references).
For an inbound delivery, the guard withholds the credential value before the message is queued while leaving the rewritten message answerable. Its visible notice says that revocation is the only remedy and links to the provider's key page when the detected shape identifies one. This only stops this Claude Code session from spreading the value into commands, files, logs, or further messages. It cannot remove or unsend the original message from Atrium, Remote Control, Slack, another client, or any append-only history where it was already sent.
Its scope is text delivered to this Claude Code session, text the session sends through submitted prompts, and supported tool results. It does not filter text at the point where a human types it in another client.
MCP tools are covered at their boundary only: a raw secret in an MCP call's input is refused (or replaced in a supported Atrium message body) and the result returned to the session is scrubbed, but the secret-file read warning and reference resolution apply to Bash and Read alone. What an MCP server reads or stores on its own side — for example a file a context-indexing server reads itself, or the content it keeps in its own database — never passes through the guard; it is masked only when a later tool result returns it to the session.
Known vendor shapes include Brave API keys (BSA plus 28 URL-safe characters). UUIDs remain unmasked in ordinary log text, but are masked when immediately used as a credential, including an Exa client constructor or a key, token, secret, or credential assignment. Any value the guard itself put into a command — through a redaction token, secret:env:, secret:file: or op:// — is masked in that command's output whatever it looks like, a UUID or an address included. Overlapping detections are merged before anything is replaced, so one pattern never unmasks what another one covers. Source code keeps an exemption for a credential-named variable assigned a name (const token = fallbackToken); a quoted literal is masked, in a declaration as anywhere else. A key with no recognizable shape and no credential context word remains invisible. No entropy threshold that avoids flooding ordinary output can catch every such value, so the guard does not lower its entropy threshold as a fallback.
This is a Claude Code Function Hooks plugin, an early-access API. Start Claude Code with CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 for both marketplace installs and --plugin-dir. Live A/B tests on Claude Code 2.1.278 showed that the flag is required on both paths. Without it, Claude Code does not load the guarding module.
A classic SessionStart command prints one inactive-guard notice when the flag is absent. That fallback requires node on PATH; check it with node --version. If Node is unavailable, the notice cannot run, so the launch flag remains the authoritative requirement on every platform.
Opaque ids and release confirmations use the host's crypto.getRandomValues; use Node 20 or later for local hook checks. They require no operating-system-specific randomness adapter.
node on PATH is also required on Linux and macOS for two protections: the in-place repair of a refused call's transcript record, and the measurement journal. Without it both fail closed: the repair is skipped with a visible notice that the value may remain in the transcript, and journal events are dropped with a notice. The refusal itself does not depend on Node.
1Password reference resolution requires the 1Password CLI and a signed-in account. Configure opBinary when the CLI executable is not op; configure opAccount for a non-default account.
The Bash hook expands a small allow-list, and refuses the command outright — with the reason and this list — for anything else it finds. Supported forms:
npx claudepluginhub home-dev-lab/workflow-toolbox --plugin wt-secret-guardBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground