comfyui
Fail
Audited by Snyk on Nov 26, 2026
Risk Level: HIGH
Full Analysis
HIGH W007: Insecure credential handling detected in skill instructions.
- Insecure credential handling detected (low risk: 0.10). The main path keeps the Comfy Cloud key out of the model's context by reading it from the
COMFY_CLOUD_API_KEYenvironment variable, but an optional written branch offers--set-civitai-api-token/--set-hf-api-token, which take the token value directly as a command argument.
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (low risk: 0.10). The required runtime path reads user-supplied workflow JSON from community sources (civitai, Reddit, Discord, comfyworkflows) that the agent is told to load and re-export, and
extract_schema.pythen surfaces their prompt text and titles, but the agent only reaches that content after the user selects a specific file, so it is low rather than medium.
MEDIUM W013: Attempt to modify system services in skill instructions.
- Attempt to modify system services in skill instructions detected (low risk: 0.10). The skill exposes operational changes (comfy-cli install, launch/stop, node install/uninstall, model download/remove, snapshot restore), but no explicit irreversible operational loss is established, so it stops at low.
Issues (3)
W007
HIGHInsecure credential handling detected in skill instructions.
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W013
MEDIUMAttempt to modify system services in skill instructions.
Audit Metadata