vuln-regex-detector
vuln-regex-detector copied to clipboard
cache: server should stick to UNKNOWN if none of the detectors can parse the regex
See this regex, for example. None of the state-of-the-art detectors can handle the \b (word boundary). It would be more appropriate for the server to discard than place this in the lookup table.
The code to change is here in validate-uploads.