LWA-2026-4713 confirmed malware

prettlog@1.0.10

Malicious code in prettlog (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1552.001 · Credentials In FilesT1082 · System Information DiscoveryT1005 · Data from Local SystemT1071.001 · Web ProtocolsT1041 · Exfiltration Over C2 ChannelT1098 · Account Manipulation

Analysis

prettlog@1.0.10 poses as a logging library but contains a credential-harvesting implant. Its dist/index.js embeds a C2 endpoint (89[.]116[.]23[.]67:9001/poly) and when logger[.]info() is called, it scans the filesystem — including /, /root, /home, /var/www, /etc, /opt — for .env and .json files, reads them, base64-encodes their contents, and uploads them to the C2 via axios with up to 80 concurrent connections. It also writes to /root/.ssh/authorized_keys (SSH persistence). The postinstall hook is a decoy (just a comment); the real payload runs at runtime when the logger is used. The publisher ([account]

analyzed by
Leitwacht
first seen
Jun 12, 2026, 12:44 PM
analyzed
Jun 12, 2026, 12:45 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.