T08 · Insecure Dependencies
- Location
SKILL.md:29- Finding
Unpinned Remote Installer and Mutable Skill Reference
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:29-32;README.md:12-16
Vulnerability Type: Supply-chain risk caused by unpinned remote dependencies
Risk Level: MediumVulnerable Code
SKILL.md:29-32:markdown ## Install ```bash npx skills add blammectrappora/ai-headshot-skilltext `README.md:12-16`: ```markdown **Via npx skills:** ```bash npx skills add blammectrappora/ai-headshot-skilltext ### Technical Analysis The documented installation command invokes the `skills` npm package through `npx` without pinning its version. It also identifies the remotely retrieved skill through a mutable owner-and-project reference rather than an immutable commit, signed release, or verified artifact digest. Consequently, the code executed or installed when a user follows the instructions is not necessarily identical to the content covered by this audit. A later release, compromised publisher account, compromised source repository, or malicious replacement in the dependency distribution path could alter either the installer or the installed skill. The reviewed project does not itself retrieve and execute a runtime payload. The risk arises specifically from the documented installation process and its reliance on mutable, unverified remote components. ### Attack Path 1. An attacker compromises the npm package used by `npx`, the remote skill publisher account, or the associated source repository. 2. The attacker publishes a malicious version of the installer or modifies the mutable skill reference. 3. A user follows the documented `npx skills add blammectrappora/ai-headshot-skill` command. 4. `npx` retrieves the current remote package rather than a version verified during this audit. 5. The malicious installer or skill executes with the privileges of the invoking user or installs attacker-controlled files into the user's skill environment. ### Impact Assessment Successful exploi ...[truncated 447 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsCLI to an explicitly reviewed version, for example by using an exact package version rather than allowingnpxto resolve the current release. - Pin the installed skill to an immutable commit hash or a versioned, signed release.
- Publish and verify a cryptographic checksum or signature for the expected skill artifact before installation.
- Use a lockfile or equivalent integrity metadata wherever the installation ecosystem supports it.
- Run installation with the minimum required privileges and avoid invoking the installer as an administrator or root user.
- Document how users can inspect the downloaded files and verify their provenance before enabling the skill.
- Pin the
