MAL-2025-46976

    Dashboard / Malicious Package / MAL-2025-46976

    MAL-2025-46976

    Published: 8 Sept 2025Last Modified: 12 Sept 2025Aliases: 
    GHSA-jff9-gjh4-j359

    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.

    Affected packages

    Package

    Name: has-ansi

    Purl: pkg:npm/has-ansi

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    6.0.1