create-outline
Warn
Audited by Gen Agent Trust Hub on Apr 3, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: In SKILL.md (Step 2), the instructions direct the agent to execute a bash command where the user-supplied topic is directly interpolated:
python3 skills/create-outline/create_outline.py "<用户主题>". This creates a high-risk shell injection vulnerability where a user can execute arbitrary commands by providing a topic likeMy Topic"; rm -rf /; echo ". - [DATA_EXFILTRATION]: The SKILL.md file contains a hardcoded absolute directory path:
/Users/zouguangyuan/repos/banana-slides-skill/.claude. This exposes sensitive internal system information, including the local username and directory structure, which can be used to facilitate targeted attacks or reconnaissance. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it ingests untrusted user data without proper isolation.
- Ingestion points: User-provided slide topics enter the flow in SKILL.md and are processed by
create_outline.py. - Boundary markers: None. The raw input content is passed directly into the AI prompt generator (
get_outline_prompt). - Capability inventory: The skill has access to the filesystem (
project.save), shell execution (Bashtool), and the network (viacreate_ai_client). - Sanitization: None. There is no escaping or validation of the input string before it is used to generate an AI prompt, allowing a user to embed instructions that could manipulate the AI's output or behavior.
Audit Metadata