T08 · Insecure Dependencies
- Location
SKILL.md:294- Finding
Unpinned Third-Party Executable Dependencies
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:294,SKILL.md:380, andSKILL.md:383
Vulnerability Type: Supply-chain exposure through unpinned executable dependencies
Risk Level: MediumEvidence
bash pip install code-runner-probash npm install -g @anthropic-ai/claude-code pip install psutilTechnical Analysis
The installation instructions do not pin exact package versions, verify package hashes, or use a committed dependency lockfile. Consequently, the code installed and executed may change without any corresponding change to the reviewed Skill.
The
code-runner-prodependency supplies the core execution behavior advertised by the Skill, but its source code is not included in the audited artifact. Its handling of prompts, commands, credentials, isolation, and audit data therefore cannot be verified from this project.Global installation of the npm package increases the potential impact because it may expose the package to a broader execution context and can replace an existing command available to multiple projects.
Attack Path
- An attacker compromises a dependency publisher account, package registry, or a transitive dependency.
- The attacker publishes a malicious release under one of the referenced package names.
- A user follows the documented installation commands without a version or integrity constraint.
- The package manager resolves and installs the attacker-controlled release.
- Installation hooks or subsequently invoked package functionality execute malicious code with the privileges of the user running the installation.
- If the installation or runner is invoked with the separately documented root or sudo permissions, the compromise may extend to the entire host.
Impact Assessment
Successful exploitation permits code execution with the privileges of the installer or runner account. Potential effects include repository modification, sour ...[truncated 207 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin every dependency to an audited exact version.
- Use committed lockfiles and require cryptographic hash verification where supported.
- Include the source of the core runner in the reviewed artifact or provide a reproducible build and verifiable source reference.
- Avoid global package installation; install dependencies in an isolated virtual environment or container.
- Disable package installation scripts unless they are explicitly required and audited.
- Continuously scan direct and transitive dependencies for known vulnerabilities and unexpected ownership changes.
- Document the verified package publisher, registry, expected package hashes, and upgrade-review process.
