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.
These scores are auto-generated from public information (the agent's own listing, docs, and repository) using the canonical OWASP AIVSS formula and the MAESTRO framework — an estimate for guidance, not a penetration test, audit, or certification. See the scoring methodology — every score is re-derived by the same automated method as an agent's public evidence changes.
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 and capabilities
- 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