T08 · Insecure Dependencies
- Location
README.md:6- Finding
Unpinned npm Package Installation
- Content
View full analysis
Vulnerability Details
File Location:
README.md, lines 6–8
Vulnerability Type: Supply-chain risk from a mutable dependency reference
Risk Level: MediumVulnerable Code
bash openclaw skills install npm:guomeiqing-security-auditTechnical Analysis
The documented installation command references an npm package without an exact version or integrity digest. The package version resolved at installation time can therefore differ from the artifact reviewed during this audit.
If the package publisher account, npm package, or release process is compromised, a malicious new version could replace or alter the prompt instructions and potentially add executable content. Users following the documentation would install that unaudited version.
The reviewed artifact itself contains only documentation and prompt instructions; no embedded malicious scripts were found. This finding concerns the mutability and lack of integrity guarantees in the documented installation method.
Attack Path
- An attacker compromises the npm publisher account or package release pipeline.
- The attacker publishes a malicious version under
guomeiqing-security-audit. - A user executes the installation command from the README.
- npm resolves the mutable package reference to the malicious version.
- OpenClaw installs content that differs from the version reviewed here.
- The malicious package could manipulate Skill instructions or abuse tools available to the agent, subject to the permissions granted in the victim's environment.
Impact Assessment
Successful exploitation could allow attacker-controlled Skill content to operate with the tools and permissions granted to the OpenClaw agent. Depending on the substituted package and local configuration, potential consequences include unauthorized configuration access, file modification, command execution, credential exposure, or Gateway disruption.
No such malicious payload exists in the audited project fil ...[truncated 92 chars]
- Remediation
View remediation
Remediation Suggestions
-
Pin the installation command to an exact, reviewed package version:
bash openclaw skills install npm:guomeiqing-security-audit@X.Y.Z -
Publish and document the expected npm integrity digest, and verify it during installation where supported.
-
Avoid version ranges, distribution tags such as
latest, and other mutable references for security-sensitive Skills. -
Protect package publication with phishing-resistant multi-factor authentication, narrowly scoped automation tokens, and provenance-enabled releases.
-
Ensure the pinned package archive is compared with the reviewed source artifact before release.
-
Advise users to review package contents and requested capabilities before granting access to
read,edit, orexectools.
-
