T08 · Insecure Dependencies
- Location
README.md:26- Finding
Unpinned Placeholder Repository Installed into a Trusted Project Skill Directory
- Content
View full analysis
Vulnerability Details
File Location:
README.md, lines 26-31
Vulnerability Type: Unverified and mutable supply-chain source
Risk Level: MediumVulnerable Code
bash # 安装到当前项目(在 git 仓库根目录执行) mkdir -p .claude/skills git clone https://github.com/yourusername/kanxiang .claude/skills/kanxiang # 或安装到全局(所有项目都能用) git clone https://github.com/yourusername/kanxiang ~/.claude/skills/kanxiangTechnical Analysis
The installation instructions clone a repository from the placeholder account
yourusernamedirectly into directories trusted by Claude Code. This source conflicts with the repository identity attributed in the same document's footer, which links totimerzz/kanxiang.The command does not pin an immutable commit, verified tag, checksum, or signed release. Consequently, the content installed by users can differ from the reviewed artifact and can change whenever the remote repository is updated. Installing directly into
.claude/skills/causes Claude Code to treat the downloaded instructions as a trusted Skill.Although the audited artifact contains no malicious executable payload, this installation process creates a supply-chain boundary through which modified Skill instructions or scripts could be introduced after review.
Attack Path
- A user follows the documented installation command.
- The placeholder repository resolves to an unintended or attacker-controlled repository, or its content changes after the audit.
- The remote content is cloned into
.claude/skills/kanxiangor the global~/.claude/skills/kanxiangdirectory. - Claude Code discovers and loads the downloaded Skill.
- Malicious instructions or scripts supplied by the remote repository execute through the Agent's available tools and permissions.
- If globally installed, the altered Skill can affect later sessions across multiple projects.
Impact Assessment
The immediate scope is the user's Claude C ...[truncated 641 chars]
- Remediation
View remediation
Remediation Suggestions
- Replace
https://github.com/yourusername/kanxiangwith the verified canonical repository URL. - Ensure the installation URL matches the repository identity used elsewhere in the documentation.
- Pin installation to a reviewed immutable commit hash or cryptographically signed release.
- Publish and verify a checksum for release archives before installation.
- Recommend project-local installation by default; document the expanded trust scope of global installation.
- Advise users to inspect
SKILL.mdand any executable files before enabling the Skill. - Protect release tags and require reviewed, signed changes for published Skill artifacts.
- Replace
