CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.1-dev (changelog, source)
Search

Predicate StaticCreation::isCdnUrlWithCheckingRequired

Holds if url refers to a CDN that needs an integrity check - even with https.

Import path

import semmle.javascript.security.FunctionalityFromUntrustedSource
predicate isCdnUrlWithCheckingRequired(string url)