comfyui-skill
Pass
Audited by Gen Agent Trust Hub on Jun 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute a Python script located at an absolute path in the author's local directory:
/Users/wsxwj/claudebotlife/scripts/comfyui_gen.py. This script is used to communicate with a local ComfyUI instance. - [COMMAND_EXECUTION]: The skill uses
curlcommands to interact with administrative APIs on127.0.0.1:8765for managing image generation providers (switching between 'comfyui' and 'novelai'). - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it interpolates user-influenced scene descriptions into a shell command line.
- Ingestion points: User-provided Chinese scene descriptions or dialogue (e.g., in SKILL.md's examples) which are converted by the agent into English prompts.
- Boundary markers: None. The prompt is wrapped in double quotes in the template
python3 ... "<英文 prompt>", but there are no instructions to escape or sanitize internal quotes or shell metacharacters. - Capability inventory: Execution of arbitrary shell commands through the
python3andcurlcalls defined in the skill. - Sanitization: None. The skill does not provide logic or instructions for the agent to sanitize the generated English string before placing it into the execution environment.
Audit Metadata