flydevnpm
flydev is a confirmed malicious npm package (MAL-2026-14243) that runs destructive / sabotage code (malicious version 0.0.1). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in flydev (npm)
What this malware does
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.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Destructive / sabotageFind it
Search your lockfiles and build artifacts for flydev (version 0.0.1).
If you installed it — respond
flydev carries a destructive/sabotage payload. Remove it immediately, restore any affected data from clean backups, and verify integrity of build outputs that may have been tampered with.
Did it already run?
If flydev was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks flydev-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.