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