PlugMyPlugin
← Browse

secret-guard

fable-and-fuse ★ 0

A Claude Code PreToolUse hook that blocks the agent from echoing or writing API keys, environment variables, and .env files to prevent credential exposure in transcripts and logs. It intercepts bash/PowerShell commands and file operations to pattern-match sensitive data names and fake-key detection, then explains why the operation was blocked so Claude can use a safer alternative.

Security DevOps No API key detected runs shell

Install

> /plugin marketplace add fable-and-fuse/claude-secret-guard
> /plugin install secret-guard

Source: https://github.com/fable-and-fuse/claude-secret-guard

What it's made of

1 hook

Commands
0
Agents
0
Skills
0
MCP servers
0
Hooks
1 · PreToolUse

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
bash
Talks to
nothing external detected

Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.

Is this your plugin?

Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (fable-and-fuse).