MAL-2025-46967
Dashboard / Malicious Package / MAL-2025-46967
MAL-2025-46967
Summary: Malicious code in ansi-styles (npm)
Details: The package was compromised and malicious code added. Source: ghsa-malware (f82dc187071d265457effc48cb50c7ac209143e5da1a502a633a1c35b88aac67) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References: https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised, https://www.bleepingcomputer.com/news/security/hackers-hijack-npm-packages-with-2-billion-weekly-downloads-in-supply-chain-attack/, https://github.com/advisories/GHSA-p5rr-crjh-x7gr
Affected packages
Package
Name: ansi-styles
Purl: pkg:npm/ansi-styles
Affected ranges
Type: N/A
Events:
