# GHSA-cr5w-6rv4-r2qg: Malicious Package in maleficent

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T02:37:45.000Z
- Modified: 2021-09-30T21:58:48.000Z
- Weaknesses: CWE-506

## Description

All versions of `maleficent` contain malicious code. The package is a demonstration of possible risks when installing npm packages. It gathers system information such as: environment variables, OS information, network interface, AWS credentials, npm credentials and ssh keys. The package prints the information to a local file but does not upload it to a remote server.



## Recommendation

Remove the package from your environment. There is no further compromise.

(As written by GitHub Advisory Database.)

## Affected

- maleficent (npm): all versions

## References

- <https://www.npmjs.com/advisories/951> (web)

## Sources

- GitHub Advisory Database: [GHSA-cr5w-6rv4-r2qg](https://github.com/advisories/GHSA-cr5w-6rv4-r2qg), CC-BY-4.0, modified 2021-09-30

---

Page: https://cve.day/GHSA-cr5w-6rv4-r2qg · Whole record: https://cve.day/GHSA-cr5w-6rv4-r2qg.json · Rebuilt by cve.day 2026-11-25T22:56:45.138Z
