All Claude Code modsray-amjad/awesome-claude-code-function-hooks
secret-box
Claude can use a secret without seeing it: a masked box saves keys to .env and gives Claude a placeholder, every key a tool prints comes back as a placeholder, and committing .env is refused
review UI rewrite
secret-box reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 9
- API methods referenced: 16
- Access from classified calls: L2, writes or runs: runs processes, writes files, drives Claude, reads files, reads env vars, draws
- Static scan, not a runtime test
Install hint
/plugin install secret-box --marketplace ray-amjad/awesome-claude-code-function-hooksFrom the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsruns processes, writes files, drives Claude, reads files, reads env vars, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- every prompt, every tool call, the system prompt, subagent spawns, Bash calls, /"^(Bash|Read|Grep|Edit|MultiEdit|NotebookEdit)$"/ calls, mcp__secret-box__request_secret calls
- Hooks
prompt.submit, tool.call, prompt.context, prompt.attachment, prompt.mention, agent.spawn, session.start, tool.call {tool=Bash}, tool.call {tool=/"^(Bash|Read|Grep|Edit|MultiEdit|NotebookEdit)$"/}, prompt.mention {path=/"(^|[\\\\/])\\.env(\\.[\\w.-]+)?$"/}, tool.call {tool=mcp__secret-box__request_secret}, ui.render {component=Pane}, ui.render {component=AbovePrompt}, ui.close- API calls
$.clock.now, $.env.get, $.fs.exists, $.fs.read, $.fs.write, $.process.run, $.session.cwd, $.session.surfaces, $.tool.register, $.ui.close, $.ui.invalidate, $.ui.log, $.ui.notice, $.ui.open, $.ui.resolve, $.ui.toast- Validation on 2.1.302
- Passed
- Scanned revision
fca4b17785b1- Marketplace passed
- claude-code-mods
- UI rewrite review
- UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. plugins/secret-box/hooks/detect.ts:269, plugins/secret-box/hooks/detect.ts:483, plugins/secret-box/hooks/detect.ts:559, plugins/secret-box/hooks/detect.ts:566, plugins/secret-box/hooks/detect.ts:656, plugins/secret-box/hooks/detect.ts:690, plugins/secret-box/hooks/detect.ts:692, plugins/secret-box/hooks/detect.ts:762, plugins/secret-box/hooks/detect.ts:763, plugins/secret-box/hooks/detect.ts:766, plugins/secret-box/hooks/detect.ts:794, plugins/secret-box/hooks/detect.ts:798, plugins/secret-box/hooks/detect.ts:1249, plugins/secret-box/hooks/redact.ts:70
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.
More from ray-amjad/awesome-claude-code-function-hooks
- cache-clockA one-line band above the prompt: context used, and a countdown until the prompt cache goes cold
- decision-treeWhen Claude ends a reply with a question, explains the choice in a side pane and lets you explore any option,…
- diagram-paneA side pane that pins every diagram Claude draws, keeps a live map of the work, and lets you go into boxes an…
- dream-passA dreaming pass over Claude's memory folder: merges duplicates, rewrites stale entries, removes dead ones and…
- jev-skill-suggestionScores every skill against your prompt with TypeSafe Jev as you type; observe, block or steer skill loading
- memory-forkAfter each turn Haiku decides whether memory needs a change; a tool-less fork of the session drafts it and th…
- prompt-bouncerBounces vague prompts before Claude sees them, and suggests the project's own term
- transcript-redactorKeeps secrets and email addresses out of the session transcript: swaps each one for a stable placeholder on t…
- vercel-deploy-statusPins the Vercel deploy queue of the linked project under the prompt: every deploy queued, building or just fi…
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/ray-amjad--awesome-claude-code-function-hooks--secret-box/)
[](https://mods.aidojo.si/mods/ray-amjad--awesome-claude-code-function-hooks--secret-box/)