Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.6.3 (changelog, source)

Predicate isUntrustedHostname

Holds if hostname refers to a domain or subdomain that is untrusted.

Import path

import semmle.javascript.security.FunctionalityFromUntrustedSource
predicate isUntrustedHostname(string hostname)