claude-skill-bash

Fail

Audited by Gen Agent Trust Hub on Mar 16, 2026

Risk Level: HIGHCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The scripts/scaffold.sh script is vulnerable to command injection via the --dependencies argument. The input is interpolated directly into a sed command string without sanitization or escaping. This allows for execution of arbitrary commands, especially on systems using GNU sed with the 'e' flag, or through command injection if the input can break out of the sed command context.\n- [COMMAND_EXECUTION]: The scripts/scaffold.sh utility automatically applies chmod +x to generated script files. While this is part of its core functionality, it performs automated permission changes on the local filesystem.\n- [PROMPT_INJECTION]: The skill's primary function is to analyze and modify user-provided bash code, creating an inherent surface for indirect prompt injection if those scripts contain malicious instructions for the AI agent.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Mar 16, 2026, 12:48 PM
Security Audit — agent-trust-hub — claude-skill-bash