bash-defensive-patterns

Pass

Audited by Gen Agent Trust Hub on May 12, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill serves as a guide for defensive Bash programming. It promotes security-enhancing techniques such as strict mode (set -euo pipefail), variable quoting to prevent word splitting, and proper error handling with traps.
  • [SAFE]: No evidence of prompt injection, data exfiltration, or obfuscation was found in the instructions or code examples.
  • [SAFE]: File operations demonstrated in the patterns (e.g., atomic writes, safe temporary file handling) follow industry security best practices to prevent race conditions and accidental data loss.
  • [SAFE]: External links provided point to well-known technical documentation and style guides (e.g., Google Shell Style Guide) and are used for reference purposes only.
Audit Metadata
Risk Level
SAFE
Analyzed
May 12, 2026, 06:52 AM
Security Audit — agent-trust-hub — bash-defensive-patterns