T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:5
- Finding
- Unpinned Third-Party Homebrew Dependency## Vulnerability Details **File Location**: `SKILL.md`, line 5 **Vulnerability Type**: Unpinned third-party package installation **Risk Level**: Medium **Vulnerable Code:** ```yaml metadata: {"clawdbot":{"emoji":"🎮","requires":{"bins":["gog"]},"install":[{"id":"brew","kind":"brew","formula":"steipete/tap/gogcli","bins":["gog"],"label":"Install gog (brew)"}]}} ``` ### Technical Analysis The skill directs users to install the `gog` executable from the third-party Homebrew tap `steipete/tap/gogcli`, but it does not pin the dependency to a reviewed version, commit, immutable artifact, or cryptographic checksum. Consequently, the executable installed in the future may differ from the implementation evaluated when this skill was published. This creates a supply-chain trust boundary outside the reviewed project. A compromise of the tap, its upstream release infrastructure, or the formula maintainers' credentials could cause Homebrew to download and execute a modified package. The audited repository contains no local implementation of `gog` or integrity information with which to verify the installed executable. No evidence was found that the current dependency is malicious. The vulnerability is the mutable, unverified dependency installation mechanism. ### Attack Path 1. An attacker compromises the third-party Homebrew tap, an upstream release source, or credentials authorized to update the formula. 2. The attacker modifies the formula or referenced artifact so that it installs a malicious `gog` executable. 3. A user follows the skill's installation metadata and installs or upgrades `steipete/tap/gogcli`. 4. Homebrew retrieves the attacker-controlled version because the skill does not enforce a reviewed version or digest. 5. The malicious executable runs with the invoking user's local privileges. 6. When the user performs the documented OAuth setup or Workspace operations, the executable may access OAuth material and data made ...[truncated 745 chars]
- Remediation
- ## Remediation Suggestions - Pin installation to a specific, reviewed `gogcli` release or immutable commit rather than relying on the mutable latest formula. - Verify downloaded artifacts with a published SHA-256 checksum and, where available, a maintainer signature or provenance attestation. - Prefer an official, independently verifiable distribution source with release signing and reproducible provenance. - Record the expected version and integrity digest in the skill metadata so future installations resolve to the same audited artifact. - Add an explicit upgrade process requiring review and checksum updates before adopting a new release. - Apply least privilege during OAuth authorization by enabling only the Google services and scopes required for the user's task. - Protect OAuth token storage with restrictive filesystem permissions and document how users can revoke credentials after suspected compromise.
