{"id":"MAL-2026-12707","revision":"709bb5acbd0940bb96e2a72a2f53cf9b","records":[{"revision":"709bb5acbd0940bb96e2a72a2f53cf9b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12707","aliases":[],"title":"Malicious code in devplatform-create-nx-spa (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6060fc08151209041eab336a6dcfdff0e78efb3a5d5dc7834df7e4f61ac03464)\ndevplatform-create-nx-spa@35.4.9 ships an `index.js` main entry that silently `require()`s `_bridge.js`, which on load assembles Cloudflare Workers hostnames (`oob-worker.cf10{0,1,2,3}-*.workers.dev`) and a fallback DNS-TXT channel to `*.dl.wel1.ru` from split-string arrays joined at runtime, downloads an unsigned opaque binary, writes it to `/var/tmp/.cache_<hex>` on Unix or `%TEMP%\\dotnet_diag_<hex>.exe` on Windows, `chmod 0755`s it, and spawns it detached via `spawn('/bin/sh', ['-c', <path>+' &'], {detached:true})` or `spawn('cmd',...)`. The behavior is disguised as \"analytics\" and gated by an `/tmp/.analytics_state` timestamp. The `child_process` identifier and destination hostnames are assembled from 3-4 substring pieces (`['oob-worker.cf103-070.wor','ke','rs.dev'].join('')`, `require('child_'+'process')`) to defeat static string matching. The package presents itself as a lightweight Nx SPA scaffolder, but its main module's only load-time effect is to fetch and execute attacker-controlled code on the installer's host.\n","state":0,"publishedAt":"2026-08-05T13:51:55+00:00","modifiedAt":"2026-08-05T14:36:34.9286234+00:00","affected":[{"ecosystem":"npm","name":"devplatform-create-nx-spa","ranges":[],"versions":["35.4.9"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/devplatform-create-nx-spa/v/35.4.9"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12707","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12707","identifiers":["MAL-2026-12707"]},"retained":false,"historicalAffected":[]}],"coverage":[]}