Skip to content
← INDEX / Tags
TAG · 1 prompts

#guardrail

Explore public prompts for guardrail. Narrow the topic by medium or change the order.

Clear filters

Showing 1–1 of 1 · Page 1 / 1

Free01
TUTORIALClaude Code
Karan Bansal2026-06-08

Claude Code Hook Recipe: Block Dangerous Bash with PreToolUse

A PreToolUse Bash hook that intercepts destructive commands like rm -rf, fork bombs, and curl|sh before the AI executes them—a last line of defense that holds even against --dangerously-skip-permissions.

Intermediate
Read