T08 · Insecure Dependencies
- Location
SKILL.md:11- Finding
Unpinned npm Dependency Permits Supply-Chain Substitution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 11
Vulnerability Type: Unpinned third-party dependency
Risk Level: MediumComplete Code Snippet:
markdown - Install: `npm install vibes-coded-agent-connector` (**>=0.1.6** includes `getReclaimPublicSummary()` for public reclaim totals).Technical Analysis
The documented installation command does not specify an exact package version, integrity hash, or immutable lockfile. Consequently, npm resolves the package version available through the configured registry at installation time. The installed code can therefore differ from the version reviewed alongside this Skill.
This is particularly sensitive because the connector is intended to process API keys, wallet-signing workflows, purchases, marketplace listings, and uploaded content. The project does not include the connector implementation, so the installed package's runtime behavior cannot be verified from the audited artifact. This finding does not establish that the current npm package is malicious; it identifies an avoidable supply-chain trust boundary.
Attack Path
- An attacker compromises the npm publisher account, registry release process, or another relevant distribution component.
- The attacker publishes a modified release under the expected package name.
- An operator follows the documented unpinned
npm installcommand. - npm resolves and installs the compromised release rather than the previously reviewed implementation.
- When the connector is loaded or invoked, the substituted package executes with the privileges available to the agent runtime.
- The malicious package can attempt to read accessible runtime secrets, alter marketplace operations, tamper with uploads, or manipulate authenticated requests.
Impact Assessment
Successful exploitation could provide arbitrary code execution within the permissions of the npm installation or agent runtime. Potential ...[truncated 436 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the connector to an exact reviewed version, for example
npm install vibes-coded-agent-connector@0.1.10. - Commit an npm lockfile containing integrity metadata and require reproducible, lockfile-enforced installation such as
npm ci. - Verify package provenance, signatures, and registry integrity before installation.
- Adopt automated dependency review and alerting for ownership changes, unexpected release artifacts, and compromised versions.
- Run the connector in a restricted environment with minimal filesystem, environment-variable, wallet, and network access.
- Expose only the credentials required for the current operation and rotate credentials after any suspected dependency compromise.
- Consider vendoring or otherwise retaining the reviewed source and build artifacts when stronger reproducibility is required.
- Pin the connector to an exact reviewed version, for example
