T08 · Insecure Dependencies
- Location
SKILL.md:53- Finding
Unpinned External DeerFlow Source and Container Supply Chain
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:53-69
Vulnerability Type: Unpinned third-party source and container deployment
Risk Level: MediumVulnerable Code
bash git clone https://github.com/bytedance/deer-flow.git cd deer-flow cp .env.example .envThe cloned repository is subsequently used to start services:
bash # No nginx, no frontend — just gateway + langgraph docker compose up -d deer-flow-gateway deer-flow-langgraphTechnical Analysis
The deployment instructions clone the mutable default branch of an external repository and then run services defined by that repository. No reviewed release tag, commit hash, signed artifact, checksum, or immutable container digest is specified.
Because the effective source and container definitions can change after this skill has been reviewed, following these instructions at different times may execute materially different third-party components. The referenced repository is the declared official DeerFlow project, and the documentation warns users to review it, so this is an insecure supply-chain configuration rather than evidence that the skill itself is malicious.
Attack Path
- An attacker compromises the upstream repository, a maintainer account, a referenced dependency, or a mutable container tag.
- The attacker modifies the default branch, Compose configuration, build context, or referenced image.
- A user follows the documented
git cloneanddocker compose upinstructions without verifying a known-good revision. - Docker builds or retrieves the modified components and starts them.
- The malicious component gains access to data and resources exposed to its container. Host impact depends on container privileges, mounted paths, network access, secrets, and the security of the Docker environment.
Impact Assessment
A compromised component could access DeerFlow model credentials, research prompts, generate ...[truncated 392 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin DeerFlow to a reviewed release and immutable commit hash instead of cloning the mutable default branch.
- Pin all container images by cryptographic digest, for example
image@sha256:.... - Verify release signatures, provenance attestations, or published checksums before deployment.
- Document the exact reviewed DeerFlow version compatible with this skill.
- Review the Compose file for privileged mode, host networking, sensitive volume mounts, excessive Linux capabilities, and Docker socket access.
- Run containers as non-root users with read-only filesystems, dropped capabilities, restricted egress, and narrowly scoped secrets where supported.
- Add a controlled upgrade procedure requiring review before changing the pinned revision or image digest.
