T08 · Insecure Dependencies
- Location
SKILL.md:19- Finding
Unpinned External Skill Installation Creates Supply-Chain Risk
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 19-29; the installation command is repeated in the Quick Start section around line 51
Vulnerability Type: Unpinned and unaudited third-party skill dependencies
Risk Level: MediumVulnerable Code
markdown ## Install ```bash clawhub install ai-agent-self-improving-stackThat installs all 5. Or pick individually:
bash clawhub install self-improving proactive learning memory hermes-learning-looptext ### Technical Analysis The documented workflow installs marketplace skills using mutable package names without exact versions, integrity hashes, verified publisher identities, or immutable source references. The contents of the five individual dependencies are not included in this repository, so their behavior cannot be validated by this audit. Resolving dependencies only by name means a later release, compromised publisher account, namespace transfer, or dependency-confusion event could cause users to receive code or agent instructions that differ from those originally reviewed. The local `test.py` file only validates package metadata and does not verify dependency identities or integrity. ### Attack Path 1. An attacker compromises a referenced skill publisher, acquires an abandoned package name, or otherwise causes a malicious release to be published under a referenced name. 2. A user or agent follows the installation instructions in `SKILL.md`. 3. ClawHub resolves the mutable package name to the attacker-controlled release. 4. The malicious dependency is installed without a hash or trusted-version comparison. 5. When loaded or invoked, that dependency can execute its instructions or code using the permissions available to the hosting agent. ### Impact Assessment The exact impact depends on the permissions and tools granted to the installed dependency. A malicious dependency could potentially read or modify files accessib ...[truncated 301 chars]- Remediation
View remediation
Remediation Suggestions
- Pin every referenced skill to an exact, immutable version.
- Publish and verify cryptographic hashes or signed package manifests before installation.
- Specify the expected publisher identity and canonical repository for each dependency.
- Audit and document the contents and permissions of all five dependencies.
- Require explicit user confirmation before installing or updating third-party skills.
- Add automated checks that reject unresolved, unsigned, or unexpectedly changed dependencies.
- Use a trusted lockfile or equivalent mechanism so repeated installations resolve to identical artifacts.
