Malicious code in flydev (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-14243
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (7e8d7456b5f0f3d2d3115eed9624272036cad1316cd50ee05e4134e5fa30f8ca) The package advertises itself as a generic 'Utility' but ships a purely destructive payload hidden under a deeply nested single-letter directory tree (public/a/b/.../z/). Its only exported function invokes 26 sibling modules that target Windows hosts: forced reboot via `execSync('shutdown /r /f /t 0')`, recursive file destruction via `execSync('del /F /S /Q C:\*.*')` and `fs.unlinkSync` walks, termination of critical system processes (explorer, dwm, csrss) via wmic, memory exhaustion via unbounded array allocation loops, and a self-replicating fork bomb in i.js that runs `spawn(process.argv[0], [__filename], {detached:true}).unref()` in a `cpus*200` loop together with ~1000 detached `cmd` and ~500 detached `powershell` infinite-loop children (y.js). The package has no legitimate functionality; the cover-story name and hidden path structure indicate deliberate deception. Invocation of the package's exported API destroys the caller's filesystem, kills core OS processes, and drives the machine into an unrecoverable reboot loop / process explosion.
- Source published
- 19 Aug 2026 04:08:23 UTC
- Source modified
- 19 Aug 2026 04:30:10 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.