DestructGuard
Destructive shell commands — force pushes, hard resets, recursive deletes, and database drops — cause irreversible damage. DestructGuard intercepts risky commands before they run, prompts for approval, and writes an audit trail.
Install
pip install -e .Wrap commands with destructguard guard -- or install git hooks with destructguard install-hooks.
Web tools
Edit blocklist rules and review audit logs in the browser — no server required.
- Rules editor — build and export
rules.json - Audit viewer — paste or upload
audit.jsonl