T08 · Insecure Dependencies
- Location
SKILL.md:31- Finding
Unpinned Remote Installer Introduces Supply-Chain Risk
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:31-34;README.md:8-11
Vulnerability Type: Unpinned third-party installer execution
Risk Level: MediumVulnerable Code
SKILL.md:31-34:markdown ## Install ```bash npx skills add blammectrappora/cosplay-reference-generatortext `README.md:8-11`: ```markdown ## Install ```bash npx skills add blammectrappora/cosplay-reference-generatortext ### Technical Analysis The documented installation procedure invokes the `skills` npm package through `npx` without specifying an exact package version or integrity hash. It also identifies the Skill through a mutable publisher namespace without pinning a reviewed revision. Consequently, the code executed by this command is not necessarily the same code that was reviewed during this audit. Package updates, publisher-account compromise, package takeover, or changes to the remote Skill repository could alter the effective installation payload. No evidence indicates that the currently reviewed project contains a malicious dependency or installer. The vulnerability is the unsafe trust model created by directing users to execute mutable, remotely resolved installation components. ### Attack Path 1. An attacker compromises the npm package, its publisher account, the remote Skill publisher account, or another relevant distribution component. 2. The attacker publishes a modified version containing malicious installer behavior or replaces the remotely distributed Skill content. 3. A user follows the documented `npx skills add blammectrappora/cosplay-reference-generator` command. 4. `npx` resolves and executes the currently available installer rather than a version and artifact fixed at audit time. 5. The malicious installer runs with the permissions of the invoking user and can perform any operation available to that account. ### Impact Assessment Successful exploitation could provide at ...[truncated 461 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsnpm package to an exact reviewed version rather than allowingnpxto resolve the latest release. - Pin the installed Skill to an immutable commit, release identifier, or content digest.
- Publish and verify cryptographic integrity information for installation artifacts.
- Use a lockfile or an equivalent reproducible installation mechanism where supported.
- Document the expected publisher identity and verification procedure.
- Avoid installer workflows that execute newly downloaded code without presenting or verifying the resolved version first.
- Re-audit the installer and Skill artifact whenever either pinned version changes.
- Pin the
