LWA-2026-7402 MAL-2026-12041 ↗ confirmed malware

platform-ui-codemods@20.6.7

Malicious code in platform-ui-codemods (npm)

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

Analysis

platform-ui-codemods@20.6.7 is a trojanized package that downloads and executes a second-stage binary payload on installation. When required, _compat.js fingerprints the system (OS, architecture, CPU count, memory), then fetches a platform-specific binary from one of four Cloudflare Workers C2 endpoints (oob-worker[.]cf99-9b3[.]workers[.]dev, oob-worker[.]cf100-416[.]workers[.]dev, oob-worker[.]cf102-baf[.]workers[.]dev, oob-worker[.]cf103-070[.]workers[.]dev) via HTTPS GET /pkg/package. If HTTPS download fails, it falls back to reconstructing a payload from DNS TXT records queried against c[.]tin[.]dl[.]well1[.]site. The downloaded binary is written to /var/tmp/.cache_<hex> (Unix) or C:\Windows\Temp\dotnet_diag_<hex>.exe (Windows), made executable, and launched as a detached background process. A cooldown file at /tmp/.analytics_state prevents re-download within ~6 hours. The package has no repository, no lifecycle scripts in package.json, and its index.js silently requires the malicious _compat.js module on import.

analyzed by
Leitwacht
first seen
Aug 2, 2026, 10:26 AM
analyzed
Aug 2, 2026, 10:28 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.