T08 · Insecure Dependencies
- Location
SKILL.md:15- Finding
Unpinned Package Execution Through npx
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 15 and 23
Vulnerability Type: Unpinned third-party package execution
Risk Level: MediumVulnerable Code
Line 15:
yaml install: "npx clawhub install plant-fiber-cordage-making-basics"Line 23:
shell npx clawhub install plant-fiber-cordage-making-basicsTechnical Analysis
The installation instructions invoke
clawhubthroughnpxwithout specifying an exact package version or verifying package integrity. If the package is not already available locally,npxcan resolve it from the configured package registry and execute the downloaded package.Because neither a version nor an integrity hash is provided, the effective executable may change after this skill has been reviewed. The project also contains no lockfile or vendored installer that would establish the precise package artifact expected to run. This creates a supply-chain trust boundary in which compromise of the package, its publisher account, its dependencies, or the configured registry could result in execution of attacker-controlled code.
Attack Path
- An attacker compromises the package publisher, registry distribution channel, or a transitive dependency used by the package resolved as
clawhub. - The attacker publishes a malicious package version or modifies the package's installation or runtime behavior.
- A user follows either documented command and runs
npx clawhub install plant-fiber-cordage-making-basics. npxresolves and downloads the unpinned package from the configured registry.- The downloaded package binary or applicable lifecycle behavior executes under the invoking user's account.
- The malicious code can access resources available to that account and alter the local environment before or during skill installation.
Exploitation depends on compromise or malicious control of the external package supply chain; the reviewed file ...[truncated 811 chars]
- An attacker compromises the package publisher, registry distribution channel, or a transitive dependency used by the package resolved as
- Remediation
View remediation
Remediation Suggestions
-
Pin
clawhubto an audited exact version rather than resolving the latest available release, for example:shell npx --yes clawhub@X.Y.Z install plant-fiber-cordage-making-basics -
Verify the selected package version and its transitive dependencies before publishing the installation instructions.
-
Use a lockfile and registry integrity metadata where the installation workflow permits them.
-
Document the expected package registry and reject installation from untrusted or unexpected registry configurations.
-
Prefer a locally installed, version-locked CLI over downloading and immediately executing a package at installation time.
-
Run installation with the least-privileged user possible and never recommend elevated execution.
-
Periodically review and deliberately update the pinned version rather than accepting package changes automatically.
-
