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 dependency from a mutable package source
Risk Level: MediumVulnerable Code Snippet
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 delegates installation of the
gogexecutable to the third-party Homebrew tapsteipete/tap/gogcli. The dependency declaration does not pin a reviewed version or source commit and does not specify a cryptographic checksum.As a result, the software installed when the skill is used may differ from the software that existed when this artifact was audited. If the tap, formula, upstream release infrastructure, or maintainer account is compromised, the mutable installation source could distribute modified installation logic or an altered executable.
This finding does not establish that the current
gogpackage is malicious. It identifies a supply-chain trust boundary that is not cryptographically constrained by the audited project.Attack Path
- An attacker compromises the third-party Homebrew tap, its maintainer account, the referenced upstream distribution channel, or another component of the package publication process.
- The attacker changes the formula or distributed artifact so that installation supplies a malicious
gogexecutable or runs malicious installation logic. - A user follows the skill metadata and installs
steipete/tap/gogcli. - The malicious executable runs in the user's environment.
- The user subsequently configures Google OAuth credentials and authorizes one or more Workspace services.
- Depending on the granted OAuth scopes and local execution privileges, the altered executable could access local credential material or misuse authorized Gmail, Calendar, Drive, Contacts, Sheets, or Docs operations.
...[truncated 701 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the dependency to a specific, reviewed release rather than relying solely on a mutable Homebrew formula.
- Verify downloaded release artifacts using a documented cryptographic checksum or signature from a trusted source.
- Where supported, bind the installation process to a reviewed source commit or immutable artifact.
- Document the canonical upstream repository and release verification procedure so users can validate package provenance.
- Regularly review the Homebrew tap, formula ownership, release source, and checksum changes.
- Request only the Google Workspace services and OAuth scopes required for the user's intended task instead of authorizing all supported services by default.
- Store OAuth credentials using operating-system-protected credential storage and restrict access to the relevant local files.
- Consider separating read-only and write-capable authorization profiles to reduce the impact of a compromised CLI.
