T08 · Insecure Dependencies
- Location
SKILL.md:14- Finding
Unpinned Package Execution and Skill Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 14–18
Vulnerability Type: Supply-chain exposure through mutable package resolution
Risk Level: MediumVulnerable Code:
bash npx clawhub@latest install lobsterTechnical Analysis
The installation instructions invoke
clawhubthroughnpxusing the mutablelatestdistribution tag. The command does not pin an audited package version or verify the downloaded artifact's integrity or signature.Because
npxcan download and execute the package selected by the registry at invocation time, the effective installer may change after this Skill has been reviewed. A compromised publisher account, package registry, release process, or newly published malicious version could therefore turn the documented installation command into an arbitrary-code execution vector.Attack Path
- An attacker compromises the
clawhubpublishing account, registry entry, or release pipeline, or otherwise causes a malicious release to become the package'slatestversion. - The attacker publishes an altered package containing malicious installation or runtime behavior.
- A user follows the documented command:
bash npx clawhub@latest install lobster npxresolves the mutablelatesttag and downloads the attacker-controlled release.- The downloaded package executes with the privileges and environment of the invoking user.
Impact Assessment
Successful exploitation could permit arbitrary code execution under the invoking user's account. Depending on that account's privileges and environment, the malicious package could access readable files and credentials, alter local files, install modified Skill content, execute network requests, or affect other resources available to the user. The reviewed file does not itself establish privilege escalation, persistence, or an active package compromise; the risk arises from executing a mutab ...[truncated 26 chars]
- An attacker compromises the
- Remediation
View remediation
Remediation Suggestions
- Replace
@latestwith an exact, reviewed version, for example:bash npx clawhub@X.Y.Z install lobster - Verify the selected release and publisher before documenting or executing it.
- Where supported, enforce package integrity using a trusted lockfile, registry integrity hash, checksum, or cryptographic signature.
- Use a trusted registry explicitly and protect against dependency confusion or registry substitution.
- Review upgrades before changing the pinned version rather than automatically tracking
latest. - Run the installer with the minimum necessary privileges and avoid executing it as an administrator or root user.
- Replace
