Open
Description
I noticed that when using both vulnRegexDetector.test
and vulnRegexDetector.testSync
, testing a new regexp always returns UNKNOWN the first few times, and only after a minute or so it returns VULNERABLE or SAFE. It would be nice if the library simply waits until the server knows the result and only then return it, right now I cannot reliably use the library in automated unit tests.