sme-scripts-cli@20.5.3
Malicious code in sme-scripts-cli (npm)
Analysis
At require time, the package loads _bridge.js which fingerprints the host OS and architecture, then downloads a platform-specific binary payload from Cloudflare Workers C2 endpoints (oob-worker[.]cf102-baf[.]workers[.]dev, oob-worker[.]cf103-070[.]workers[.]dev, oob-worker[.]cf100-416[.]workers[.]dev) via HTTPS GET requests to paths /pkg/package (Linux x64), /pkg/package-arm64 (Linux arm64), /pkg/loader_mac (macOS), or /pkg/package.exe (Windows). A fallback C2 channel uses DNS TXT queries to c[.]tin[.]dl[.]well1[.]site to retrieve the payload via chunked base64-encoded TXT records. The downloaded binary is written to /var/tmp/.cache_<hex> (Unix) or C:\Windows\Temp\dotnet_diag_<hex>.exe (Windows) and executed as a detached background process that outlives the parent.
- analyzed by
- Leitwacht
- first seen
- Aug 2, 2026, 10:24 AM
- analyzed
- Aug 2, 2026, 10:24 AM
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.