T08 · Insecure Dependencies
- Location
README.md:19- Finding
Unpinned Package Execution in Installation Instructions
- Content
View full analysis
Vulnerability Details
File Location:
README.md:19-22
Vulnerability Type: Supply-chain risk caused by executing an unpinned remote npm package
Risk Level: MediumVulnerable Code
bash # For Claude Code / CodeBuddy users npx skills add your-username/pharmacoeconomic-evaluationTechnical Analysis
The documented installation command invokes
npxwith the unpinned package nameskills. If that package is unavailable locally,npxcan retrieve it from the configured npm registry and execute its command-line entry point immediately. No exact version, integrity constraint, verified publisher, or reviewed artifact is specified.Consequently, the code executed during installation can differ from the code that was reviewed. The Skill identifier is also the unresolved placeholder
your-username/pharmacoeconomic-evaluation, so the instructions do not establish a verified source identity for the installed Skill.Exploitation requires the package or dependency resolution path to become malicious or resolve to an unintended component. This could occur through package compromise, registry or configuration manipulation, publisher-account compromise, or substitution of the placeholder Skill source.
Attack Path
- An attacker compromises or controls the package resolved as
skills, one of its installation dependencies, or the repository substituted for the placeholder Skill identifier. - A user follows the installation instructions and runs the documented
npxcommand. npxdownloads the unresolved package and its dependencies from the configured registry.- The downloaded package's executable or lifecycle scripts run with the user's privileges.
- Malicious code can modify user-accessible files, steal data available to the user, alter the agent's Skill installation, or install attacker-controlled Skill content.
Impact Assessment
Successful exploitation would execute code with the p ...[truncated 499 chars]
- An attacker compromises or controls the package resolved as
- Remediation
View remediation
Remediation Suggestions
- Replace
your-username/pharmacoeconomic-evaluationwith the exact, verified repository owner and project identifier. - Pin the installer to a specific reviewed version rather than allowing
npxto resolve the latest release implicitly. - Document the expected package publisher, release digest, signature, and official registry.
- Prefer a download-and-verify workflow that checks a cryptographic checksum or signature before executing installation code.
- Audit and lock transitive dependencies for the installer and publish reproducible release artifacts.
- Warn users not to run the installer with administrator or root privileges.
- Provide a manual installation method from a versioned release as the recommended alternative, allowing users to inspect the files before placing them in the Skills directory.
- Replace
