devplatform-snarkdownnpm
Advisory published Updated
devplatform-snarkdown is a confirmed malicious npm package (MAL-2026-12753) that steals credentials and exfiltrates sensitive data (malicious version 35.2.1). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in devplatform-snarkdown (npm)
What this malware does
On require of the package, shim.js selects a platform-specific URL, downloads a binary from hardcoded Cloudflare Workers hosts (oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev), and falls back to a DNS-TXT covert channel that reconstructs a base64 payload from chunked TXT records under wel1.ru subdomains (sdk/ext/pkg/net.dl.wel1.ru). The fetched bytes are written to a temp path under a masquerading name (e.g..cache* / dotnet_diag_*.exe), chmodded 0755 on POSIX, and spawned detached via /bin/sh -c or cmd.exe /c start /b. Hostnames and resolver domains are assembled at runtime by joining string fragments to defeat static analysis. A timestamped lockfile at /tmp/.analytics_state (or %TEMP%\analytics_state) gates re-execution for ~21201 seconds, and DISABLE_TELEMETRY / ANALYTICS_OPT_OUT / DO_NOT_TRACK env vars cause early return — a sandbox/CI evasion posture wrapped in telemetry cover-story naming. The package advertises itself as a markdown parser; downloading and executing a native binary at require time is unrelated to that purpose.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for devplatform-snarkdown (version 35.2.1).
If you installed it — respond
devplatform-snarkdown is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If devplatform-snarkdown was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks devplatform-snarkdown-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.