T08 · Insecure Dependencies
- Location
SKILL.md:4- Finding
Unpinned and Unauditable Executable Third-Party Dependency
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:4andSKILL.md:31-36
Vulnerability Type: Unpinned third-party executable dependency
Risk Level: MediumVulnerable Code
yaml metadata: { "openclaw": { "emoji": "🛡️", "requires": { "bins": ["operon-guard"] }, "install": [{ "id": "uv", "kind": "uv", "package": "operon-guard", "bins": ["operon-guard"], "label": "Install operon-guard (uv)" }] } }markdown OpenClaw's auto-install uses `uv`. If `uv` is not available, install with pip on any system with Python 3.10+: ```bash pip install operon-guardtext ### Technical Analysis The Skill installs the external `operon-guard` Python package by name without specifying an exact version or integrity hash. The package implementation, lockfile, provenance information, and expected artifact digest are not included in the audited project. Consequently, the code executed by installation and subsequent CLI invocation can change independently of this reviewed Skill. Python package installation may execute package build hooks, while the installed CLI itself runs with the invoking user's privileges. The Skill also states that the CLI imports target modules through `spec.loader.exec_module()`, but the external implementation performing that operation cannot be verified from this repository. This finding does not establish that the current package is malicious. It identifies a supply-chain weakness under which a compromised publisher account, malicious future release, dependency-confusion condition, or registry compromise could introduce executable code after the Skill has been reviewed. ### Attack Path 1. An attacker compromises the package publisher, distribution channel, or a dependency selected during resolution. 2. The attacker publishes a malicious or compromised release under the package name `operon-guard`. 3. OpenClaw's `uv` installation mechanism or a user running `pip install operon-guard` r ...[truncated 1048 chars]- Remediation
View remediation
Remediation Suggestions
- Pin
operon-guardto an exact, security-reviewed version in both the OpenClaw installation metadata and manual installation command. - Enforce artifact integrity using hashes, such as a hash-locked requirements file or an equivalent
uvlockfile. - Document and constrain the authoritative package registry or index to reduce dependency-confusion and unintended-source risks.
- Include the reviewed dependency source, lockfile, provenance, and expected artifact digest with the Skill where feasible.
- Verify package signatures or supply-chain attestations when supported by the distribution mechanism.
- Install and execute the tool in an isolated, least-privileged environment without unnecessary credentials, sensitive mounts, or unrestricted network access.
- Continue requiring manual source review or sandboxing before importing untrusted agent modules, as already advised by the Skill documentation.
- Pin
