bash-defensive-patterns
Teaches defensive Bash programming techniques for creating robust, production-grade scripts with error handling and safety best practices.
Install this skill
Security score
The bash-defensive-patterns skill was audited on Mar 8, 2026 and we found 12 security issues across 1 threat category, including 1 high-severity. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 58 | ```bash |
Template literal with variable interpolation in command context
| 73 | ```bash |
Template literal with variable interpolation in command context
| 90 | ```bash |
Template literal with variable interpolation in command context
| 111 | ```bash |
Template literal with variable interpolation in command context
| 124 | ```bash |
Template literal with variable interpolation in command context
| 185 | ```bash |
Template literal with variable interpolation in command context
| 248 | ```bash |
Template literal with variable interpolation in command context
| 280 | ```bash |
Template literal with variable interpolation in command context
| 433 | ```bash |
Template literal with variable interpolation in command context
| 458 | ```bash |
Template literal with variable interpolation in command context
| 495 | ```bash |
Destructive rm -rf command
| 48 | trap 'echo "Cleaning up..."; rm -rf "$TMPDIR"' EXIT |
Install this skill with one command
/learn @wshobson/bash-defensive-patterns