{"schema_version":"1.8.0","id":"MAL-2026-12729","published":"2026-08-05T13:48:36Z","modified":"2026-08-05T14:36:45.359216977Z","summary":"Malicious code in devplatform-nx-svelte (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (19a9e164d3a912ce2cb11abb935eb46fdfa9bb7ef12acbe4a305867cb8942306)\nOn require of the package, _compat.js constructs C2 hostnames by joining split string fragments to evade static inspection, downloads a platform-specific executable from Cloudflare Workers subdomains (oob-worker.cf1**-***.workers.dev), and falls back to a DNS-TXT covert channel that reassembles base64 chunks from TXT records at c.<subdomain>.dl.wel1.ru / N.<subdomain>.dl.wel1.ru across sdk/ext/pkg/net.dl.wel1.ru. The retrieved bytes are written to a temp path with a disguised name (e.g. dotnet_diag_*.exe,.cache_*), chmodded 755 on Unix, and spawned detached via /bin/sh -c '<path> &' or cmd.exe /c start /b. Cover-story naming (markerPath 'analytics_state', a DISABLE_TELEMETRY opt-out, and a no-op _l logger) frames the dropper as telemetry. The fetch targets are not the package's publisher, the payload is opaque, and there is no integrity verification. The package name resembles legitimate Nx/Svelte tooling but the shipped code performs unauthenticated remote code execution on every installer that imports it.\n","affected":[{"package":{"name":"devplatform-nx-svelte","ecosystem":"npm","purl":"pkg:npm/devplatform-nx-svelte"},"versions":["35.6.8"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"_compat.js","sha256":"2b6b7d15bcbe23de076ba09b1e1c06a6ad7f838652a1a1e87b4fe256fd139adc","tlsh":"25a1869a1666711c8bb097e4871b4816f65bf6633380c695fb9c65980fb212883b1efc"}],"package_integrity":[{"filename":"devplatform-nx-svelte-35.6.8.tgz","hashes":{"sha1":"84b80e700957533f27e747f477254503f7a9041f","sha512_sri":"sha512-FFaWrHfWrcs/vKojfzFsNxuQN/TjlGOWTyb3KcG0lo4/lEDu+p4TT95TFMmnzEsjNeEj9KoAhFMFhjrUvvFhoQ=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-nx-svelte/MAL-2026-12729.json"}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/devplatform-nx-svelte/v/35.6.8"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015048","import_time":"2026-08-05T14:19:56.475490166Z","modified_time":"2026-08-05T13:48:36Z","sha256":"19a9e164d3a912ce2cb11abb935eb46fdfa9bb7ef12acbe4a305867cb8942306","source":"amazon-inspector","versions":["35.6.8"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}