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 yonatangrossv0.0.11MITIn 2 marketplaces
Masks secret values in tool results before the model reads them: named vendor variables, value-shape patterns, and high-entropy tokens. No reveal path.
Trending plugins
7-day copy clicks
Code that runs inside Claude Code on every session, as you, unsandboxed.
1 critical 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; reads environment variables (ANTHROPIC_API_KEY, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, AZURE_OPENAI_API_KEY, CLOUDFLARE_API_TOKEN, GEMINI_API_KEY, GH_TOKEN, GITHUB_TOKEN, GITLAB_TOKEN, GOOGLE_API_KEY, GROQ_API_KEY, HF_TOKEN, MISTRAL_API_KEY, NPM_TOKEN, OPENAI_API_KEY, OPENROUTER_API_KEY, OP_SERVICE_ACCOUNT_TOKEN, SECRETS_VEIL_OFFER_COPY, SLACK_BOT_TOKEN, STRIPE_SECRET_KEY, VERCEL_TOKEN).
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code mod that masks secret values in tool results before the model reads them. It arms once per session and covers every tool result afterwards. There is no reveal path: once a value is covered, it stays covered for the session.
Three layers, checked on every tool result:
Named masking. At session.start the mod reads 21 widely known
vendor variable names with one literal $.env.get call site per name:
ANTHROPIC_API_KEY OPENAI_API_KEY GEMINI_API_KEY GOOGLE_API_KEY
MISTRAL_API_KEY GROQ_API_KEY OPENROUTER_API_KEY HF_TOKEN
GITHUB_TOKEN GH_TOKEN GITLAB_TOKEN NPM_TOKEN AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN AZURE_OPENAI_API_KEY
STRIPE_SECRET_KEY SLACK_BOT_TOKEN VERCEL_TOKEN
CLOUDFLARE_API_TOKEN OP_SERVICE_ACCOUNT_TOKEN
A resolved value is kept only if it is at least 8 characters. Every occurrence of a kept value is masked in tool output.
Value shapes. Vendor prefixes and markers: sk-ant-, ops_, ghp_,
github_pat_, xoxb-, AKIA, Bearer (20 or more following
characters), and PEM private key blocks.
High entropy. A token of 20 or more characters from
[A-Za-z0-9+/=_-] whose Shannon entropy is at or above 4.3 bits per
character is masked. The threshold is chosen so that counting alone,
not luck, protects git output: any hex string (a 40-char git sha, a
64-char hash) has entropy at most 4.0, a UUID at most 4.09, both below
the bar always. Uniform random tokens over the same alphabet measured a
median of 4.60 bits/char (200k samples, 2026-09-16). Ordinary words,
paths and identifiers measured 2.9 to 4.0. Masked output never reveals
length beyond an 8-bullet floor.
Tokens this layer skips (the named-value and prefix layers still run on
them): a Subresource Integrity value (sha512-...), and since 0.0.8 a
token that is exactly an Anthropic API id: toolu_01, srvtoolu_01,
msg_01 or req_011C followed by 18 to 26 letters and digits. These ids
are public request handles; 890 of 1000 generated toolu_ ids crossed
the bar, so tool ids showed as bullets in transcripts and logs.
Since 0.0.11, an image URL on a named media host (MEDIA_HOSTS, today
d8j0ntlcm91z4.cloudfront.net) is also skipped, when the whole token
between ASCII space, tab, LF, CR or the ends of the text is exactly
https://<host>/<path>.<png|jpg|jpeg|webp|gif> with a path of letters,
digits and - . _ /. A query, fragment, quote, bracket, other
punctuation or non-ASCII white space in the token keeps it masked.
The exemption judges lexical tokens and does not promise that a URL
parser reads the same URL: a parser that strips tab, LF or CR can join
two tokens the veil shows separately. It skips only this layer, so
named values and vendor prefixes still mask inside such a URL; it aims
at accidental secrets in tool output, not at text an adversary crafted.
One exception: an image payload passes byte-equal. An image payload is one long high-entropy run, so masking it made the API reject every image Read. It passes only when all of these hold:
{ type: "image", file: { base64, type, ... } }
(what tool.call sees on Claude Code 2.1.304) or the API block
{ type: "image", source: { type: "base64", media_type, data } },
as the output itself, an element of an output array, or an element of
the output's content array. A look-alike deeper in a result is masked;sk-ant-,
AKIA, a PEM header, ...) appears in the decoded bytes. If one does,
the whole result is withheld, never shown with corrupted image bytes.
Every other field of the block is masked as usual.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 yonatangross/orchestkit --plugin secrets-veilPlugins from other owners that cover similar ground