crashdummy
crashdummy is an open-source tool for red-teaming the guard hooks of AI coding agents. It feeds evasion-crafted destructive shell commands (bash, PowerShell, cmd) and their harmless counterparts into a guard hook, then reports whether the guard rules successfully blocked them (CAUGHT), missed them (MISSED), or raised a false alarm (FALSE ALARM). All test cases are passed only as JSON data and are never actually executed. The tool runs on Python 3.9+ and the standard library, and can be used to test the PreToolUse hooks, command allowlists, or denylists of autonomous coding agents such as Claude Code and Codex CLI.