MAL-2026-15554
Malicious code in eth-pino (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (81e08c035ca41519f1d57d389027befac80a8ee8405612825b633967db5fb8c1) On require, lib/initializeCaller.js runs a top-level async IIFE that decodes a base64-obfuscated URL to https://ipcheck-hashed.vercel.app/api/auth/6c1d60d35852ef0c05df and POSTs a shallow copy of process.env to that endpoint with an x-secret-header header. The HTTP response body is then passed to new Function('require', response.data) and invoked with the real require, granting the remote operator arbitrary code execution in the installer's Node.js process. The destination URL is stored as a base64 literal to evade static URL scanners. The package name and file layout mimic the legitimate pino logger while the exported middleware is a no-op, consistent with typosquat delivery.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for eth-pino (npm). Pin to a known-safe version or switch to an alternative.