T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:62
- Finding
- Mandatory Unpinned External Skill Dependency## Vulnerability Details **File Location**: `SKILL.md:62-64` **Vulnerability Type**: Unverified external instruction dependency **Risk Level**: Medium ### Vulnerable Code ```md ### Gate 4 — Verification protocol Load and follow [review-verification-protocol](../review-verification-protocol/SKILL.md). **Pass when:** Its pre-report checklist (and any issue-type subsection that applies) is complete for each finding you will output. ``` ### Technical Analysis The Skill requires the Agent to load and follow another `SKILL.md` located outside the audited package. The referenced file is not included in the project, and the dependency is not version-pinned or protected by an integrity check. As a result, the reviewed files do not fully define the Skill's effective instructions. Any party able to create or modify the sibling `../review-verification-protocol/SKILL.md` file can change the protocol after this Skill has been reviewed. Because loading that file is presented as a mandatory gate, its instructions may influence which findings are reported and how the Agent behaves. This is an insecure supply-chain boundary rather than evidence that the current package is itself malicious. ### Attack Path 1. An attacker obtains write access to the parent package directory or controls installation of the sibling `review-verification-protocol` package. 2. The attacker creates or modifies `../review-verification-protocol/SKILL.md`. 3. A user invokes this React Router review Skill. 4. Gate 4 directs the Agent to load and follow the attacker-controlled sibling file. 5. The external instructions may suppress findings, manipulate review output, or request access unrelated to the legitimate review. 6. The malicious content can subsequently change without any modification to the audited package. ### Impact Assessment Exploitation does not directly grant operating-system privileges. Its scope is the Agent session and any tools or data al ...[truncated 337 chars]
- Remediation
- ## Remediation Suggestions 1. Include the verification protocol inside the reviewed Skill package and reference it with an in-package path. 2. If an external protocol is unavoidable, pin it to an immutable version and verify its cryptographic hash before use. 3. Treat externally loaded Skill text as untrusted input rather than automatically authoritative instructions. 4. Document the dependency and include it in the same security-review scope. 5. Fail safely when the expected protocol is missing or fails integrity validation. 6. Prevent external protocol files from expanding tool access, changing safety constraints, or overriding the parent Skill's stated review purpose.
