T08 · Insecure Dependencies
- Location
SKILL.md:26- Finding
Unpinned Third-Party Package Execution and Unreviewed Skill Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 26–28
Vulnerability Type:T08: Insecure Dependencies
Risk Level: MediumVulnerable Code:
bash npx clawhub@latest install feifei-learning-commanderTechnical Analysis
The installation instruction invokes
npxwith the mutableclawhub@latestpackage reference. If the package is not already available locally,npxmay retrieve it from the configured npm registry and execute it with the invoking user's permissions.The
latesttag is mutable and does not bind execution to a reviewed package version or integrity hash. The command also directs that package to installfeifei-learning-commander, a separate skill whose contents are not included in this artifact and therefore were outside the audit scope. Consequently, following the documented command crosses two unverified supply-chain boundaries: the remotely resolved CLI package and the separately installed skill.This is classified as insecure dependency usage rather than confirmed malicious code. The audited artifact itself contains no executable scripts or embedded payloads.
Attack Path
- An attacker compromises the npm account, registry distribution path, or release process associated with
clawhub, or causes the mutablelatesttag to resolve to an unsafe release. - A user follows the installation command in
SKILL.md. npxdownloads and executes the remotely resolved package.- The package runs with the user's local privileges and processes the request to install the unaudited
feifei-learning-commanderskill. - Compromised CLI code or unsafe downstream skill content can perform actions permitted by the user's account.
Impact Assessment
Successful exploitation could execute arbitrary code with the privileges of the user running
npx. Depending on those privileges and the behavior of the fetched package, the affected scope could include files and crede ...[truncated 343 chars]- An attacker compromises the npm account, registry distribution path, or release process associated with
- Remediation
View remediation
Remediation Suggestions
- Replace
clawhub@latestwith an exact, reviewed package version. - Verify the package using a trusted lockfile, registry integrity metadata, checksum, or cryptographic signature.
- Avoid directly executing newly downloaded packages where possible. Install and inspect the pinned CLI first, then invoke the verified local binary.
- Pin
feifei-learning-commanderto a specific reviewed version rather than relying on implicit resolution. - Include or vendor the downstream skill in the review scope so its instructions, scripts, dependencies, and requested permissions can be audited before installation.
- Document which files, network resources, tools, and permissions the installer requires.
- Run installation under a least-privileged account or isolated environment and review the resulting file changes before enabling the skill.
- Replace
