T08 · Insecure Dependencies
- Location
SKILL.md:31- Finding
Unpinned Package Execution in Installation Instructions
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:31-34
Additional Location:README.md:11-14
Vulnerability Type: Unpinned third-party package execution
Risk Level: MediumThe installation instructions execute the
skillspackage throughnpxwithout specifying a reviewed version or integrity constraint:markdown ## Install ```bash npx skills add omactiengartelle/tattoo-design-generatortext The same command appears in `README.md`: ```markdown **Via npx skills:** ```bash npx skills add omactiengartelle/tattoo-design-generatortext ### Technical Analysis When no package version is specified, `npx` may resolve, download, and execute the package version currently supplied by the configured package registry. The project does not include a lockfile, checksum, integrity value, or other mechanism that constrains the executable package resolved by this command. Consequently, the actual code executed during installation can change after this skill has been reviewed. Exploitation would require compromise of the relevant registry package, maintainer account, package resolution process, or another component in the software supply chain. There is no evidence in the audited project that the current package is malicious; the risk arises from executing a mutable, unverified dependency. ### Attack Path 1. An attacker compromises the package publisher account, registry package, or another relevant part of the package distribution chain. 2. The attacker publishes a malicious version that is selected when `npx skills` is resolved without a version constraint. 3. A user follows the documented installation command. 4. `npx` downloads and executes the attacker-controlled release. 5. The malicious package runs with the privileges and filesystem or network access of the user performing the installation. ### Impact Assessment Successful exploitation could permit arbitrary code execution un ...[truncated 445 chars]- Remediation
View remediation
Remediation Suggestions
- Pin
skillsto a specifically reviewed version:bash npx skills@<reviewed-version> add omactiengartelle/tattoo-design-generator - Document the expected package registry and avoid silently relying on user-specific registry configuration.
- Where supported, enforce a lockfile or package integrity hash.
- Review the pinned package and its transitive dependencies before recommending execution.
- Update both
SKILL.mdandREADME.mdso all installation paths use the same constrained version. - Consider installing the reviewed dependency separately and invoking its local binary rather than allowing
npxto fetch and immediately execute an unconstrained release.
- Pin
