{"id":"GHSA-cr5w-6rv4-r2qg","aliases":["GHSA-cr5w-6rv4-r2qg"],"related":[],"kind":"vulnerability","state":"published","title":"Malicious Package in maleficent","summary":"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.\n\n\n\n## Recommendation\n\nRemove the package from your environment. There is no further compromise.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\n\n\n## Recommendation\n\nRemove the package from your environment. There is no further compromise.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T02:37:45.000Z","modified":"2021-09-30T21:58:48.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-506"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"npm","package":"maleficent","purl":"pkg:npm/maleficent","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/951","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cr5w-6rv4-r2qg","url":"https://github.com/advisories/GHSA-cr5w-6rv4-r2qg","licence":"CC-BY-4.0","modified":"2021-09-30T21:58:48.000Z"}],"updatedAt":"2026-11-25T22:56:45.138Z"}