T08 · Insecure Dependencies
Warning
- Location
- README.md:114
- Finding
- Unpinned Skill Installation from a Mutable Personal Repository<![CDATA[ ## Vulnerability Details **File Location**: `README.md:114-116` **Vulnerability Type**: Supply-chain risk from an unpinned external source **Risk Level**: Medium ### Vulnerable Code ```bash git clone https://github.com/shaniidev/lance .cursor/skills/lance git clone https://github.com/shaniidev/lance .claude/skills/lance git clone https://github.com/shaniidev/lance .agents/skills/lance ``` ### Technical Analysis The documented installation commands clone the current default branch of a personally controlled GitHub repository directly into Agent Skill directories. They do not select an immutable commit or verified release and do not perform signature or checksum verification. Consequently, the effective Skill content installed by a user can differ from the version previously reviewed. If the upstream repository or maintainer account is compromised, an attacker could replace the Skill instructions or Python scripts with malicious content. Installing that mutable content into an agent-recognized skills directory increases the risk that it will subsequently be loaded or invoked with the agent's available tools and permissions. The repository URL is consistent with the author and source metadata, and the audited snapshot contained no malicious payload. The issue is therefore an unsafe supply-chain installation pattern rather than evidence that the current maintainer or repository is malicious. ### Attack Path 1. An attacker compromises the upstream GitHub account, repository, or publishing workflow. 2. The attacker modifies the default branch by adding malicious Skill instructions or executable scripts. 3. A user follows one of the documented `git clone` commands without selecting a reviewed commit. 4. Git retrieves the attacker-modified default branch and places it directly in an Agent Skill directory. 5. The affected agent discovers and loads the modified Skill, or the user invokes one of its altered scripts. 6. The malicious content operates wi ...[truncated 704 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Publish reviewed, immutable releases and direct users to a specific release tag or commit rather than the mutable default branch. 2. Document a pinned installation procedure, such as cloning the repository and checking out a full reviewed commit hash. 3. Sign release tags or artifacts and publish SHA-256 checksums through a separately protected release process. 4. Require users to verify the signature or checksum before placing the content in an Agent Skill directory. 5. Prefer downloading a versioned release archive only after verifying its integrity and provenance. 6. Recommend reviewing changes to `SKILL.md`, agent configuration files, and `scripts/` before enabling or updating the Skill. 7. Configure supported agents to require explicit approval before newly installed or updated skills execute scripts or receive sensitive tools. 8. Avoid automatic updates from the upstream default branch; updates should repeat the same pinning, review, and verification process. ]]>
