npm

commonjs-code-token @1.0.1

Vulnerability report · Last retrieved from osv.dev August 26, 2026 at 11:24 PM UTC

Malicious

OSV ID

MAL-2026-14534

Ecosystem

npm

Summary

On npm install, the package's postinstall hook runs index.js, which fetches JSON from https://access-token-delta.vercel.app and passes the returned token field directly to eval(). Whoever controls that endpoint obtains arbitrary code execution on the installing machine, and the fetched content is mutable at any time. The package advertises itself with a README for an unrelated multithreaded cache library (node-cache-multithread) while the actual package identity is commonjs-code-token, a metadata/behavior mismatch consistent with a cover story. No legitimate functionality is shipped in the package.

Source: amazon-inspector (c6ab469a55ec3f0650bc2185b91e884304cf1e370b1e17992a328479ce4883ad)

Protect your entire dependency tree

Scan your lock files automatically on every PR. Block malicious packages before they reach production.