T08 · Insecure Dependencies
- Location
SKILL.md:15- Finding
Unpinned Remote Package Execution Through npx
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 15–21
Vulnerability Type: Unpinned third-party package execution
Risk Level: MediumVulnerable Code
markdown install: "npx clawhub install handbuilt-pottery-pit-firing-basics" --- # Handbuilt Pottery & Pit Firing Basics Create functional, zero-waste pottery using only local clay, handbuilding techniques, and traditional pit firing — no wheels or electric kilns required. This protocol turns raw earth into waterproof bowls, storage jars, cups, and tools that survive real-world use in unstable times. `npx clawhub install handbuilt-pottery-pit-firing-basics`Technical Analysis
The documented installation command invokes the
clawhubpackage throughnpxwithout specifying an exact package version, integrity hash, lockfile, or verified source. If the package is not already available locally,npxcan resolve it from the configured npm registry and execute the resolved package entry point.Consequently, the code that runs is not immutable relative to the reviewed skill. A later package release, registry compromise, maintainer-account compromise, dependency compromise, or unsafe registry configuration could cause the same documented command to execute different code. The reviewed project contains no local installer implementation through which the executed behavior can be independently verified.
This finding does not establish that the current
clawhubpackage is malicious. The risk arises because the documentation recommends executing mutable remote supply-chain content without version or integrity controls.Attack Path
- An attacker compromises the package publisher, registry account, package dependency chain, or registry resolution path for
clawhub. - The attacker publishes or serves a modified package version containing malicious executable behavior.
- A user follows the installation command in
SKILL.md.
...[truncated 937 chars]
- An attacker compromises the package publisher, registry account, package dependency chain, or registry resolution path for
- Remediation
View remediation
Remediation Suggestions
- Pin
clawhubto an exact, reviewed version rather than relying on mutable registry resolution:bash npx --yes clawhub@<audited-exact-version> install handbuilt-pottery-pit-firing-basics - Document the expected official registry, publisher identity, source repository, and release checksum or signature.
- Verify package provenance and integrity before execution, preferably using signed releases or a trusted internal package mirror.
- Use a lockfile and integrity metadata where installation is managed through a local project.
- Review the package entry point, lifecycle scripts, and transitive dependencies for the pinned release.
- Run installation with a non-privileged account in a restricted environment, without unnecessary secrets in environment variables.
- Avoid invoking
npxwith administrator privileges and consider disabling or auditing lifecycle scripts where compatible with the installer.
- Pin
