VDB
Sign up
—

MAL-2025-46966

Malicious code in ansi-regex (npm)

Details

The package was compromised and malicious code added.

--- _-= Per source details. Do not edit below this line.=-_

## Source: ghsa-malware (2777701ac1bf8726f2ea353b404c7d765ea3eb7bf0506207db828590ade1bf6e) 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/ansi-regex

No fixed version published yet for ansi-regex (npm). Pin to a known-safe version or switch to an alternative.

References