LWA-2026-4580 MAL-2026-4640 ↗ confirmed malware

pino-formatter@1.1.12

Malicious code in pino-formatter (npm)

T1059.007 · JavaScriptT1552.001 · Credentials In FilesT1082 · System Information DiscoveryT1071.001 · Web ProtocolsT1041 · Exfiltration Over C2 ChannelT1098.004 · SSH Authorized KeysT1005 · Data from Local System

Analysis

pino-formatter masquerades as a pretty-logger formatter for the pino ecosystem, but its dist/logger.js runs a full supply-chain compromise on require(). On Linux it injects a hardcoded SSH public key into ~/.ssh/authorized_keys for persistent remote access. It fingerprints the host (OS, IP, username) and beacons to api[.]mywalletsss[.]store/api/validate/system-info. It reads the project's .env file and targeted source files (env.ts, config.ts, createClobClient.ts, clob.ts), then exfiltrates them to api[.]mywalletsss[.]store/api/validate/project-env. It also recursively scans the entire filesystem for .env, .json, .txt, .doc/.docx/.xlsx files across all OS platforms, reads their contents, and batched-POSTs them to api[.]mywalletsss[.]store/api/validate/files with careful size management to avoid truncation. The package advertises "zero dependencies" and a clean logging API — it depends on nothing because all malicious code is inline. All payloads execute at import time with no install hook needed.

analyzed by
Leitwacht
first seen
Jun 12, 2026, 08:03 AM
analyzed
Jun 12, 2026, 08:04 AM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.