comfyui-qwen-image-21
Pass
Audited by Gen Agent Trust Hub on Nov 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a bundled Python script (
scripts/generate.py) using theterminaltool to communicate with the ComfyUI API and manage image processing workflows. - [DATA_EXFILTRATION]: The skill reads local files provided as input and uploads them to the address specified in the
COMFYUI_URLenvironment variable. While it defaults to a localhost address (127.0.0.1), it can send data to any configured remote server. The script includes a warning printed to stderr if the destination is not localhost. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted input in the form of images and text prompts which are passed to a prompt enhancer LLM and a diffusion model.
- Ingestion points: User-supplied image file paths and text edit prompts are processed in
SKILL.mdand passed togenerate.py. - Boundary markers: The
workflow.jsonfile (Node 459:479) contains an extensive system prompt for the Qwen prompt enhancer model that includes instructions to ignore certain types of content and adhere to strict output formatting. - Capability inventory: The
generate.pyscript performs local file reads, network uploads and downloads viaurllib, and writes the resulting image to the local filesystem. - Sanitization: The script implements a
_sanitize_filenamefunction to validate filenames returned by the server, preventing path traversal attacks when saving output files.
Audit Metadata