T08 · Insecure Dependencies
- Location
SKILL.md:20- Finding
Unpinned Third-Party Skill Installation Creates a Supply-Chain Risk
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 20-29
Vulnerability Type: Unpinned third-party package and skill installation
Risk Level: MediumVulnerable Code
bash clawhub uninstall rainman-translate-book clawhub install translate-bookOr via npx:
bash npx skills add deusyu/translate-book -a claude-code -gTechnical Analysis
The migration instructions install externally maintained, mutable content without pinning a package version, repository commit, or verified artifact checksum.
The
npx skillscommand does not specify an exact version of theskillspackage, so the code resolved and executed bynpxmay change after this skill has been reviewed. The targetdeusyu/translate-bookis also not pinned to a reviewed commit. In addition, the-goption requests global installation, increasing the scope of the installed content.The ClawHub installation path similarly identifies the replacement skill only by name. The reviewed project contains no lockfile, cryptographic checksum, signature-verification procedure, vendored source, or immutable reference with which to validate the replacement package.
This is a supply-chain weakness rather than evidence that the referenced packages are currently malicious. Exploitation depends on compromise or malicious modification of a registry package, distribution account, repository, dependency, or future upstream release.
Attack Path
- An attacker compromises or gains publishing control over the
skillspackage, thetranslate-bookClawHub entry, thedeusyu/translate-bookrepository, or a relevant upstream dependency. - The attacker publishes a modified release or changes content resolved by the unpinned installation commands.
- A user follows the migration instructions in
SKILL.md. npxresolves and executes the mutable package, or ClawHub retrieves the mutable replacement skill.- The unreviewed replac ...[truncated 894 chars]
- An attacker compromises or gains publishing control over the
- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsnpm package to an exact reviewed version instead of relying on the latest registry resolution:bash npx skills@<exact-reviewed-version> add deusyu/translate-book@<reviewed-commit> -a claude-code - Pin the replacement skill to an immutable, reviewed commit hash or signed release rather than a mutable repository branch or package name.
- Publish SHA-256 checksums or signed provenance for the expected installation artifacts and require verification before installation.
- Remove
-gunless global installation is operationally necessary. Prefer a project-scoped installation with minimal permissions. - Review the complete replacement skill and its dependencies before recommending migration.
- Document the trusted registry, repository owner, expected package version, commit hash, and verification procedure.
- Where supported, use lockfiles, package-manager integrity metadata, signed releases, and reproducible artifacts to prevent silent upstream changes.
- Execute installation in a restricted environment without unnecessary credentials or filesystem access.
- Pin the
