recursion-dos

Installation
SKILL.md

Recursion DoS Detection

When to Use

Audit parsers, serializers, tree walkers, deep clone/merge functions, and any recursive function that processes user-controlled data structures with unbounded nesting depth.

Key Distinction: OOM vs RangeError

Crash Type Severity Catchable? Process Dies?
OOM (heap exhaustion) HIGH 7.5 NO YES -- uncatchable, process killed
RangeError (stack overflow) MEDIUM 5.3-6.5 YES (try/catch) Only if uncaught

OOM crash = process dies regardless of error handling. This is HIGH severity. RangeError = catchable in try/catch. Only HIGH if the library does NOT catch it.

Process

Step 1: Find Recursive Functions

Installs
4
GitHub Stars
48
First Seen
May 12, 2026
recursion-dos — byamb4/find-cve-agent