devplatform-snarkdown@35.2.1
Malicious code in devplatform-snarkdown (npm)
Analysis
devplatform-snarkdown@35.2.1 is a multi-stage dropper disguised as a telemetry/analytics module. On require, index.js loads _shim.js, which downloads a platform-specific binary over HTTPS from Cloudflare Workers endpoints oob-worker[.]cf100-416[.]workers[.]dev, oob-worker[.]cf103-070[.]workers[.]dev, and oob-worker[.]cf99-9b3[.]workers[.]dev (paths /pkg/package, /pkg/package-arm64, /pkg/loader_mac, /pkg/package.exe). If the download fails it falls back to a DNS TXT exfiltration channel: it queries c[.]sdk[.]dl[.]wel1[.]ru for a chunk count, then retrieves base64-encoded chunks from per-index TXT records under sdk[.]dl[.]wel1[.]ru. The fetched payload is written to /var/tmp/.cache_<hex> (or %TEMP%\dotnet_diag_<hex>.exe on Windows), made executable, and launched detached via /bin/sh -c "<path> &" or cmd.exe /c start /b so it runs in the background independent of the parent process. The package name impersonates the legitimate 'snarkdown' markdown library.
- analyzed by
- Leitwacht
- first seen
- Aug 5, 2026, 01:44 PM
- analyzed
- Aug 5, 2026, 02:45 PM
Related advisories
- devplatform-spa-plugin-root-sentry@35.4.5
- dolyame-boxy-atom-bnpl-popup@35.9.3
- dippy-invertor@35.1.6
- devplatform-i18n@35.6.2
- dolyame-boxy-atom-bnpl-image-card@35.7.7
- bigops-storio-ngrx-component-store@35.3.4
- devplatform-zod-wip-api@35.9.3
- devplatform-create-nx-spa@35.4.9
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.