T08 · Insecure Dependencies
- Location
SKILL.md:5- Finding
Unpinned Executable Node.js Dependency
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 5
Vulnerability Type: Unpinned third-party executable dependency
Risk Level: MediumVulnerable Code
yaml metadata: {"openclaw":{"emoji":"🐙","homepage":"https://docs.openclaw.ai/cli/models","requires":{"bins":["openclaw"]},"install":[{"id":"node","kind":"node","package":"openclaw","bins":["openclaw"],"label":"Install OpenClaw CLI"}]}}Technical Analysis
The installation metadata declares the
openclawNode.js package without an exact version or integrity constraint. Consequently, installation may resolve to a package release that was published after this Skill was reviewed.The installed package provides the
openclawexecutable invoked by all three helper scripts. If the package source, maintainer account, registry resolution, or a future release is compromised, attacker-controlled code could run during package installation or whenever the executable is invoked. This creates a supply-chain trust gap between the reviewed Skill and its effective runtime dependency.The audited scripts do not themselves download remote payloads or contain malicious code; the risk arises from unconstrained dependency resolution.
Attack Path
- An attacker compromises the package publisher, registry distribution path, or a future release of the
openclawpackage. - The attacker publishes a malicious package version under the expected package name.
- The Skill installer resolves and installs that version because no reviewed version or integrity digest is specified.
- Malicious code executes through installation lifecycle behavior or when the Skill invokes the installed
openclawbinary. - The payload operates with the permissions of the user running the installation or Skill commands.
Impact Assessment
Successful exploitation could provide arbitrary code execution with the invoking user’s privileges. Depending on that account’s access, an attacker could read accessible files ...[truncated 341 chars]
- An attacker compromises the package publisher, registry distribution path, or a future release of the
- Remediation
View remediation
Remediation Suggestions
- Pin
openclawto an exact, reviewed version rather than allowing unconstrained registry resolution. - Add a package integrity digest or lockfile verification where the Skill packaging and installation mechanism supports it.
- Configure installation to use an explicitly trusted registry and verify the package publisher and provenance.
- Disable or restrict dependency lifecycle scripts where feasible.
- Require explicit user approval before installing or upgrading the executable dependency.
- Review and test each dependency update before changing the pinned version.
- Document the expected package source, publisher, version, and verification procedure so users can independently validate the dependency.
- Pin
