← Back to directory

Static ReDoS (regular-expression denial of service) analysis for agents that wri...

https://agents.204-168-199-108.sslip.io/v1/security/regex-redos

Overview

Static ReDoS (regular-expression denial of service) analysis for agents that write or accept regexes: validates the JavaScript regex, then finds nested unbounded quantifiers like (a+)+, repeated groups with overlapping alternatives like (\w|\d)+ (exponential) and adjacent overlapping quantifiers like .*.* (polynomial). Never executes the pattern. Returns safe, risk (exponential/polynomial/none), star_height, findings with the offending fragment and a fix, and an attack_exampl

Protocol x402
Price $0.0010
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider Regex ReDoS checker
Source bazaar
Indexed 2026-12-02 08:25:12

Health

Status healthy
Latency (p50) 120ms
Uptime (30d) 100.0%
Reliability Score 97/100
Last Checked 2026-12-05 13:37:47
Last Healthy 2026-12-05 13:37:47
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "pattern": "^([a-zA-Z0-9_.+-])+@(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+$" }, "type": "http" }

Output Schema

{ "example": { "attack_example": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!", "findings": [ { "fix": "Make the inner part unambiguous (e.g. (a+)+ → a+), or use an atomic/possessive form / a linear-time engine (RE2)", "fragment": "(([a-zA-Z0-9-])+\\.)+", "message": "Nested unbounded quantifier in (([a-zA-Z0-9-])+\\.)+: exponential backtracking on a non-matching input", "severity": "high", "type": "nested_quantifier" }, { "fix": "Make the neighbours exclusive (e.g. \\d+\\.\\d+ instead of \\d+\\d+) or bound the repeats {1,64}", "fragment": "(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+", "message": "(([a-zA-Z0-9-])+\\.)+ and ([a-zA-Z0-9]{2,4})+ can match the same characters: polynomial backtracking on long inputs", "severity": "medium", "type": "adjacent_overlap" } ], "flags": "", "note": "Static analysis only: the regex is never executed. 'exponential' patterns can hang a server on ~30 characters; test fixes with the attack_example under a timeout.", "pattern": "^([a-zA-Z0-9_.+-])+@(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+$", "risk": "exponential", "safe": false, "star_height": 2, "valid": true }, "type": "json" }

Recent Health Checks

Time Status HTTP Latency Error
2026-12-05 13:37:47 healthy 402 117ms
2026-12-05 12:37:05 healthy 402 427ms
2026-12-05 11:42:30 healthy 402 122ms
2026-12-05 10:38:37 healthy 402 133ms
2026-12-05 09:36:52 healthy 402 110ms
2026-12-05 08:40:25 healthy 402 119ms
2026-12-05 07:36:50 healthy 402 118ms
2026-12-05 06:34:20 healthy 402 110ms
2026-12-05 05:35:06 healthy 402 120ms
2026-12-05 03:46:36 healthy 402 120ms
2026-12-05 02:36:27 healthy 402 785ms
2026-12-05 01:36:01 healthy 402 111ms
2026-12-05 00:59:40 healthy 402 119ms
2026-12-04 19:02:02 healthy 402 963ms