T08 · Insecure Dependencies
- Location
SKILL.md:12- Finding
Unpinned Third-Party Package Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 12-15 and 27-31
Vulnerability Type: Supply-chain exposure through an unpinned npm dependency
Risk Level: MediumVulnerable Code
yaml install: - kind: node package: "@auteng/pocket-money" bins: []markdown Install the pocket-money library: ```bash npm install @auteng/pocket-moneytext ### Technical Analysis The Skill installs `@auteng/pocket-money` without specifying an exact version or an integrity-verified lockfile. Consequently, installation resolves whichever package release the npm registry currently associates with the applicable default tag, normally `latest`. The installed dependency handles cryptocurrency wallet creation and private keys. A compromised publisher account, malicious future release, registry compromise, or dependency takeover could therefore introduce code that differs from the version originally reviewed. The artifact contains no implementation or lockfile with which to independently verify the installed package's behavior. ### Attack Path 1. An attacker compromises the npm publisher, package release process, or registry entry for `@auteng/pocket-money`. 2. The attacker publishes a malicious release under the package's default distribution tag. 3. The Agent follows the Skill instructions and runs `npm install @auteng/pocket-money`, or the Skill framework performs the equivalent unpinned installation. 4. npm downloads and executes the changed package with the Agent process's local filesystem and network permissions. 5. Malicious package code accesses wallet files, substitutes payment destinations, captures newly generated private keys, or transmits sensitive material externally. 6. The attacker uses any captured keys to authorize unauthorized blockchain transactions. ### Impact Assessment Successful exploitation could provide access to the files and network resources available to the Agent's operating-system account. In the context of ...[truncated 442 chars]- Remediation
View remediation
Remediation Suggestions
- Pin
@auteng/pocket-moneyto an exact, reviewed version in both installation declarations and examples; do not use version ranges or mutable distribution tags. - Commit a package lockfile containing registry integrity hashes and install with
npm ci. - Review the package source and its transitive dependencies before approving upgrades.
- Use automated dependency monitoring, provenance verification, and signature or attestation checks where available.
- Prefer vendoring the reviewed implementation or including auditable source in the Skill artifact when it handles private keys.
- Run the dependency with least privilege, restricted filesystem access, and network egress controls.
- Require explicit review whenever the pinned version or lockfile changes.
- Pin
