validate-output

Fail

Audited by Gen Agent Trust Hub on Nov 9, 2026

Risk Level: HIGHCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill's process documentation (Step 3) specifies an execution pattern scripts/output-validator.py --action validate --text "{content}" where {content} is untrusted data provided by a user or scraped from external sources. Directly interpolating untrusted text into a shell command line is a classic command injection vulnerability. If the input contains shell metacharacters such as backticks, semicolons, or subshell expansions, it could lead to arbitrary code execution on the agent's environment.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to process untrusted marketing content which may contain hidden instructions for the AI.
  • Ingestion points: The skill ingests untrusted data from multiple sources including user-pasted text, uploaded files, and scraped web content as specified in the 'Input Required' and 'Untrusted content' sections.
  • Boundary markers: Although the skill includes a textual warning ('Untrusted content' section) advising the agent not to follow embedded instructions, the actual command template in the 'Process' section does not utilize robust technical delimiters (e.g., XML tags or randomized boundaries) to safely encapsulate the {content} variable during script execution.
  • Capability inventory: The skill possesses significant local capabilities, including reading sensitive configuration files from the user's home directory (~/.claude-marketing/brands/) and executing local Python scripts.
  • Sanitization: The instructions contain a contradictory safety rule; while one section advises the agent to write untrusted content to a file rather than passing it to a shell command, the implementation step explicitly demonstrates passing that content as a command-line argument (--text "{content}").
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Nov 9, 2026, 11:54 AM