lurq

npm package

Home

safe-regex

safe-regex is a utility for detecting potentially catastrophic, exponential-time regular expressions by limiting the star height to 1. It is useful for ensuring regex patterns are safe to use with untrusted input. However, it may produce false positives and negatives, so caution is advised.

lurq health score
44/100
Confidence
unproven
Weekly downloads
19,261,225
Latest version
2.1.1
Last release
Oct 21, 2019
License
MIT

Should you depend on safe-regex?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks safe-regex at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:

npx lurqrun

Free to start. Quickstart

Other date-time packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 6, 2026; this page refreshes every 24 hours. Source repository.