sast_regex_dos
Analyze source files to find ReDoS vulnerabilities such as nested quantifiers, overlapping alternations, and backreferences in quantified groups.
Instructions
Detect ReDoS patterns: nested quantifiers (a+)+, alternation with overlap, backreferences in quantified groups.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "sast_regex_dos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path containing source files to analyze |