Malicious code in devplatform-vite-plugin-preserve-css-modules (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13274
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (0781a29416d218a9767f37894e3ad9a851110f50693a4bcb1ab6bd168e1f6feb) On require() of the package, index.js loads _loader.js which selects a platform-specific endpoint, downloads a native binary over HTTPS from string-split-obfuscated hosts (oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev) with a DNS TXT covert-channel fallback to sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru, writes it to /var/tmp or %TEMP% under a disguised name (.cache_<rnd> on Unix, dotnet_diag_<rnd>.exe on Windows), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. Execution is gated by a /tmp/.analytics_state TTL marker. Destination hostnames are assembled at runtime from split-string fragments to evade source-level review. The package name mimics an internal-sounding vite plugin but the shipped code fetches and executes an arbitrary native binary on the installer's machine at first require().
- Source published
- 5 Aug 2026 15:29:25 UTC
- Source modified
- 5 Aug 2026 16:50:28 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.