{"id":"MAL-2026-12783","summary":"Malicious code in devplatform-spa-route-tree (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (eabd446648c0aff2fa8f21202eeee1f46366ff6678c7811f951ff7f2413616cd)\nOn require() of devplatform-spa-route-tree, index.js loads _loader.js which downloads a platform-specific binary from hostnames assembled via array-join string splits — Cloudflare Workers subdomains (oob-worker.cf103-070.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev) with a DNS-TXT chunked fallback under *.dl.wel1.ru. The fetched bytes are written to /tmp/.cache_\u003chex\u003e on Unix or %TEMP%\\dotnet_diag_\u003chex\u003e.exe on Windows (masquerading as.NET diagnostic tooling), chmod 0755, and spawned detached via cp.spawn('/bin/sh', ['-c', fp + ' &'], {detached:true}) or the Windows cmd equivalent. Destination hostnames are split across array literals and reassembled at runtime to evade static matching, and environment-variable checks for DISABLE_TELEMETRY/ANALYTICS_OPT_OUT/DO_NOT_TRACK are used as cover framing. The fetched binary is opaque, unpinned, unverified, and served from non-publisher infrastructure.\n","modified":"2026-08-05T14:37:08.902243521Z","published":"2026-08-05T13:40:59Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-05T13:40:59Z","sha256":"eabd446648c0aff2fa8f21202eeee1f46366ff6678c7811f951ff7f2413616cd","source":"amazon-inspector","versions":["35.1.3"],"id":"IN-MAL-2026-014995","import_time":"2026-08-05T14:19:50.600973422Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/devplatform-spa-route-tree/v/35.1.3"}],"affected":[{"package":{"name":"devplatform-spa-route-tree","ecosystem":"npm","purl":"pkg:npm/devplatform-spa-route-tree"},"versions":["35.1.3"],"database_specific":{"indicators":{"evidence_files":[{"tlsh":"45a195aa166a30184bb0d7e4c7175415f65af66333808294fb6ca5981fb722483b2dfc","path":"_loader.js","sha256":"9adf29bc713b62cfb8f6b0ebe8a7a17ea4bd32c481f8f963e84e7caeddc334b1"}],"package_integrity":[{"filename":"devplatform-spa-route-tree-35.1.3.tgz","hashes":{"sha512_sri":"sha512-otWaduNtYisaMtCRk9R/XmVAvicx4pg9X9O7IsAoivlNGHr0/SI/YFnBcFS6TdtuyTU5xZXGd9tsRPjQGNBrUg==","sha1":"cf25373ab0690e34d4b5474b50f4a3b82f68b43f"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-spa-route-tree/MAL-2026-12783.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}]}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}