Intent-Code Divergence
Low
- Confidence
- 92% confidence
- Finding
- The helper is named and documented as a URL validator, but it only checks for the presence of a scheme and netloc. That means potentially unsafe or unsupported schemes such as file://, ftp://, or other custom schemes may be treated as valid, which can weaken downstream security checks if callers rely on this function to restrict outbound destinations.
