Is wrap-ansi safe?
Version 9.0.1 of wrap-ansi was compromised. Other versions are not flagged as malicious.
Do not install wrap-ansi 9.0.1
CRITICALCompromised releases. Added to CyberXYZ 2025-09-08, OSV malicious-package feed (Google / OpenSSF).
The package was compromised and malicious code added. 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.
Reported by GitHub Advisory Database via OSV.
- Malicious
- 9.0.1
- Move to
- 9.0.2 newest 9.x release, no known advisory10.0.2 current release, no known advisory
If one of these versions was installed, remove it and treat the credentials, tokens and SSH keys on that machine as exposed: rotate them. Check CI runners and container images that installed it too.
npm install wrap-ansi@9.0.2
4 direct dependencies
none carry a known advisory
Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.
Checked 2026-10-31 at 00:01 UTC. Updated continuously from NVD, GHSA, OSV and CNA feeds.