CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.14 (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()