T08 · Insecure Dependencies
- Location
SKILL.md:21- Finding
Unpinned Third-Party Package Installation and Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 21–25
Vulnerability Type: T08: Insecure Dependencies
Risk Level: Mediumbash # Install the plugin openclaw plugins install @useorgx/openclaw-plugin # Or via npx npx @useorgx/openclaw-pluginTechnical Analysis
The documented installation commands resolve
@useorgx/openclaw-pluginwithout an exact version or integrity hash. In particular,npxmay download and immediately execute the version currently selected by the package registry.This creates a supply-chain risk because the code ultimately executed can change after the Skill has been reviewed. If the package publisher account, registry, package release, or transitive dependency is compromised, following these instructions could execute malicious code locally.
No evidence in the audited file establishes that the referenced package is currently malicious. The vulnerability is the unsafe, unpinned installation and execution mechanism.
Attack Path
- An attacker compromises the package publisher, registry distribution path, package release process, or a transitive dependency.
- The attacker publishes a malicious version that can be selected by the unpinned package reference.
- A user follows the Quick Start instructions and invokes the plugin installation or
npxcommand. - The package manager retrieves the attacker-controlled release.
- Malicious lifecycle scripts or package entry-point code execute with the privileges of the user running the command.
Impact Assessment
Successful exploitation could execute arbitrary code under the invoking user's account. Depending on that account's permissions, the payload could access project files, environment variables, local credentials, agent configuration, or other user-accessible resources.
The finding does not itself demonstrate privilege escalation beyond the invoking user. The ultimate scope depends on the privileges and secrets available in the execution enviro ...[truncated 6 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the plugin to a specific, reviewed version rather than resolving the latest available release.
- Maintain a lockfile that fixes all transitive dependency versions.
- Verify package integrity using trusted checksums, signatures, or package-manager integrity metadata.
- Document and enforce the expected registry and official package source.
- Review package contents and lifecycle scripts before installation.
- Disable dependency lifecycle scripts where operationally feasible.
- Avoid using
npxto download and immediately execute an unverified package. - Run installation and plugin execution in a sandbox or least-privileged environment with restricted access to credentials and sensitive files.
- Establish a controlled upgrade process in which new versions are reviewed before deployment.
