T08 · Insecure Dependencies
- Location
- SKILL.md:34
- Finding
- Unpinned Third-Party Installation Creates Supply-Chain Exposure<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:34-38`, `README.md:46-51`, `README_EN.md:20-25` **Vulnerability Type**: Unpinned external package and repository installation **Risk Level**: Medium ### Vulnerable Code ```bash # SKILL.md # If installed using ClawHub npx clawhub install auto-backup ``` ```bash # README.md npx clawhub install openclaw-auto-backup npx clawhub install openclaw-model-switch npx clawhub install openclaw-memory-enhancer ``` ```bash # README_EN.md cd ~/.openclaw/workspace/skills git clone https://github.com/williamwg2025/openclaw-auto-backup.git auto-backup chmod +x auto-backup/scripts/*.py ``` ### Technical Analysis The installation instructions resolve mutable content from a package registry or the tip of a remote Git repository. They do not specify an exact package version, Git commit, cryptographic checksum, or signature. The additional packages recommended in `README.md` are not necessary for the backup functionality and are outside the scope of this audited artifact. Installing them unnecessarily expands the dependency and execution trust boundary. The project scripts themselves contain no remote retrieval or execution logic. This finding is limited to the documented installation procedure and should not be interpreted as evidence that the current remote sources are malicious. ### Attack Path 1. An attacker compromises a referenced registry account, package release process, repository, or maintainer account. 2. The attacker publishes or commits a modified package containing malicious code. 3. A user follows the unpinned installation instructions. 4. The package manager or Git retrieves the current mutable version rather than the version represented by this audit. 5. The user grants execute permission to the scripts and subsequently invokes the modified code. ### Impact Assessment Successful exploitation would execute code with the privileges of the user installing or invoking the Skill. That account is ex ...[truncated 340 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions - Pin every ClawHub installation to an exact, reviewed version. - Pin Git installations to a specific commit hash or signed release tag. - Publish and verify SHA-256 checksums or signed release attestations. - Document how users can verify the downloaded artifact before making scripts executable. - Remove recommendations to install unrelated executable packages from the core backup installation instructions. - Require a separate security review whenever the pinned package version or commit changes. ]]>
