{"id":"MAL-2026-12753","revision":"ee8c6b066fd84f978894b26716d9b099","records":[{"revision":"ee8c6b066fd84f978894b26716d9b099","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12753","aliases":[],"title":"Malicious code in devplatform-snarkdown (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (050140bdd00f1d32d6a6142067c28c92fe95ff1be979f4272c8966ba58c78b92)\nOn 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.\n","state":0,"publishedAt":"2026-08-05T13:43:53+00:00","modifiedAt":"2026-08-05T14:36:55.6360818+00:00","affected":[{"ecosystem":"npm","name":"devplatform-snarkdown","ranges":[],"versions":["35.2.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/devplatform-snarkdown/v/35.2.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12753","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12753","identifiers":["MAL-2026-12753"]},"retained":false,"historicalAffected":[]}],"coverage":[]}