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

Predicate InsecureDownload::unsafeExtension

Gets a file-extension that can potentially be dangerous.

Archives are included, because they often contain source-code.

Import path

import semmle.javascript.security.dataflow.InsecureDownloadCustomizations
string unsafeExtension()