exec-security
Installation
SKILL.md
Exec Security
Pre-flight security validation for shell commands. Catch dangerous patterns before they execute.
Quick Reference
Before running any non-trivial command, scan for these red flags:
- 🔴
rm -rf,dd,mkfs→ refuse - 🔴
echo $SECRET,printenv→ use${#VAR}instead - 🔴 Writes to
/etc/,~/.ssh/→ refuse unless user requested - ðŸŸ
| curl,| nc,scp→ ask user first - ðŸŸ
curl | bash,wget | sh→ ask user first - ðŸŸ
IFS=,LD_PRELOAD=→ ask user first - 🟡
eval,bash -c,$()with external data → warn - 🟡 Zero-width spaces, RTL override → warn
- 🟡
=cmd(Zsh),zmodload, fork bombs → warn