claudemods

All Claude Code modshamzafer/claude-code-mods

secret-guard

A Claude Code mod in hamzafer/claude-code-mods

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.

Install hint

/plugin install secret-guard --marketplace hamzafer/claude-code-mods

From 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, draws

Validation

Passed

View 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

See all 27 mods from hamzafer/claude-code-mods

Badge for your README

Reach badge for secret-guard Validation badge for secret-guard

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/hamzafer--claude-code-mods--secret-guard-reach.svg)](https://mods.aidojo.si/mods/hamzafer--claude-code-mods--secret-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/hamzafer--claude-code-mods--secret-guard-validates.svg)](https://mods.aidojo.si/mods/hamzafer--claude-code-mods--secret-guard/)