T08 · Insecure Dependencies
Warning
- Location
- README.md:28
- Finding
- Marketplace Installation Command References an Unaudited Package Identifier## Vulnerability Details **File Location**: `README.md:28-32` **Vulnerability Type**: Supply-chain package identity mismatch **Risk Level**: Medium ### Vulnerable Code Snippet ```bash skillhub install cognitive-bias-advisor-pro ``` The audited Skill declares a different identifier in `SKILL.md:2-3`: ```yaml name: cognitive-bias-advisor slug: cognitive-bias-advisor ``` ### Technical Analysis The documented SkillHub installation command installs `cognitive-bias-advisor-pro`, while the audited artifact identifies itself as `cognitive-bias-advisor`. Consequently, following the README does not necessarily install the artifact whose source code was reviewed. The command also provides no version pin, publisher identity, signature requirement, or integrity checksum. The effective package contents therefore depend on the external marketplace's current resolution of a different package identifier. This creates a supply-chain trust gap: an unintended, compromised, or malicious package could receive the privileges associated with an installed Agent Skill. The repository does not establish that the `-pro` package is equivalent to, built from, or controlled by the same source as the audited artifact. This finding does not prove that the external package is malicious; it establishes that the documented installation path crosses into unaudited code under a mismatched identity. ### Attack Path 1. A user trusts the installation instructions in `README.md`. 2. The user runs `skillhub install cognitive-bias-advisor-pro`. 3. SkillHub resolves and downloads the separately named marketplace package. 4. The Agent installs that package without verifying that it corresponds to the reviewed `cognitive-bias-advisor` source. 5. If the resolved package is malicious or compromised, its instructions or executable components run when the Skill is loaded or invoked. 6. The external package could then exercise any Agent tools or data access ...[truncated 724 chars]
- Remediation
- ## Remediation Suggestions 1. Replace the mismatched command with the exact audited package identifier: ```bash skillhub install cognitive-bias-advisor ``` 2. If `cognitive-bias-advisor-pro` is intentionally a separate distribution, label it clearly as a distinct artifact and audit its contents independently. 3. Pin installation instructions to a reviewed version rather than resolving the latest mutable release. 4. Document the expected marketplace publisher and require users to verify it before installation. 5. Publish cryptographic checksums or signed release manifests and provide verification instructions. 6. Add a release check that compares the package slug in `SKILL.md`, marketplace metadata, and every documented installation command. 7. Configure the Agent runtime to require explicit approval and least-privilege permissions for newly installed Skills.
