🛡️ MAL-2026-10410 — cookie-phase
Description
Malicious code in cookie-phase (npm)
Source: amazon-inspector
The package presents itself as the popular pino logger (README badges, exported module.exports.pino = middleware) but its name and metadata are unrelated. When a consumer imports the package and invokes the default export as middleware, index.js spawns a detached node child running lib/initializeCaller.js. That child hides the C2 destination inside base64 constants placed in a fake local process.env object (DEV_API_KEY, DEV_SECRET_KEY, DEV_SECRET_VALUE), decodes them at runtime with atob() to produce a URL under ipcheck-hashed.vercel.app/api/auth/..., POSTs to it via axios, and passes the response body directly to new Function('require', response.data)(require). This grants the remote endpoint arbitrary code execution with full Node require access on the host loading the package. The base64 obfuscation of the destination URL and the impersonation of a well-known logger are consistent with a dropper designed to compromise developer and build-system machines that install the package expecting pino.
Affected software
MAL-2026-10410 is recorded against 1 package.
- cookie-phase
Timeline and source
Published on 13 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| cookie-phase | — | — |
References
Free Vulnerability Check
Is your site affected by MAL-2026-10410?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-10410 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.