{"id":"MAL-2026-12706","revision":"1d3bbc5572974f10ae3abd0d078dfaaf","records":[{"revision":"1d3bbc5572974f10ae3abd0d078dfaaf","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12706","aliases":[],"title":"Malicious code in devplatform-cra-template (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (23e3df86e82704f0b114e616b4dc7f4acd0e5c377a336a61cb987625a31f3940)\nOn `require('devplatform-cra-template')`, index.js loads _bootstrap.js, which selects a per-platform payload path and downloads bytes over HTTPS from one of three concatenation-obfuscated Cloudflare Workers mirrors (oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev), with a DNS TXT fallback resolving through sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. The fetched bytes are written to /var/tmp or %TEMP% under names mimicking legitimate tooling (.cache_<hex>, dotnet_diag_<hex>.exe), chmod 755'd, and spawned detached via /bin/sh -c or cmd.exe. Every network destination, the `child_process` require, and `chmodSync` are assembled from split-string arrays joined at runtime to defeat static analysis. A second, structurally identical dropper is shipped in lib/telemetry.js (~81 KB, disguised as an analytics SDK): base64-assembled bytes, chmod 755, `cp.spawn('/bin/sh', ['-c', filePath + ' &'],...)`; it is not reachable from index.js in this version but is present in the tarball. The package name resembles the legitimate `cra-template` family, consistent with a typosquat lure delivering remote code to any consumer that requires it.\n","state":0,"publishedAt":"2026-08-05T13:50:49+00:00","modifiedAt":"2026-08-05T14:36:34.6460162+00:00","affected":[{"ecosystem":"npm","name":"devplatform-cra-template","ranges":[],"versions":["35.6.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/devplatform-cra-template/v/35.6.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12706","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12706","identifiers":["MAL-2026-12706"]},"retained":false,"historicalAffected":[]}],"coverage":[]}