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