T08 · Insecure Dependencies
- Location
README.md:18- Finding
Unpinned Third-Party Installer and Skill Source
- Content
View full analysis
Vulnerability Details
File Location:
README.md, lines 18-20
Vulnerability Type: Unpinned third-party installation dependencies
Risk Level: MediumVulnerable Code
bash npx skills add hooked-so/hooked-skillTechnical Analysis
The documented installation command uses
npxto obtain and execute theskillspackage without specifying a verified version. It also identifies the Skill through a mutable repository reference rather than an immutable commit or signed release.Consequently, the components installed or executed when this command is run can differ from those reviewed during this audit. If the npm package, its dependency chain, its publishing account, or the referenced repository is compromised, the installation process could deliver modified instructions or execute malicious installer behavior under the invoking user's account.
The audited artifact itself contains no bundled dependencies, lifecycle scripts, or executable source code. The risk specifically arises from the mutable external supply chain used by the documented installation procedure.
Attack Path
- An attacker compromises the unversioned
skillsnpm package, one of its dependencies, its publisher account, or thehooked-so/hooked-skillupstream repository. - The attacker publishes a malicious package version or changes the mutable repository content.
- A user follows the documented command:
bash npx skills add hooked-so/hooked-skill npxretrieves the currently available installer rather than a previously audited, pinned version.- The installer retrieves the current repository content rather than an immutable reviewed revision.
- Malicious installation code may run with the user's privileges, or altered Skill instructions may be installed and subsequently loaded by the user's AI agent.
Impact Assessment
Successful exploitation could permit arbitrary actions within the privileges of the user running the installation c ...[truncated 507 chars]
- An attacker compromises the unversioned
- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsnpm package to a reviewed exact version:bash npx skills@X.Y.Z add hooked-so/hooked-skill - Pin the Skill source to an immutable commit hash or cryptographically signed release instead of a mutable repository branch.
- Publish checksums or signatures for released Skill artifacts and document how users can verify them before installation.
- Use npm lockfiles and integrity metadata where applicable to constrain transitive dependencies.
- Document a manual installation option that downloads a specific release artifact, verifies its checksum, and installs only the reviewed
SKILL.md. - Avoid recommending elevated execution and explicitly instruct users not to run the installer with administrator or root privileges.
- Establish release signing, protected branches, mandatory review, and multi-factor authentication for npm and repository publisher accounts.
- Pin the
