VDB
KO

MAL-2026-14243

Malicious code in flydev (npm)

Details

--- _-= 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / flydev

No fixed version published yet for flydev (npm). Pin to a known-safe version or switch to an alternative.

References