T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:5
- Finding
- Unpinned Executable Installed from a Mutable Custom Homebrew Tap## Vulnerability Details **File Location**: `SKILL.md:5` **Vulnerability Type**: Supply-chain exposure through an unpinned third-party executable **Risk Level**: Medium **Vulnerable Code Snippet**: ```yaml metadata: {"openclaw": {"emoji": "⚙️", "install": [{"id": "brew", "kind": "brew", "formula":"Mininglamp-AI/tap/mano-afk", "bins":["mano-afk"],"label": "Install mano-afk (brew)"}]}} ``` ### Technical Analysis The skill installs the `mano-afk` executable from the custom Homebrew tap `Mininglamp-AI/tap` without specifying an immutable package version, source commit, artifact checksum, or other integrity constraint. A custom tap is an externally controlled supply-chain source whose formula and referenced artifacts can change after this skill has been reviewed. The installed executable is subsequently trusted for configuration, environment checks, and browser-based E2E operations. Because the audited project does not contain the executable's implementation, those behaviors cannot be verified from the skill package itself. The finding does not establish that the current package is malicious; it identifies the lack of controls preventing a future compromised or modified release from being installed and executed. ### Attack Path 1. An attacker compromises the custom Homebrew tap, its release infrastructure, or an artifact referenced by its formula. 2. The attacker modifies the formula or release so that `mano-afk` contains malicious code. 3. A user installs the skill, causing Homebrew to resolve the mutable `Mininglamp-AI/tap/mano-afk` formula. 4. The malicious executable is installed under the trusted `mano-afk` command name. 5. The skill invokes commands such as `mano-afk check`, `mano-afk config`, or `mano-afk run`. 6. The substituted code executes with the privileges of the user running the agent. ### Impact Assessment Successful exploitation would provide code execution with the current user's privileges. The executa ...[truncated 367 chars]
- Remediation
- ## Remediation Suggestions 1. Pin installation to a specific, immutable release rather than the latest formula state. 2. Verify downloaded artifacts with a cryptographic SHA-256 checksum maintained in reviewed skill metadata. 3. Pin the tap or formula definition to a reviewed commit where the installation platform permits it. 4. Publish the resolved source and binary artifact URLs so reviewers can audit the actual executable. 5. Use signed releases and verify signatures before installation. 6. Prefer a trusted package source with reproducible builds and transparent provenance. 7. Add automated dependency monitoring and require security review before changing the pinned version or checksum.
