T08 · Insecure Dependencies
- Location
readme.md:45- Finding
Unpinned Global Installation of an Unaudited Third-Party Package
- Content
View full analysis
Vulnerability Details
File Location:
readme.md, lines 45-50
Vulnerability Type: Supply-chain exposure through a mutable, globally installed npm dependency
Risk Level: MediumCode Snippet:
bash # Global installation npm install -g openclaw-agent-execution-market # Verify installation aem --versionTechnical Analysis
The documentation instructs users to install
openclaw-agent-execution-marketglobally without pinning an exact version or verifying package integrity. Consequently, the installed package can differ from the version that was available when this Skill was reviewed.The audited project contains only
readme.mdandskill.md; it does not contain the npm package implementation, a lockfile, integrity metadata, or lifecycle-script definitions. The audit therefore cannot verify the installed package's code, network activity, installation hooks, key handling, or command behavior.npm packages can execute lifecycle scripts during installation. A compromised maintainer account, malicious future release, or registry compromise could therefore cause attacker-controlled code to execute under the installing user's account. Global installation unnecessarily increases the package's reach by exposing commands system-wide for that user.
The static pre-scan warning concerning transmission of sensitive information was also reviewed. The available files contain documentation links, example public API addresses, and a localhost solver endpoint, but no implementation that directly collects or transmits private keys, credentials, environment variables, or agent state. Direct data exfiltration is therefore not confirmed from this artifact.
Attack Path
- An attacker compromises the npm package, its publisher account, or a future package release.
- The attacker publishes a malicious version containing an installation lifecycle script or malicious CLI implementation.
- A user follows the unp ...[truncated 1400 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the dependency to a reviewed, immutable version instead of installing the latest release:
bash npm install --global --ignore-scripts openclaw-agent-execution-market@0.1.0 - Publish and verify the expected npm integrity digest or signed release provenance before installation.
- Include the actual package source, manifest, lockfile, and lifecycle scripts in the review artifact.
- Prefer a project-local installation over a global installation:
bash npm install --save-exact --ignore-scripts openclaw-agent-execution-market@0.1.0 - Disable lifecycle scripts by default. If scripts are required, document their purpose and provide their complete auditable source.
- Run the package as a non-privileged user and avoid
sudoor administrator installation. - Store generated private keys with restrictive filesystem permissions and prevent the CLI from sending them to marketplace or solver endpoints.
- Document all expected outbound destinations and require explicit user confirmation before transmitting intent data that may contain financial, wallet, or personal information.
- Add dependency monitoring, publisher-account multifactor authentication, provenance attestations, and a release-review process.
- Pin the dependency to a reviewed, immutable version instead of installing the latest release:
