Malicious code in eth-pino (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-15554
Published--- _-= 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.
- Source published
- 29 Aug 2026 02:13:50 UTC
- Source modified
- 29 Aug 2026 02:30:12 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.