bash-defensive-patterns
Pass
Audited by Gen Agent Trust Hub on Apr 14, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill is entirely educational, providing standard defensive programming patterns such as bash strict mode, variable quoting, and error trapping.
- [SAFE]: No remote code execution or unauthorized external downloads were detected. The included URLs are purely informational links to reputable resources like the Google Shell Style Guide and well-known technical blogs.
- [SAFE]: The skill demonstrates safe handling of system resources, such as using
mktempfor temporary files and implementing cleanup traps. - [SAFE]: Explicit safety instructions are provided, advising against running scripts as root and recommending dry-run modes for destructive operations.
Audit Metadata