sota-shell-scripting

Pass

Audited by Gen Agent Trust Hub on Nov 6, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill is entirely instructional and defensive in nature. It provides an extensive set of rules for secure shell scripting, covering shebang discipline, error handling (set -e), quoting, and secure cleanup methods.
  • [REMOTE_CODE_EXECUTION]: The skill contains several examples of dangerous remote code execution patterns (e.g., eval on untrusted input, curl | bash). However, these are clearly labeled as 'CRITICAL' vulnerabilities within the context of 'AUDIT mode' to help the agent identify and fix such issues in target scripts. The skill itself does not perform unauthorized execution.
  • [EXTERNAL_DOWNLOADS]: The documentation references downloading industry-standard tools like ShellCheck, shfmt, and actionlint from their official GitHub repositories. These are well-known technology tools, and the instructions specifically advocate for verifying integrity via pinned checksums and TLS version constraints.
  • [INDIRECT_PROMPT_INJECTION]: While the skill processes shell scripts (untrusted data) in AUDIT mode, it provides robust defenses against indirect injection. It enforces mandatory boundary markers (--), strict quoting of expansions, and emphasizes that external data should never be interpolated directly into command strings without proper escaping.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 6, 2026, 10:22 AM