get-ai-image

Warn

Audited by Gen Agent Trust Hub on Oct 27, 2026

Risk Level: MEDIUMDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [DATA_EXFILTRATION]: The load_env function in gen_image.py reads sensitive environment files from hardcoded absolute paths outside the skill directory: ~/.hermes/.env, ~/workspace/projects/n8n/.env, and ~/.env. Accessing these files can expose the user's system-wide credentials or project configurations.\n- [COMMAND_EXECUTION]: The start_comfyui.sh script executes a background process using a Python interpreter and script located in ~/ComfyUI. This relies on code residing in an external, unmanaged directory that is not part of the skill's controlled environment.\n- [DYNAMIC_EXECUTION]: The gen_comfyui function in gen_image.py dynamically assembles ComfyUI execution graphs by performing string replacement on JSON templates (workflows/*.json) before sending the resulting payload to the local server for execution.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted user input via the prompt argument which is interpolated into API requests and ComfyUI workflow templates.\n
  • Ingestion points: prompt argument in gen_image.py (line 330).\n
  • Boundary markers: Absent. The prompt is concatenated with hardcoded strings or inserted into JSON templates.\n
  • Capability inventory: The skill can perform network requests (urllib), write files to user-specified paths, and execute shell commands (via start_comfyui.sh).\n
  • Sanitization: The skill performs partial sanitization by using json.dumps(prompt)[1:-1] when interpolating into JSON-based ComfyUI workflows.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 27, 2026, 06:33 AM