T08 · Insecure Dependencies
- Location
SKILL.md:132- Finding
Unpinned External Skill Installation Creates a Supply-Chain Risk
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 132
Vulnerability Type:T08: Insecure Dependencies
Risk Level: MediumComplete Code Snippet:
text clawhub install cn-business-compliance-check clawhub install cn-ecommerce-complianceTechnical Analysis
The documentation recommends installing two third-party Skills through mutable package names. It does not specify immutable versions, content hashes, verified publisher identities, or a trusted registry endpoint. Therefore, the packages ultimately retrieved may differ from those originally intended or reviewed.
This creates a supply-chain exposure if a package publisher account, registry entry, or name-resolution process is compromised. An attacker could publish altered Skill content under one of the referenced names. This project does not automatically execute those commands, and there is no evidence that either referenced package is currently malicious; exploitation requires a user or Agent to follow the installation recommendation.
Attack Path
- An attacker compromises a referenced publisher account or otherwise gains control over package resolution for one of the named Skills.
- The attacker publishes a modified package containing malicious instructions or executable content.
- A user or Agent follows the installation command in
SKILL.md. clawhubresolves and downloads the attacker-controlled package because no immutable version or digest is required.- The package is activated or invoked in the Agent environment.
- The malicious package operates with whatever tools, files, network access, and other privileges that environment grants to installed Skills.
Impact Assessment
The maximum impact depends on the permissions granted to installed Skills and the behavior of the external package. A compromised dependency could alter Agent behavior, access files exposed to the Agent, invoke available tools, or transmit accessible information. The audited pro ...[truncated 134 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the installation recommendations if the external Skills are not necessary for this Skill's operation.
- If they are required, pin each dependency to an immutable version and preferably a verified content digest.
- Document the expected registry, trusted publisher identity, and package provenance.
- Verify package signatures or hashes before installation.
- Review the complete contents of each downloaded Skill before activation.
- Run third-party Skills with least privilege, restricting filesystem, network, credential, and tool access.
- Establish a dependency-update process that requires security review before changing pinned versions.
