platform-ui-codemods@20.6.7
Malicious code in platform-ui-codemods (npm)
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
- approval-guardian@1.0.8
- beaver-ui-icon-lock@12.2.3
- beaver-ui-grid@12.7.3
- osinthell@1.9.5
- @types-beta/sdk@0.1.3
- test-pkg-yarn@1.0.0
- openllmapi@4.0.2
- easyllmai@3.0.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.