sop-library
Warn
Audited by Gen Agent Trust Hub on Nov 9, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructions direct the agent to invoke a local Python script using a user-provided brand identifier as a parameter. This pattern is vulnerable to command injection if the input contains shell metacharacters and is not strictly sanitized by the agent before execution.
- Evidence:
python "${CLAUDE_PLUGIN_ROOT}/scripts/execution-tracker.py" --brand {slug} --action get-historyin Step 6 of the Process section. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from multiple sources including user-provided SOP content, brand guidelines, and external execution logs, which could contain malicious instructions designed to manipulate the agent.
- Ingestion points: SOP content and metadata, brand slugs, and history data retrieved from the execution-tracker script.
- Boundary markers: The skill includes a dedicated 'Untrusted content' section that explicitly warns the agent not to treat fetched data as authoritative or follow instructions within it.
- Capability inventory: The skill has the ability to read and write files within the
~/.claude-marketing/directory and execute local scripts. - Sanitization: Instructions recommend writing untrusted content to files rather than passing it directly into shell commands, though the specific script call in step 6 contradicts this for the 'slug' parameter.
Audit Metadata