T08 · Insecure Dependencies
- Location
SKILL.md:5- Finding
Unpinned Dependency Installed from a Third-Party Homebrew Tap
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 5
Vulnerability Type: Third-party supply-chain dependency without version or integrity pinning
Risk Level: MediumVulnerable Code Snippet:
yaml metadata: {"clawdbot":{"emoji":"💎","requires":{"bins":["obsidian-cli"]},"install":[{"id":"brew","kind":"brew","formula":"yakitrak/yakitrak/obsidian-cli","bins":["obsidian-cli"],"label":"Install obsidian-cli (brew)"}]}}Technical Analysis
The installation metadata directs users or an agent to install
obsidian-clifrom the third-party Homebrew tapyakitrak/yakitrak. The dependency is not pinned to an immutable release or commit, and the Skill does not specify a checksum, signature, or other integrity-verification mechanism.A Homebrew installation can execute formula installation logic and install binaries controlled by the tap maintainer. Consequently, the code executed during installation and subsequent command invocations may differ from the dependency originally reviewed. If the tap, its maintainer account, its source artifacts, or its distribution infrastructure is compromised, a malicious dependency could be delivered through the documented installation workflow.
The audit found no evidence that the current dependency is malicious. The finding concerns the absence of safeguards against third-party supply-chain compromise.
Attack Path
- An attacker compromises the third-party Homebrew tap, its maintainer account, or an upstream artifact referenced by its formula.
- The attacker modifies the formula or distributed
obsidian-clibinary to include malicious installation or runtime behavior. - A user or agent follows the Skill metadata and installs
yakitrak/yakitrak/obsidian-cli. - Homebrew executes the compromised formula logic or installs the attacker-controlled binary.
- The malicious code runs with the privileges of the user performing installation or invoking
obsidian-cli.
...[truncated 689 chars]
- Remediation
View remediation
Remediation Suggestions
- Prefer an official, project-controlled distribution source or a trusted package repository where one is available.
- Pin the dependency to an audited, immutable version or source commit instead of tracking a mutable third-party formula.
- Verify downloaded artifacts using published cryptographic checksums or signatures before installation.
- Record the expected source repository, release identifier, checksum, and verification procedure in the Skill metadata or installation documentation.
- Review the Homebrew formula and its upstream artifact URLs before approving updates.
- Use automated dependency monitoring and require security review when the formula, source repository, or artifact checksum changes.
- Run installation and vault operations with the minimum necessary user permissions and maintain recoverable backups of vault data.
