T08 · Insecure Dependencies
- Location
SKILL.md:73- Finding
Unverified npm Dependency Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:73andSKILL.md:315
Vulnerability Type: Supply-chain exposure through runtime dependency installation
Risk Level: MediumVulnerable Code Snippet
bash npm install express@4.21.2The same installation requirement is repeated in the dependency table:
text Express | npm package | Required | npm install express@4.21.2Technical Analysis
The Skill instructs the Agent to download and install Express directly from the configured npm registry. Although the dependency name is conventional and the direct version is pinned, the project provides no lockfile, package integrity hash, vendored dependency, or server implementation against which the dependency tree can be verified.
An npm installation may process transitive packages and package lifecycle scripts with the privileges of the user running the Agent. Version pinning alone does not validate package integrity or fully constrain transitive dependencies.
The audit found no evidence that
express@4.21.2is malicious. The confirmed issue is that the installation procedure lacks supply-chain verification and hardening.Attack Path
- The user invokes the Skill and follows its setup instructions.
- The Agent executes
npm install express@4.21.2. - npm contacts the configured package registry and resolves the package and its transitive dependencies.
- If the registry, local npm configuration, package artifact, or a transitive dependency has been compromised, attacker-controlled package content may be installed.
- Any permitted lifecycle script executes with the Agent user's local privileges.
Impact Assessment
Successful exploitation could execute arbitrary code with the privileges of the user running npm. This may permit access to files available to that account, including the dashboard's email, session, task, configuration, and log data.
The scope is limited by the i ...[truncated 139 chars]
- Remediation
View remediation
Remediation Suggestions
- Include the complete, auditable server source in the Skill package.
- Commit a package lockfile and use
npm cirather than unconstrained installation. - Record and verify dependency integrity hashes.
- Use
npm ci --ignore-scriptswhen lifecycle scripts are not required. - Document the expected npm registry and reject unexpected registry overrides.
- Audit both direct and transitive dependencies before release.
- Run dependency installation and the dashboard under a dedicated, minimally privileged account or sandbox.
