NYC

shell-error-handling

Pass

Audited by Gen Agent Trust Hub on Feb 16, 2026

Risk Level: LOW
Full Analysis
  • [SAFE] (SAFE): No malicious patterns or security risks were identified. The skill acts as a library of best-practice patterns for shell development.
  • Error Handling: Encourages the use of set -euo pipefail, which is a security best practice to prevent scripts from continuing after a failed command.
  • Cleanup Patterns: Demonstrates the use of trap for cleaning up temporary files, reducing the risk of data remnants in /tmp.
  • Secure File Creation: Recommends using mktemp for creating temporary files and directories, which prevents predictable filename vulnerabilities.
  • Input Validation: Includes templates for checking prerequisites (e.g., command -v) and validating file/directory paths before execution.
Audit Metadata
Risk Level
LOW
Analyzed
Feb 16, 2026, 06:00 PM