VYPR

npm · Malicious package advisory

Malware

eth-pino

GHSA-v75q-x2qc-4c7r

Malicious code in eth-pino (npm)

Details

**Severity:** Critical

**Affected versions:** `= 2.0.3`

## 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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/e4956292c0cf024519ebae88e8b315a0af37a829/osv/malicious/npm/eth-pino/MAL-2026-15554.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/e4956292c0cf024519ebae88e8b315a0af37a829/osv/malicious/npm/eth-pino/MAL-2026-15554.json
- https://www.npmjs.com/package/eth-pino/v/2.0.3
- https://github.com/advisories/GHSA-v75q-x2qc-4c7r

Compromised versions (1)

  • = 2.0.3

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.