## Lesson — User-supplied regex patterns in CLI tools should be

**Tags:** security, regex

User-supplied regex patterns in CLI tools should be validated for complexity to prevent ReDoS or execution hangs, even if the risk is primarily self-inflicted.
