OpenSSF/OSV advisory MAL-2026-14243 confirms this npm version as malicious. 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...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in flydev (npm)
Details
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.
Decision reason
OpenSSF Malicious Packages via OSV confirms flydev@0.0.1 as malicious (MAL-2026-14243): Malicious code in flydev (npm)