PlugMyPlugin
← Browse

pc-bash-guard

pinky-and-co ★ 0

This plugin installs a PreToolUse hook that intercepts Bash commands to detect destructive operations like `find -delete` or `echo` redirected to files, then prompts for confirmation before allowing them. The detector runs stdlib-only Python and fails open on errors, skipping prompts only in auto mode where a classifier has already judged the call.

Security DevOps No API key detected runs shell

Install

> /plugin marketplace add pinky-and-co/pinky-agentic-plugins/tree/HEAD/plugins/pc-bash-guard
> /plugin install pc-bash-guard

Source: https://github.com/pinky-and-co/pinky-agentic-plugins/tree/HEAD/plugins/pc-bash-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
python3
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 (pinky-and-co).