npm package
ansi-regex 0.2.0: no known vulnerabilities
ansi-regex 0.2.0 has no known vulnerabilities in OSV.dev.
npm (opens in a new tab) describes it as “Regular expression for matching ANSI escape codes”
- Known vulnerabilities
- 0
- None in OSV.dev
- Released
- Jun 14, 2014
- Latest is 6.4.0
- Downloads last week
- 53
- Under 1% of ansi-regex downloads
- Licence
- MIT
- Dependencies
- None
- Resolved by deps.dev
Newer releases
0.2.0 has nothing to fix today. Newer releases, for when you upgrade:
Newest 0.2.x release. Released Jun 20, 2014.
No known vulnerabilitiesLatest release. Released Sep 27, 2026.
No known vulnerabilities
Hand the fix to your coding agent
One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.
Findings
- WarningOutdated
ansi-regex 0.2.0 is 6 major versions behind
Latest release is 6.4.0.
- LowOpenSSF Scorecard
sindresorhus/ansi-regex scores 3.8/10 on OpenSSF Scorecard
Weakest checks: No branch protection (Branch-Protection 0/10); Over-privileged CI tokens (Token-Permissions 0/10); Unpinned build dependencies (Pinned-Dependencies 0/10). A low score means weaker upstream security practices, not a known vulnerability.
Who is still on a vulnerable ansi-regex
2% of last week’s 512.8M ansi-regex downloads went to versions with known vulnerabilities.
From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.
Is ansi-regex the only one?
Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.
How this page is checked
StackPrism asks OSV.dev which advisories affect exactly ansi-regex 0.2.0, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.