ReDoS / catastrophic-backtracking detector MCP server, via real AST parsing — never executes the pattern itself
git clone https://github.com/tylerscomic-lab/regex-safety-audit-mcp{
"mcpServers": {
"regex-safety-audit-mcp": {
"command": "node",
"args": ["/path/to/regex-safety-audit-mcp/dist/index.js"]
}
}
}Resumen de MCP Servers
# regex-safety-audit-mcp [](LICENSE) [](https://mcpize.com/mcp/regex-safety-audit-mcp) An MCP server that parses a regex into a real hand-written AST to detect catastrophic-backtracking (ReDoS) risk — **without ever executing the pattern itself.** A ReDoS scanner that runs the regex it's scanning would be able to hang itself; this one never calls `new RegExp(...).test()` on anything. ## What it catches Nested unbounded quantifiers (`(a+)+`), ambiguous alternation inside a repeated group (`(a|ab)+`), and backreferences — the three shapes behind almost every real-world ReDoS incident. Detection is structural (a real parser, not regex-on-regex string heuristics), verified against the canonical literature examples during testing. ## The JS-specific trap Generic ReDoS advice tells you to wrap the offending group in an atomic group or use a possessive quantifier. **JavaScript has neither.** `analyze_redos_risk` says so explicitly, and `suggest_safe_rewrite` gives the actual JS-safe fix (collapsing redundant nesting, or restructuring with a negated character class) instead of advice that would 400 as a syntax error if you tried it. ## Tools ### `analyze_redos_risk` Full structural analysis. Returns a risk level, every finding with its exact reason, and the JS atomic-group/ possessive-quantifier caveat. ### `generate_attack_string` For a flagged pattern, generates candidate proof-of-concept inputs at a few sizes, plus a ready-to-run Node snippet that times the match with a **hard OS-level subprocess timeout** — so testing a genuinely catastrophic regex can't hang your own test process either. ### `suggest_safe_rewrite` Concrete rewritten pattern for the mechanically-fixable shapes; honest "no mechanical fix, here's what to change by hand" for the ones that aren't. ## Use it **Hosted (recommended):** [MCPize](https://mcpize.com/mcp/regex-safety-audit-mcp) — free tier, $7/mo Pro. **Self-host:** ```bash npm install node server.js ``` ## Part of a small suite [mcp-schema-audit-mcp](https://github.com/tylerscomic-lab/mcp-schema-audit-mcp), [cron-schedule-audit-mcp](https://github.com/tylerscomic-lab/cron-schedule-audit-mcp), [claude-cost-audit-mcp](https://github.com/tylerscomic-lab/claude-cost-audit-mcp). ## License MIT
Lo que la gente pregunta sobre regex-safety-audit-mcp
¿Qué es tylerscomic-lab/regex-safety-audit-mcp?
+
tylerscomic-lab/regex-safety-audit-mcp es mcp servers para el ecosistema de Claude AI. ReDoS / catastrophic-backtracking detector MCP server, via real AST parsing — never executes the pattern itself Tiene 0 estrellas en GitHub y se actualizó por última vez today.
¿Cómo se instala regex-safety-audit-mcp?
+
Puedes instalar regex-safety-audit-mcp clonando el repositorio (https://github.com/tylerscomic-lab/regex-safety-audit-mcp) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar tylerscomic-lab/regex-safety-audit-mcp?
+
tylerscomic-lab/regex-safety-audit-mcp aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.
¿Quién mantiene tylerscomic-lab/regex-safety-audit-mcp?
+
tylerscomic-lab/regex-safety-audit-mcp es mantenido por tylerscomic-lab. La última actividad registrada en GitHub es de today, con 0 issues abiertos.
¿Hay alternativas a regex-safety-audit-mcp?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega regex-safety-audit-mcp en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/tylerscomic-lab-regex-safety-audit-mcp)<a href="https://claudewave.com/repo/tylerscomic-lab-regex-safety-audit-mcp"><img src="https://claudewave.com/api/badge/tylerscomic-lab-regex-safety-audit-mcp" alt="Featured on ClaudeWave: tylerscomic-lab/regex-safety-audit-mcp" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!