GitHub Advisoryadvisory · npm
GHSA-w3f3-4j22-2v3p Malicious Package in destroyer-of-worlds
CRITICAL
Official page ↗
- Ecosystem
- npm
- Packages
- destroyer-of-worlds
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-506
- Reviewed
- 2020-08-31
Affected packages
• npm destroyer-of-worlds: all versions (no fix yet)
Description
The package `destroyer-of-worlds` contained malicious code. The package contained a bash script that was run as a postinstall script. The script deleted system files and attempted to exhaust resources by creating a large file, a fork bomb and an endless loop. The script targeted UNIX systems.
Recommendation
Remove the package from your environment and perform additional incident response on your system's files and processes.
Related
Weakness · CWE (1)
- CWE-506 Embedded Malicious Code weakness