Skip to content

Commit e8db624

Browse files
committed
add .jar and .war to the list of sensitive files for js/insecure-download
1 parent 8682918 commit e8db624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/security/dataflow/InsecureDownloadCustomizations.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module InsecureDownload {
5353
string unsafeExtension() {
5454
result =
5555
["exe", "dmg", "pkg", "tar.gz", "zip", "sh", "bat", "cmd", "app", "apk", "msi", "dmg",
56-
"tar.gz", "zip", "js", "py"]
56+
"tar.gz", "zip", "js", "py", "jar", "war"]
5757
}
5858

5959
/**

0 commit comments

Comments
 (0)