bash-defensive-patterns

Pass

Audited by Gen Agent Trust Hub on Sep 17, 2026

Risk Level: SAFE
Full Analysis
  • [COMMAND_EXECUTION]: The skill includes code templates demonstrating common shell utilities such as cp, mv, rm, chown, and mkdir. These examples are provided within the context of teaching defensive patterns, such as safe move operations, dry-run support, and atomic writes to prevent data corruption.
  • [SAFE]: The primary purpose of the skill is to advocate for shell scripting security best practices. It includes instructions for enabling strict mode (set -Eeuo pipefail), performing proper error trapping with trap, implementing input validation, and using mktemp for secure temporary file handling.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 17, 2026, 11:19 PM
Security Audit — agent-trust-hub — bash-defensive-patterns