T08 · Insecure Dependencies
- Location
SKILL.md:30- Finding
Unpinned Global Installation of a Security-Critical Dependency
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 30–32
Vulnerability Type: Supply-chain risk from an unpinned globally installed npm dependency
Risk Level: HighVulnerable Code
markdown This skill handles setup automatically. When you run `openclaw install arc402-agent`: 1. ARC-402 CLI is installed ([npm](https://www.npmjs.com/package/arc402-cli): `npm install -g arc402-cli`)Technical Analysis
The installation procedure globally installs the latest version of
arc402-cliwithout specifying an exact version, integrity hash, lockfile, or signature-verification process. This makes the effective executable payload dependent on whatever package version npm resolves at installation time.This dependency is security-critical: the documented CLI manages wallet deployment, agent and guardian keys, credential providers, daemon configuration, runtime packaging, network policy, and transaction operations. Global npm installation may also execute package lifecycle scripts. Consequently, compromise of the package, maintainer account, or registry distribution path could result in arbitrary host-side code execution before the documented sandbox protections apply.
Attack Path
- An attacker compromises the npm package, a maintainer account, or the package publication process.
- The attacker publishes a malicious or backdoored version under the legitimate
arc402-clipackage name. - An operator follows the Skill installation flow.
npm install -g arc402-cliresolves and installs the attacker-controlled release.- Malicious lifecycle scripts or CLI behavior execute with the installing user's privileges.
- The payload may access ARC-402 configuration, wallet-related credentials, Telegram credentials, or alter the daemon and workroom configuration.
Impact Assessment
Successful exploitation could execute arbitrary code with the privileges of the account performing the global insta ...[truncated 501 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin
arc402-clito an exact version that has undergone security review. - Verify the package with a documented integrity hash, provenance attestation, or trusted signature before installation.
- Use a lockfile or similarly reproducible installation manifest.
- Avoid global installation where possible; install into a dedicated, unprivileged environment.
- Disable npm lifecycle scripts during acquisition when operationally possible, then explicitly run only reviewed setup actions.
- Publish and verify checksums for the runtime bundle uploaded into the workroom.
- Require explicit operator confirmation before upgrades, and review release differences before changing the pinned version.
- Pin
