npm vulnerability intelligence

ansi-regex NPM Package
Vulnerability Check

Regular expression for matching ANSI escape codes

High severity MIT v6.2.2
Vulnerability Analysis OSV Live

ansi-regex

v6.2.2 · MIT · 460,192,776 dl/wk

Advisory Breakdown

Critical 0
High 1
Moderate 0
Low 0

Severity Rating

High severity

2 advisories

High severity

Weekly downloads

460,192,776

Total advisories

2

Latest version

6.2.2

License

MIT

Known advisories

OSV records for the npm ecosystem

2
GHSA-93q8-gq69-wqmw CVE-2021-3807 high

Inefficient Regular Expression Complexity in chalk/ansi-regex

Affected: >=6.0.0 <6.0.1, >=5.0.0 <5.0.1, >=4.0.0 <4.1.1, >=3.0.0 <3.0.1 Fixed in: 6.0.1, 5.0.1, 4.1.1, 3.0.1 Updated Feb 4, 2026
View source
MAL-2025-46966 GHSA-jvhh-2m83-6w29 unknown

Malicious code in ansi-regex (npm)

Updated Sep 12, 2025
View source

Checked May 22, 2026, 7:07 PM from npm and OSV.dev

Package metadata

From the npm registry

Package name
ansi-regex
Ecosystem
npm
Latest version
6.2.2
License
MIT
Weekly downloads
460,192,776

Remediation boundary

What RequestGuard does — and doesn't — cover

RequestGuard does not fix npm package vulnerabilities. Dependency remediation happens through package updates, patches, lockfile changes, and maintainer guidance. RequestGuard can help mitigate runtime abuse around exposed web and API flows while remediation is handled separately.

Signup flows
Login attempts
API traffic

Data from npm registry and OSV.dev · Checked 5/22/2026, 7:07:05 PM