All Claude Code modshamzafer/claude-code-mods
secret-guard
Keeps API keys and tokens out of Claude's context, your files and your commits: hides them in tool output, and asks before a write, commit or push adds one.
secret-guard reaches L2 (writes or runs) and passed claude plugin validate.
- Events hooked: 3
- API methods referenced: 10
- Access from classified calls: L2, writes or runs: runs processes, reads files, reads env vars, draws
- Static scan, not a runtime test
Install hint
/plugin install secret-guard --marketplace hamzafer/claude-code-modsFrom 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, reads files, reads env vars, drawsValidation
PassedView the source on GitHub Back to the list
What the scan recorded
- Observed events
- Write calls, Edit calls, NotebookEdit calls, Bash calls, every tool call
- Hooks
session.start, command.run {command=secret-guard}, tool.call {tool=Write}, tool.call {tool=Edit}, tool.call {tool=NotebookEdit}, tool.call {tool=Bash}, tool.call- API calls
$.command.register, $.env.get, $.fs.exists, $.fs.list, $.fs.read, $.fs.stat, $.process.run, $.session.cwd, $.ui.ask, $.ui.toast- Validation
- Passed
- Scanned revision
1670b02dfaa7- Marketplace warnings
- claude-code-mods
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. What a mod can access and how the scan works.
More from hamzafer/claude-code-mods
- agent-radarOne live line above the prompt per running subagent or background shell: its model, time, tool count and what…
- blast-radiusHolds risky Bash commands and shows what they would change before they run.
- browser-lanesShows if this session has a Playwright browser and who holds it. /browser clean closes leftover browsers. A s…
- cache-clockA prompt-cache line under your status line, from Claude Code's own cache figures: time left while warm, hit r…
- context-barYour context window as a stacked bar above the prompt, a color per category, with token counts and the compac…
- glanceOne line above the prompt with what needs you: next meeting, PRs, Linear issues and Slack DMs. /glance lists…
- gotham-nightA Gotham theme for the Claude Code Desktop app: searchlights sweep while Claude works, and the signal lights…
- heatmapA GitHub-style grid of your Claude Code time in a /heatmap pane, with streaks, peaks and top projects.
- md-previewShows the Markdown files Claude edits, rendered like GitHub, in a pane next to the chat. Before and after sid…
- merge-gateHolds `gh pr merge` until CI passes and one Codex review (OpenAI's luna model) has run. A PR line above the p…
- mission-control/mission opens a live map of the main agent, its subagents and every tool call, plus a code map of the files…
- next-stepsAfter each turn, 2 or 3 likely next prompts above the prompt. Press 1, 2 or 3 in an empty prompt to draft one…
- now-playingWhat Spotify is playing, one line above the prompt: track, progress and the lyric being sung, with ⏮ ⏸ ⏭ butt…
- openai-balanceYour OpenAI API credit above the prompt: an estimated balance with a gauge, today's spend, where the money mo…
- openrouter-balanceYour OpenRouter credit above the prompt: the balance with a gauge, today's spend and where the money mostly w…
- prayer-timesThe current prayer and how long is left, the next prayer, and zawal, above the prompt. Computed on your compu…
- reelsYouTube Shorts in a terminal pane: plays while Claude works, pauses when Claude is done.
- replay-theaterStep through the last turn's file edits, one diff at a time.
- review-watchA live line above the prompt for each running code review: Codex or a review subagent, its model, what it rev…
- rulebook-guardWriting and git rules: replaces em dashes in prose, and asks before git commit --amend, an unformatted push,…
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/hamzafer--claude-code-mods--secret-guard/)
[](https://mods.aidojo.si/mods/hamzafer--claude-code-mods--secret-guard/)