T08 · Insecure Dependencies
- Location
SKILL.md:9- Finding
Unverifiable Global Installation of a Third-Party npm Package
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 9–13 and 42–48
Vulnerability Type: Supply-chain exposure through an unaudited third-party dependency
Risk Level: HighVulnerable Code
yaml metadata: openclaw: requires: bins: - openfuse config: - ~/.ssh/config install: - kind: node package: openfused@0.3.5 bins: [openfuse]markdown ## Prerequisites Review the source code before installing. - **npm**: https://www.npmjs.com/package/openfused - **GitHub**: https://github.com/wearethecompute/openfused ```bash npm list -g openfused || npm install -g openfused@0.3.5text ### Technical Analysis The Skill depends on the externally distributed `openfused@0.3.5` npm package and instructs the user to install it globally. The audited project contains no dependency lockfile, integrity digest, package signature, vendored source, or executable implementation with which the installed artifact can be compared. Version pinning reduces accidental version drift but does not prove that the package retrieved from the registry is authentic or safe. npm installation may also execute package lifecycle scripts. A global installation runs those scripts with the privileges of the invoking user and makes the resulting executable available throughout that user's environment. The document tells users to review the external source, but this is advisory and does not technically guarantee that the reviewed repository content corresponds to the registry artifact. ### Attack Path 1. An attacker compromises the npm publisher account, registry artifact, release process, or another component of the package supply chain. 2. The attacker causes malicious code or a malicious lifecycle script to be distributed as `openfused@0.3.5`. 3. A user follows the documented prerequisite and runs: `npm install -g openfused@0.3.5`. 4. npm executes applicable installation scripts or installs a malicious `ope ...[truncated 911 chars]- Remediation
View remediation
Remediation Suggestions
- Include the relevant executable source in the reviewed project or otherwise provide a reproducible mapping between source and published package.
- Commit a lockfile containing registry-resolved integrity metadata.
- Publish and verify cryptographic signatures, provenance attestations, or npm package provenance for releases.
- Avoid global installation. Install into a dedicated, minimally privileged project or sandbox.
- Disable npm lifecycle scripts during installation where compatible, for example with
--ignore-scripts, and separately review any scripts that are genuinely required. - Compare the downloaded package digest against a trusted, out-of-band release digest before execution.
- Restrict the executable's filesystem and network access to only the required store and approved peer endpoints.
- Do not expose SSH configuration, keys, or unrelated user files to the package unless needed for an explicitly approved operation.
