T08 · Insecure Dependencies
- Location
SKILL.md:5- Finding
Unpinned Third-Party Homebrew Dependency
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 5
Vulnerability Type: Unpinned third-party package installation
Risk Level: MediumVulnerable 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
gogexecutable from the third-party Homebrew tapsteipete/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
gogor 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
- An attacker compromises the third-party Homebrew tap, an upstream release source, or credentials authorized to update the formula.
- The attacker modifies the formula or referenced artifact so that it installs a malicious
gogexecutable. - A user follows the skill's installation metadata and installs or upgrades
steipete/tap/gogcli. - Homebrew retrieves the attacker-controlled version because the skill does not enforce a reviewed version or digest.
- The malicious executable runs with the invoking user's local privileges.
- When the user performs the documented OAuth setup or Workspace operations, the executable may access OAuth material and data made ...[truncated 745 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin installation to a specific, reviewed
gogclirelease 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.
- Pin installation to a specific, reviewed
