T08 · Insecure Dependencies
Error
- Location
- SKILL.md:136
- Finding
- Executable artifacts are routed through insufficiently trusted third-party proxies<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:136-139`, `SKILL.md:184-186`, `SKILL.md:361`; `scripts/validate.sh:120-123`, `scripts/validate.sh:158-160`; `references/config-templates.md:72`, `references/config-templates.md:238-240` **Vulnerability Type**: Third-party software supply-chain exposure **Risk Level**: High ### Vulnerable Code `SKILL.md:136-139`: ```markdown | Provider | URL | |---|---| | 1ms.run | `https://docker.1ms.run` | | xuanyuan.me | `https://docker.xuanyuan.me` | | DaoCloud | `https://docker.m.daocloud.io` | | linkedbus | `https://docker.linkedbus.com` | ``` `SKILL.md:184-186`: ```markdown | Provider | Prefix URL | |---|---| | ghfast.top | `https://ghfast.top/` | | gh-proxy.com | `https://gh-proxy.com/` | | ghp.ci | `https://ghp.ci/` | ``` `SKILL.md:361`: ```markdown **GitHub**: Prepend accelerator prefix: `git clone <PREFIX>https://github.com/<owner>/<repo>.git` ``` `references/config-templates.md:72`: ```bash MIRRORS='["https://docker.1ms.run","https://docker.xuanyuan.me"]' ``` `references/config-templates.md:238-240`: ```bash git clone <ACCEL_PREFIX>https://github.com/<owner>/<repo>.git # Example: git clone https://ghfast.top/https://github.com/torvalds/linux.git ``` ### Technical Analysis The Skill directs executable container images and source-code downloads through third-party intermediaries. Some listed services are not identified as official registries, major cloud providers, universities, or independently audited organizations. This conflicts with the Skill's own candidate-selection rules, which state that unknown or unverifiable personal servers must not be used. The validation script only performs HTTP reachability checks. A successful status code proves availability but does not establish operator identity, artifact authenticity, or equivalence with the upstream content. An intermediary can observe requested repository names and can potentially return modified source archives, Git objects, manifests, ...[truncated 2877 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Remove non-institutional and insufficiently verifiable Docker and GitHub proxies from the baseline list. 2. Prefer official registries, official provider mirrors, enterprise Nexus/Artifactory instances, universities, and major cloud vendors with documented ownership. 3. Require explicit, informed user approval before routing executable artifacts through any third party. 4. Do not use GitHub accelerators for private repositories. Reject URLs containing user information, tokens, query-string credentials, or other secrets. 5. Validate the final artifact rather than only checking endpoint reachability: - Pin container images by trusted digest. - Enable and enforce supported image-signing mechanisms. - Compare Git commit IDs and signed tags against values obtained independently from the official upstream. - Verify package signatures and checksums through a separate trusted channel. 6. Use a strict hostname allowlist rather than accepting arbitrary web-search results. 7. Record why each baseline provider is trusted, including ownership and official documentation. 8. Apply mirror settings only for the affected operation where possible. Avoid persistent system-wide Docker configuration unless the user explicitly requests it. 9. Display the old and new trust boundaries before applying configuration and provide an immediate rollback command. ]]>
