RegExp

javascript · standard library
sinkDerived from model facts
RoleSink
WeaknessCWE-1333
WatchesArgument[0]
Kindredos
Confidencelow
Corroboration1

Sink boundary: A regular expression can consume disproportionate CPU on adversarial input.

Argument map · what each slot does

The pack does not provide a callable signature for this record; the watched access path is shown directly.

ArgAccess pathPurposeWatched
Argument[0]Argument[0]The access path Atropos marks for this model.▲ sink
The weakness
CWE-1333
Inefficient Regular Expression Complexity

A regular expression has inefficient complexity that can consume excessive CPU.

What goes wrong
Attacker's-eye view · redos

A crafted string drives pathological backtracking and ties up the process.

// modeled boundary: Argument[0] RegExp(attacker_influenced_value);
To decide if this call is a bug, check
1Review nested ambiguity and backtracking.
2Bound input length.
3Use a linear-time engine or timeout where available.
These checks require the surrounding codebase. The model names the boundary; it does not decide reachability or prove that a guard dominates every path.
Is this a bug in your code?Atropos stops here — by design

Atropos identifies Argument[0] as a redos sink. It cannot see whether untrusted data reaches this call in your repository.

Lachesis is the codebase-level step: it traces reachability and guards for this symbol.

Check this symbol in Lachesis
The family · redos
Model facts · verbatim from the pack
RoleKindAccess pathModel IDConfidence
sinkredosArgument[0]javascript.std.regexp.a0low · corrob. 1