T08 · Insecure Dependencies
- Location
SKILL.md:30- Finding
Unpinned Third-Party Installer and Mutable Skill Source
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:30-33;README.md:10-19
Vulnerability Type: Supply-chain risk through unpinned remote installer execution
Risk Level: MediumVulnerable Code
SKILL.md:30-33:bash ## Install ```bash npx skills add blammectrappora/polaroid-photo-generatortext `README.md:10-19`: ```bash ## Install **Via npx skills:** ```bash npx skills add blammectrappora/polaroid-photo-generatorVia ClawHub:
bash clawhub install polaroid-photo-generatortext ### Technical Analysis The installation instructions invoke an unversioned package through `npx` and identify the Skill through a mutable repository or registry name. Neither the installer package nor the installed Skill is pinned to an audited version, commit hash, or integrity digest. `npx` can download and execute the currently resolved release of a package. Consequently, the effective installer and Skill content executed by a user can differ from the files reviewed in this audit. A compromised package owner, registry account, repository, or distribution channel could replace a legitimate release with malicious content. This finding concerns the documented installation path. The audited project itself contains no malicious dependency declarations or embedded installation scripts. ### Attack Path 1. An attacker compromises the npm package, Skill registry entry, source repository, maintainer account, or another component in the distribution chain. 2. The attacker publishes a modified installer package or replaces the mutable Skill release with malicious content. 3. A user follows the documented `npx skills add` or unpinned ClawHub installation command. 4. The package manager resolves the attacker-controlled current release rather than a previously audited immutable version. 5. Malicious installation logic executes with the privileges of the user running the command. ### Im ...[truncated 432 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsinstaller package to a reviewed version instead of allowingnpxto resolve the latest release. - Pin the Skill source to an immutable release tag or, preferably, a full commit hash.
- Publish and verify cryptographic integrity hashes or signed release attestations.
- Document the expected package registry and reject unexpected registry overrides.
- Recommend reviewing the resolved package and using
npxoptions that prevent implicit installation where practical. - Establish a release process that audits each pinned version before updating installation documentation.
- Pin the
