bash-defensive-patterns
Defensive Bash techniques for fault-tolerant, safe production scripts and CI/CD pipelines.
๐ก๏ธ AgentReady threat assessment
MAESTRO 7-layer threat model + OWASP AIVSS risk score for bash-defensive-patterns, derived from its capabilities.
AIVSS 4.2 ยท Medium
View MAESTRO 7-layer threat model โOverview
An Agent Skill that injects defensive shell-programming patterns: strict mode, error trapping, safe quoting, edge-case handling, logging, and cross-platform portability. It guides the agent to write production-grade automation that fails safely. Security-relevant because it shapes shell commands the agent generates and runs.
Key features
- Strict-mode and error-trap patterns
- Safe quoting and injection avoidance
- Cross-platform portability guidance
Use cases
- Writing production automation scripts
- Hardening CI/CD shell steps