T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:5
- Finding
- Unpinned Third-Party CLI Installed from a Mutable Homebrew Tap<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, line 5 **Vulnerability Type**: Unpinned dependency from a third-party package source **Risk Level**: Medium ### Evidence ```yaml metadata: {"clawdbot":{"emoji":"🐦","requires":{"bins":["bird"]},"install":[{"id":"brew","kind":"brew","formula":"steipete/tap/bird","bins":["bird"],"label":"Install bird (brew)"}]}} ``` ### Technical Analysis The skill delegates its functionality to the external `bird` executable and provides an installation definition referencing the third-party Homebrew formula `steipete/tap/bird`. The configuration does not pin an immutable release, commit, artifact digest, or cryptographic checksum. Consequently, the executable installed during a future deployment may differ from the version originally reviewed. The project contains no source code for the executable, so its behavior—including its handling of browser cookies and API credentials—cannot be verified from the audited artifact. This is a supply-chain weakness rather than evidence that the current package is malicious. Exploitation would require compromise or unsafe modification of the Homebrew tap, formula, upstream release process, or distributed artifact. ### Attack Path 1. An attacker compromises an upstream release channel, the third-party Homebrew tap, or an account authorized to update the formula. 2. The attacker changes the formula or referenced artifact so that it installs a malicious `bird` executable. 3. A user installs the dependency using the installation metadata in the skill. 4. The user invokes `bird` for an otherwise legitimate reading, searching, or posting operation. 5. The substituted executable runs with the user's local privileges and may access the authentication material made available to it. 6. The executable can potentially steal credentials, perform unauthorized account actions, or access other data available to the user account. ### Impact Assessment Successful supply-chain compromise ...[truncated 433 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Pin the dependency to a reviewed, immutable release rather than relying on a mutable formula reference. 2. Verify downloaded artifacts with a documented cryptographic checksum or signature. 3. Document the authoritative source repository, release process, and expected artifact provenance. 4. Prefer a trusted package source with reproducible builds and integrity verification. 5. Audit the source code of the exact `bird` release before permitting it to handle browser cookies or API credentials. 6. Revalidate the dependency whenever its pinned version or checksum changes. 7. Avoid silent or automatic upgrades that could replace the reviewed executable without a new security assessment. ]]>
