T08 · Insecure Dependencies
- Location
SKILL.md:4- Finding
Unpinned Dependencies and Untrusted Custom Node Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:4,SKILL.md:12-15,SKILL.md:67-75, andSKILL.md:88-90
Vulnerability Type: Uncontrolled third-party dependency installation
Risk Level: HighComplete Code Snippets:
yaml metadata: {"clawdbot":{"emoji":"🎨","requires":{"bins":["comfy"]},"install":[{"id":"uv","kind":"uv","package":"comfy-cli","bins":["comfy"],"label":"Install comfy-cli (uv)"}]}}bash comfy install comfy launch comfy node install ComfyUI-Impact-Pack comfy model download --url "https://civitai.com/api/download/models/12345"bash comfy node install <name> comfy node install <name> --fast-deps comfy node reinstall <name> comfy node uninstall <name> comfy node update all comfy node disable <name> comfy node enable <name> comfy node fix <name>bash comfy node bisect comfy node deps-in-workflow workflow.json comfy node install-deps --workflow workflow.jsonTechnical Analysis
The skill declares
comfy-cliwithout a fixed version, package hash, signature, or immutable source reference. It also directs users or agents to install and update custom nodes from a registry and to install dependencies inferred from externally supplied workflow files.ComfyUI custom nodes and Python dependencies can contain executable Python code. Consequently, installing an unreviewed node, resolving an unpinned package, updating all nodes, or processing a malicious workflow dependency declaration can introduce code that executes with the privileges of the user running
comfy.The document does not require registry allowlisting, version pinning, commit verification, integrity validation, package review, or sandboxing. This creates a supply-chain execution path in which the effective code may change after the skill itself has been audited.
Attack Path
- An attacker publishes or compromises a package, cu ...[truncated 1338 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin
comfy-clito a reviewed version rather than installing the latest available release. - Require cryptographic hashes, signed releases, or immutable commit identifiers for packages and custom nodes.
- Restrict installation to an explicit allowlist of trusted registries, publishers, repositories, and versions.
- Do not automatically install dependencies extracted from untrusted workflow files. Display and review the complete dependency set before installation.
- Replace unrestricted
comfy node update allguidance with controlled, individually reviewed updates. - Inspect custom-node source code and dependency manifests before installation.
- Perform installation and execution in a dedicated, unprivileged account or isolated container with minimal filesystem and network access.
- Maintain lock files or reviewed snapshots and verify their integrity before restoration.
- Add an explicit warning that custom nodes are executable code rather than passive assets.
- Pin
