LWA-2026-7512 MAL-2026-12406 ↗ confirmed malware

pfa-errors@20.4.9

Malicious code in pfa-errors (npm)

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

Analysis

pfa-errors@20.4.9 is a trojanized npm package that downloads and executes a platform-specific binary payload on the installer's machine. When the package is required, _runtime.js fingerprints the OS and architecture (linux x64/arm64, macOS, Windows), then attempts to fetch a binary from three Cloudflare Workers C2 endpoints (oob-worker[.]cf100-416[.]workers[.]dev, oob-worker[.]cf102-baf[.]workers[.]dev, oob-worker[.]cf103-070[.]workers[.]dev) via HTTPS GET to paths like /pkg/package, /pkg/package-arm64, /pkg/loader_mac, or /pkg/package.exe. If HTTPS fails, it falls back to a DNS TXT-based exfiltration channel using c[.]tin[.]dl[.]well1[.]site. The downloaded binary is written to /var/tmp/.cache_<hex> (Linux/macOS) or %TEMP%\dotnet_diag_<hex>.exe (Windows) and executed as a detached background process. A cache file at /tmp/.analytics_state or %TEMP%\analytics_state prevents re-execution within ~5.7 hours.

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