flydev
Affected
- Versions:
0.0.1
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in flydev (npm)
---
_-= 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.
Not rated by the source.
0.0.1None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0