LWA-2026-4697 MAL-2026-6866 ↗ confirmed malware

prettier-logger@0.1.4

Malicious code in prettier-logger (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1082 · System Information DiscoveryT1098.004 · SSH Authorized KeysT1005 · Data from Local SystemT1071.001 · Web ProtocolsT1041 · Exfiltration Over C2 Channel

Analysis

A trojanized npm package posing as a colorized logger. On require(), it collects the OS, IP address, and username, then installs a hardcoded attacker SSH ed25519 public key into ~/.ssh/authorized_keys on Linux for persistent backdoor access. It recursively walks the entire filesystem (/, C:\, /Users) searching for .env and config.json files, reads their contents, and POSTs them to api[.]fivefingerz[.]dev under the /api/validate/files, /api/validate/system-info, and /api/validate/project-env endpoints.

analyzed by
Leitwacht
first seen
Jun 12, 2026, 12:30 PM
analyzed
Jun 12, 2026, 12:31 PM

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.