T08 · Insecure Dependencies
- Location
SKILL.md:75- Finding
Unpinned Third-Party Skill Installation Creates a Supply-Chain Risk
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 75
Vulnerability Type:T08: Insecure Dependencies
Risk Level: MediumComplete Code Snippet:
markdown - Lead scoring: `clawhub install afrexai-lead-scorer`Technical Analysis
The Skill recommends installing the third-party
afrexai-lead-scorerpackage by a mutable package name. The command does not specify an immutable version, commit digest, checksum, trusted provenance, or review requirement.Consequently, the installed content may differ from the content originally intended or reviewed. If the package is compromised, transferred to a malicious maintainer, or updated with unsafe instructions or executable components, users or agents following this recommendation could install attacker-controlled content. The external package was not included in the audited project, so its behavior cannot be verified by this audit.
Attack Path
- An agent or user follows the related-tool recommendation in
SKILL.md. - ClawHub resolves the mutable package identifier
afrexai-lead-scorer. - A compromised or malicious package version is downloaded and installed.
- The installed Skill supplies attacker-controlled instructions or executable behavior.
- When invoked, that content operates using the tools and permissions available to the consuming agent or ClawHub environment.
This path depends on the third-party package or its distribution channel being compromised; the audited file itself does not demonstrate malicious package behavior.
Impact Assessment
The potential impact is bounded by the permissions granted to the installed Skill and its host agent. A malicious dependency could influence agent behavior, access data exposed to the agent, invoke available tools, or execute operations permitted by the runtime. No evidence in the audited project establishes privilege escalation, persistence, credential theft, data exfiltration, or malici ...[truncated 37 chars]
- An agent or user follows the related-tool recommendation in
- Remediation
View remediation
Remediation Suggestions
- Remove the installation recommendation if the external Skill is not essential.
- Pin the dependency to an immutable, previously reviewed version or content digest rather than a mutable package name.
- Document the authoritative publisher and trusted distribution source.
- Verify package integrity with a cryptographic checksum or signature before installation.
- Perform a separate security review of the exact pinned package contents, including scripts, instructions, dependencies, and requested permissions.
- Require explicit user approval before installation or activation.
- Run the installed Skill with least privilege in a sandbox that restricts filesystem, network, credential, and tool access.
- Monitor pinned dependency versions for compromise and repeat the security review before upgrading.
