vibecheck
HIGHNode / Framework

ReDoS — user input passed to RegExp constructor

Certain regular expressions exhibit catastrophic backtracking when given adversarial input, consuming 100% CPU and making the server unresponsive. Passing user-controlled strings to new RegExp() compounds the risk.

HOW VIBECHECK DETECTS THIS

vibecheck clones your repository and runs Gitleaks, Semgrep, njsscan, and a suite of custom checks targeting patterns common in AI-generated code. This check is part of the Node / Framework category. When a matching pattern is found, Claude triages the finding and produces a plain-English explanation and a concrete fix — no security expertise required.

FREE SCAN

Check your repo for this and 50+ other issues

Connect GitHub → vibecheck scans for secrets, unauthenticated routes, RLS gaps, injection, and more. Claude explains every finding. Free for 2 repos.

scan my repo for free →

MORE IN NODE / FRAMEWORK

Missing security headers (CSP, HSTS, X-Frame-Options)MEDIUMCode injection via eval() / new Function()CRITICALDependency CVEs (npm audit)HIGHExpress trust proxy misconfigurationMEDIUM
← all vulnerability guides