T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:14
- Finding
- Unpinned Third-Party CLI Dependency## Vulnerability Details **File Location**: `SKILL.md`, lines 14-19 **Vulnerability Type**: Supply-chain risk caused by a mutable dependency version **Risk Level**: Medium **Vulnerable Code Snippet**: ```json { "id": "go", "kind": "go", "module": "github.com/tylerwince/grizzly/cmd/grizzly@latest", "bins": ["grizzly"], "label": "Install grizzly (go)", }, ``` ### Technical Analysis The installation configuration retrieves `github.com/tylerwince/grizzly/cmd/grizzly@latest`. The `@latest` selector is mutable, so the installed source may change after this Skill has been reviewed. The project does not pin a reviewed release or commit and does not provide an integrity checksum. This does not prove that the current upstream package is malicious. However, it creates a supply-chain trust boundary through which a compromised upstream repository, maintainer account, release process, or dependency could introduce arbitrary code into future installations without requiring any change to this Skill. ### Attack Path 1. An attacker compromises the upstream repository, a maintainer account, or an upstream dependency. 2. The attacker publishes a malicious version that is selected by `@latest`. 3. A user installs the Skill dependency through the documented installation mechanism. 4. The Go toolchain retrieves and builds the attacker-controlled source. 5. The malicious program executes when the user invokes `grizzly`, inheriting that user's local privileges and accessible environment. ### Impact Assessment Successful exploitation could result in arbitrary code execution under the installing or invoking user's account. The compromised CLI could access Bear note contents exposed to it, read the configured Bear token, modify notes, inspect other user-accessible files, or communicate data to an external service. The precise scope would be limited by the invoking user's operating-system permissions and macOS security contr ...[truncated 4 chars]
- Remediation
- ## Remediation Suggestions - Replace `@latest` with a reviewed, immutable release version or commit hash. - Prefer a versioned release obtained from a trusted source with documented provenance. - Record and verify expected checksums or signatures where the installation system supports them. - Review the selected release and its transitive dependencies before updating the pinned version. - Use an automated dependency-update process that requires review and security checks rather than silently tracking the newest release.
