T08 · Insecure Dependencies
- Location
SKILL.md:22- Finding
Mutable Dependencies Are Downloaded and Executed Through npx
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:22-26; duplicated inreferences/install-checklist.md:8-14andPUBLISHING.md:33-39
Vulnerability Type: Unsafe execution of unpinned third-party dependencies
Risk Level: Highbash npx clawhub@latest install video-prompt-generator npx clawhub@latest install nano-banana-pro npx clawhub@latest install sora-2-generateTechnical Analysis
The documented installation process invokes
clawhub@latestthroughnpxand installs three prerequisite Skills without pinned versions or integrity constraints. Both the package providing the installer and the installed components are therefore mutable.Because
npxcan download and execute package code, the effective code running on the host may differ from the code available when this Skill was audited. No checksum, lockfile, exact version, trusted revision, or independent verification requirement is specified. This creates a supply-chain trust boundary through which a compromised package release, publisher account, registry, or prerequisite Skill can introduce arbitrary executable behavior.The audit did not establish that the current dependencies are malicious. The vulnerability is the unsafe mutable dependency and execution model.
Attack Path
- An attacker compromises the
clawhubpackage, its publisher account, a registry distribution channel, or one of the named prerequisite Skills. - The attacker publishes a malicious release under the mutable version selected by
@latestor replaces a prerequisite Skill revision. - A user or Agent follows the documented installation commands.
npxdownloads and runs the mutable installer package.- Malicious package lifecycle logic, installer behavior, or installed Skill code executes with the permissions of the invoking user or Agent.
- The payload can access resources available to that account, including project files, environment variables, configured ...[truncated 493 chars]
- An attacker compromises the
- Remediation
View remediation
Remediation Suggestions
- Replace
clawhub@latestwith an exact, reviewed version. - Pin each prerequisite Skill to an immutable version or commit digest.
- Verify package integrity with trusted checksums, signatures, or lockfile integrity metadata before execution.
- Independently audit prerequisite Skills and their transitive dependencies.
- Use a trusted internal registry or allowlist where feasible.
- Disable package lifecycle scripts unless they are explicitly required and reviewed.
- Run installation in a sandbox with minimal filesystem access, restricted environment variables, and constrained network permissions.
- Document a controlled dependency-update process requiring review before changing pinned versions.
- Replace
