T08 · Insecure Dependencies
- Location
SKILL.md:69- Finding
Persistent global GitHub redirection through a third-party mirror
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:69-70
Additional Location:references/comfyui-install-troubleshooting.md:8
Vulnerability Type: Unsafe dependency source and persistent global Git configuration modification
Risk Level: MediumVulnerable snippet from
SKILL.md:sh git config --global url."https://ghfast.top/https://github.com/".insteadOf "https://github.com/" git pull --ff-only origin masterEquivalent instruction from
references/comfyui-install-troubleshooting.md:sh git config --global url."https://ghfast.top/https://github.com/".insteadOf "https://github.com/"Technical Analysis
The installation guidance persistently configures Git to replace every URL beginning with
https://github.com/with a URL routed throughghfast.top. Because the setting is applied with--global, it is not limited to the ComfyUI repository or the current installation process.The subsequent
git pullretrieves executable ComfyUI source through this intermediary. The user expects code from GitHub, but transport and content delivery are delegated to an unrelated mirror without an independently verified commit, signature, or digest. If the mirror is malicious or compromised, it can attempt to substitute repository content that will later execute under the user's account when ComfyUI starts.This is a supply-chain vulnerability rather than evidence that the Skill author is deliberately distributing malware. The reviewed files do not establish that the mirror currently serves malicious content.
Attack Path
- The user follows the Skill's deployment instructions.
- Git receives a persistent global
insteadOfrule redirecting GitHub URLs throughghfast.top. - The user runs the documented
git pull, or later performs another Git operation against a GitHub URL. - A malicious or compromised mirror supplies altered repository objects or redirects retrieval to attac ...[truncated 890 chars]
- Remediation
View remediation
Remediation Suggestions
- Do not install a global
insteadOfrule for a third-party mirror. Prefer direct access to the canonical GitHub repository. - If network routing is necessary, use an explicitly trusted local or enterprise proxy that preserves TLS validation rather than rewriting the repository source.
- If the mirror must be supported, scope its use to a single command or repository instead of using
git config --global. - Pin the installation to a reviewed commit or signed release rather than pulling a mutable branch such as
master. - Verify the selected commit, release signature, or cryptographic digest using metadata obtained independently from the mirror.
- Remove any temporary rewrite immediately after use:
sh git config --global --unset-all url."https://ghfast.top/https://github.com/".insteadOf - Update both
SKILL.mdandreferences/comfyui-install-troubleshooting.mdso the unsafe instruction is not reintroduced through the secondary documentation.
- Do not install a global
