MAL-2025-46976
Dashboard / Malicious Package / MAL-2025-46976
MAL-2025-46976
Summary: Malicious code in has-ansi (npm)
Details: The package was compromised and malicious code added. Source: ghsa-malware (0a7c0276dba3d39617d4cc7e1fdb42b46ca93ca1617825b962fc557c242ea516) 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-jff9-gjh4-j359
Affected packages
Package
Name: has-ansi
Purl: pkg:npm/has-ansi
Affected ranges
Type: N/A
Events:
