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 the terminal tool 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_URL environment 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.md and passed to generate.py.
  • Boundary markers: The workflow.json file (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.py script performs local file reads, network uploads and downloads via urllib, and writes the resulting image to the local filesystem.
  • Sanitization: The script implements a _sanitize_filename function to validate filenames returned by the server, preventing path traversal attacks when saving output files.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 27, 2026, 03:50 AM