T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:55
- Finding
- Unpinned Remote Skill Installation Through npx## Vulnerability Details **File Location**: `SKILL.md`, lines 55-59 **Vulnerability Type**: `T08: Insecure Dependencies` **Risk Level**: Medium ### Vulnerable Code ```markdown After the sandbox is set up, run the `setup-artist` skill for each artist. If the skill is not installed, install it first: ```bash npx skills add recoupable/setup-artist ``` ``` ### Technical Analysis The instructions recommend downloading and installing a remotely maintained Skill through `npx` without pinning a package or Skill version, verifying an integrity digest, validating the publisher, or requiring a security review of the retrieved content. Because the referenced dependency is mutable, its effective instructions or executable components may change after this Skill has been audited. The command therefore creates a supply-chain trust boundary through which a compromised package, publisher account, registry, or referenced Skill could introduce malicious content. Installation is not required to perform the current Skill's core local scaffolding operation. It is presented only as a subsequent action, so automatically installing it would exceed the minimum privileges and dependencies necessary for the declared setup task. ### Attack Path 1. An attacker compromises the package publisher, registry entry, source repository, or account responsible for `recoupable/setup-artist`. 2. The attacker publishes a modified Skill or causes the unpinned reference to resolve to malicious content. 3. A user or agent follows `SKILL.md` and executes `npx skills add recoupable/setup-artist`. 4. The remote content is downloaded and installed without integrity verification or review. 5. When the installed Skill or associated package lifecycle is executed, its malicious instructions or code operate with the permissions available to the user or agent. ### Impact Assessment The immediate impact is the installation of unreviewed, remotely mutable content. ...[truncated 317 chars]
- Remediation
- ## Remediation Suggestions - Pin both the package runner and installed Skill to explicitly reviewed versions. - Use an official, authenticated registry and verify package provenance and publisher identity. - Require an integrity hash, signed release, lockfile, or equivalent immutable reference. - Download and inspect the dependency before activating or executing it. - Do not automatically install the subsequent Skill as part of sandbox setup; require explicit user approval. - Run installation and review in an isolated environment with restricted filesystem, credential, and network access. - Document the expected files, permissions, and network destinations used by the dependency.
