pfa-errors@20.4.9
Malicious code in pfa-errors (npm)
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
- twork-data-services-counterfree@20.1.3
- dolyame-boxy-independent-bnpl-open-api@20.8.9
- scrollbar-hide-plugin@1.0.1
- tailwindcss-anim@1.3.3
- sme-auth-core@20.9.2
- bigops-voximplant@20.8.5
- tailwind-custom-forms@0.5.2
- twork-data-services-sme-operations-authorizations@20.8.9
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.