| Recursive delete | rm -rf /, rm -rf ~, rm -rf src, rm -rf $VAR (allows ephemeral dirs like node_modules/dist/build and /tmp/... paths) | Prevent data loss without blocking routine cleanup |
| Destructive commands | mkfs, dd if=, shred, truncate | Prevent data loss |
| Privilege escalation | sudo, su -, doas, pkexec, eval, exec | Block unauthorized access |
| Git dangerous ops | git push --force, git reset --hard, git clean -f | Protect git history |
| Reverse shells | bash -i, /dev/tcp/, pty.spawn, child_process | Block code injection |
| Pipe-to-shell | curl | bash, wget | sh, cat file | zsh | Block remote code execution |
| Secret exfiltration | curl + .env, wget + credentials | Block data exfiltration |
| DNS exfiltration | dig $(cat .env), nslookup $(...) | Block DNS-based data theft |
| Env variable dumps | env, printenv, export -p | Prevent secret exposure |
| Global installs | pip install, npm install -g, cargo install, brew install | Prevent system modification |
| History evasion | unset HISTFILE, history -c, HISTSIZE=0 | Prevent audit trail tampering |
| File attribute changes | chown, chattr, xattr | Block ownership/permission changes |
| Shell obfuscation | $'\x72\x6d', $'\0150' | Defeat ANSI-C quoting bypass |
| Container escape | nsenter -t 1 -m -u -i -p | Block container breakout |
| Docker dangerous ops | --privileged, -v /:/host | Block privileged container access |
| macOS system commands | osascript, defaults write, diskutil, security | Block system tampering |
| /proc sensitive access | /proc/self/environ, /proc/*/cmdline | Block process secret access |
| Custom package registry | pip install --index-url, npm --registry | Block supply chain attacks |
| Credential leakage | curl + AKIA*, ghp_*, sk-proj-*, xoxb-* | Block API key exfiltration |
| Sensitive env var exfiltration | curl + $OPENAI_API_KEY, $AWS_SECRET_ACCESS_KEY | Block credential exfiltration |
| Script sourcing | source script.sh, . setup.sh | Block arbitrary script execution |
| Git config dangerous keys | core.hooksPath, core.pager, core.editor, core.sshCommand | Block arbitrary code execution via git config |
| File upload exfiltration | curl -T, curl -F, curl -d @, wget --post-file | Block file upload to external servers |
| Shell script execution | bash /tmp/script.sh, sh ./evil.sh | Block download-and-execute attacks |
| Redirect to protected paths | echo "evil" > ~/.bashrc, printf > ~/.ssh/config | Block redirect-based config writes |
| Kernel/system commands | insmod, modprobe, mount, sysctl, iptables | Block kernel/network manipulation |
| Debug/process attach | gdb -p, strace -p, ltrace -p | Block process inspection and injection |