T08 · Insecure Dependencies
- Location
SKILL.md:57- Finding
Unpinned Third-Party Dependency Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 57–64
Vulnerability Type: Unpinned remote dependency installation
Risk Level: MediumVulnerable Code
markdown ```bash # Claude Code, Cursor, Codex + 70 more agents npx skills add cellcog/skills --skill cellcog # OpenClaw openclaw skills install @cellcog/cellcogtext ### Technical Analysis The skill directs users to install third-party CellCog components without specifying an immutable version, commit hash, checksum, or cryptographic signature. Consequently, the content installed by these commands may differ from the content available when this skill was audited. The `npx`-based installation also depends on remotely resolved package-registry content and its transitive dependency chain. A compromised publisher account, upstream repository, registry package, or later malicious release could therefore alter the effective installed payload. This risk is particularly relevant because the installed integration is intended to support Co-work functionality with local filesystem access and terminal execution. No evidence establishes that the current upstream component is malicious; the vulnerability is the mutable and insufficiently verified supply-chain trust model. ### Attack Path 1. An attacker compromises the upstream package, repository, publisher account, or a relevant transitive dependency. 2. The attacker publishes a modified release under the same unpinned installation reference. 3. A user follows the prerequisite installation command in `SKILL.md`. 4. The package manager resolves and installs the attacker-controlled version because no immutable version or integrity value is required. 5. When the integration is invoked with Co-work enabled, the malicious component can request operations through its available local filesystem and terminal capabilities. 6. If the user approves those operations or has configured automatic approval, the malicious payload can act within the grant ...[truncated 845 chars]- Remediation
View remediation
Remediation Suggestions
- Pin every installation reference to a reviewed, immutable release version or commit hash.
- Provide expected cryptographic checksums or signatures and require verification before installation.
- Publish the exact trusted repository, registry namespace, maintainer identity, and supported dependency versions.
- Use lockfiles or equivalent dependency constraints to pin transitive dependencies.
- Avoid installation commands that implicitly execute mutable registry content where a verified installation mechanism is available.
- Document a process for reviewing dependency updates before changing pinned references.
- Keep Co-work access limited to the smallest necessary directory.
- Retain interactive approval for writes and command execution; do not recommend automatic approval by default.
- Run the integration with a low-privilege operating-system account or within a sandbox where feasible.
- Record and display the resolved package version and integrity information so users can confirm what was installed.
