T08 · Insecure Dependencies
- Location
README.md:35- Finding
Unpinned Packages Executed Through npx
- Content
View full analysis
Vulnerability Details
File Location:
README.md, lines 35–41
Vulnerability Type: Unpinned third-party package execution
Risk Level: MediumVulnerable Code Snippet:
bash npx skills add cofounder-im/openclaw-cofounder-skillbash npx clawhub install cofounder-imTechnical Analysis
The installation instructions invoke the
skillsandclawhubnpm packages throughnpxwithout specifying reviewed package versions or integrity hashes. If these packages are not already available locally,npxmay retrieve their current releases from the configured npm registry and immediately execute their CLI code.Consequently, the effective executable payload can change after this Skill has been reviewed. The repository argument supplied to
skills addidentifies the Skill source, but it does not pin or verify the executableskillspackage itself. The same issue applies to theclawhubcommand.This is a supply-chain weakness rather than evidence that the currently published packages are malicious. Exploitation would require compromise of a relevant package, publisher account, registry, dependency, or package-resolution path.
Attack Path
- An attacker compromises a relevant npm publisher account, package release, transitive dependency, registry path, or similarly applicable package-resolution source.
- The attacker publishes a malicious version that remains compatible with the unversioned command.
- A user follows the documented installation instructions.
npxresolves and downloads the mutable package version from the configured registry.- The downloaded package's CLI or lifecycle code executes with the privileges of the user running the command.
- The malicious code can access resources available to that user before or during Skill installation.
Impact Assessment
Successful exploitation could execute arbitrary code with the installing user's privileges. Dependin ...[truncated 579 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin each executable package to a reviewed exact version, for example:
bash npx --yes skills@<reviewed-exact-version> add cofounder-im/openclaw-cofounder-skill npx --yes clawhub@<reviewed-exact-version> install cofounder-im - Verify that the package name, publisher, registry, and expected version are explicitly documented.
- Prefer installing dependencies through a lockfile-backed workflow with npm integrity metadata rather than resolving mutable versions at execution time.
- Publish checksums, signatures, or provenance attestations for reviewed releases and verify them before execution.
- Disable or review lifecycle scripts where practical, and run installation in a sandbox or minimally privileged environment without unrelated secrets.
- Establish a controlled upgrade process in which new versions are reviewed and tested before the documentation is updated.
- Pin each executable package to a reviewed exact version, for example:
