bash-defensive-patterns
Pass
Audited by Gen Agent Trust Hub on Mar 8, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill serves as an informational resource for defensive shell programming. It correctly promotes safety features like Bash strict mode (
set -Eeuo pipefail), variable quoting to prevent word-splitting, and the use of thetrapcommand for secure temporary file cleanup.\n- [SAFE]: All code snippets follow best practices for script reliability and error handling, including safe directory detection, idempotent file operations, and atomic writes.\n- [SAFE]: No evidence of prompt injection, data exfiltration, or unauthorized remote code execution was found. External links provided point to well-known technical documentation and community-standard style guides.
Audit Metadata