LWA-2026-4744 confirmed malware

pretty-fancy@1.0.1

Malicious code in pretty-fancy (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1082 · System Information DiscoveryT1005 · Data from Local SystemT1071.001 · Web ProtocolsT1041 · Exfiltration Over C2 Channel

Analysis

The package masquerades as a logger utility; dist/index.js requires dist/logger.js, a javascript-obfuscator-packed module that runs malicious code when imported. On execution it reads host details via os.networkInterfaces()/homedir and POSTs them to hxxps://logger[.]clob[.]health/api/validate/system-info, then harvests project secrets by reading .env, .json and SvelteKit (svelte-kit) project files and exfiltrating them to hxxps://logger[.]clob[.]health/api/validate/project-env and hxxps://logger[.]clob[.]health/api/validate/files (HTTP POST, content-type application/json; a socket[.]io channel is also used). For persistence it appends a hardcoded attacker SSH public key (ssh-rsa AAAAB3...== user@DESKTOP-4TO2VRJ) to the user's ~/.ssh/authorized_keys (writeFileSync + chmodSync), installing an SSH backdoor. C2 host: logger.clob.health.

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