{"schema_version":"1.8.0","id":"MAL-2026-12774","published":"2026-08-05T13:41:40Z","modified":"2026-08-05T14:37:04.520756461Z","summary":"Malicious code in devplatform-spa-plugin-query (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (749fb409dca041d1e546949cfb546398db8752d59153c18e675f691231f3f1c0)\nOn require() of the package, index.js loads _bootstrap.js, which assembles a C2 hostname by string-splitting fragments (oob-worker.cf*.workers.dev), selects a platform-specific payload path (/pkg/package, /pkg/package.exe, /pkg/loader_mac, /pkg/package-arm64), fetches opaque bytes over HTTPS, writes them to a temp path with cover-story names (e.g. dotnet_diag_*.exe,.cache_*), chmods 0755 on Unix or launches via cmd /c start on Windows, and spawns the payload detached via /bin/sh -c. A DNS-TXT chunked-transfer channel (dnsChunked reading c.<domain> and i.<domain> TXT records over sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru) is provided as a covert fallback when HTTPS is blocked. No hash or signature verification is performed on the fetched binary.\n","affected":[{"package":{"name":"devplatform-spa-plugin-query","ecosystem":"npm","purl":"pkg:npm/devplatform-spa-plugin-query"},"versions":["35.8.5"],"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":"_bootstrap.js","sha256":"0b8c2a50f67ea83b100bce4247182cb64e097d38f1b86e231f6b670ae6c4f15d","tlsh":"81a1746615a970184bb0ebe4c7075419f65af76332808298f7ac65d81fb322483f2efc"}],"package_integrity":[{"filename":"devplatform-spa-plugin-query-35.8.5.tgz","hashes":{"sha1":"6a959efb49e273cd056caeee10502d4f2e33be0d","sha512_sri":"sha512-Az3/GVrRsuUB6kO5G+cIBfvXjvq+Cu4vKV1wdzZLs0Apv8kPNBdlVa6hCNLBWB9ak+nul5Ts5Gz4JBFS8Rc4vg=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-spa-plugin-query/MAL-2026-12774.json"}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/devplatform-spa-plugin-query/v/35.8.5"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015000","import_time":"2026-08-05T14:19:51.135672464Z","modified_time":"2026-08-05T13:41:40Z","sha256":"749fb409dca041d1e546949cfb546398db8752d59153c18e675f691231f3f1c0","source":"amazon-inspector","versions":["35.8.5"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}