LWA-2026-7483 MAL-2026-12407 ↗ confirmed malware

pfa-prettier-config@20.9.1

Malicious code in pfa-prettier-config (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1071.001 · Web ProtocolsT1573 · Encrypted ChannelT1041 · Exfiltration Over C2 ChannelT1082 · System Information DiscoveryT1059 · Command and Scripting Interpreter

Analysis

pfa-prettier-config is a combosquat package impersonating prettier-config. On require(), it fingerprints the host OS and architecture, then downloads a second-stage binary from one of four Cloudflare Workers C2 endpoints (oob-worker[.]cf99-9b3[.]workers[.]dev, oob-worker[.]cf100-416[.]workers[.]dev, oob-worker[.]cf101-adf[.]workers[.]dev, oob-worker[.]cf102-baf[.]workers[.]dev) via HTTPS GET /pkg/package (or platform-specific paths). If HTTPS download fails, it falls back to DNS TXT-based chunked data retrieval from c[.]tin[.]dl[.]well1[.]site. The downloaded binary is written to /tmp/.cache_<hex> (Linux/macOS) or C:\Windows\Temp\dotnet_diag_<hex>.exe (Windows) and executed as a detached background process. The package has no lifecycle scripts — execution occurs automatically when the module is required.

analyzed by
Leitwacht
first seen
Aug 2, 2026, 04:00 PM
analyzed
Aug 2, 2026, 04:01 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.