Logo

Regex Injection Detector

Identify and prevent regex injection vulnerabilities
in your JavaScript code

Supported formats: JS, JSX, TS, TSX, TXT

Code to Analyze

Dangerous Parts (preview)

1
const userInput = getInput();
2
const regex = new RegExp(userInput); // ⚠️ Unescaped input

No issues found or scan not performed yet

Upload your code and click "Scan Code" to begin analysis

🔒 Your code is analyzed securely and locally