claudemods

All Claude Code mods0xGondarxyz/claude-code-mods

secret-guard

A Claude Code mod in 0xGondarxyz/claude-code-mods

Masks API keys and tokens in tool results before Claude reads them, and blocks a git push that would leak secrets or home paths to a public repo.

secret-guard reaches L2 (writes or runs) and passed claude plugin validate.

Install hint

/plugin install secret-guard --marketplace 0xGondarxyz/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 env vars, reads mod state, draws

Validation

Passed

View the source on GitHub Back to the list

What the scan recorded

Observed events
every tool call
Hooks
session.start, session.append, tool.call, command.run {command=secret-guard}
API calls
$.clock.now, $.command.register, $.env.get, $.process.run, $.state.get, $.state.set, $.ui.toast
Validation
Passed
Scanned revision
4896e0fc219b
Marketplace passed
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 0xGondarxyz/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/0xGondarxyz--claude-code-mods--secret-guard-reach.svg)](https://mods.aidojo.si/mods/0xGondarxyz--claude-code-mods--secret-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/0xGondarxyz--claude-code-mods--secret-guard-validates.svg)](https://mods.aidojo.si/mods/0xGondarxyz--claude-code-mods--secret-guard/)