File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
javascript/ql/test/query-tests/Security/CWE-295 Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 9
9
| tst.js:45:2:45:28 | rejectU ... !!false | Disabling certificate validation is strongly discouraged. |
10
10
| tst.js:48:2:48:26 | rejectU ... : !true | Disabling certificate validation is strongly discouraged. |
11
11
| tst.js:74:9:74:33 | rejectU ... : false | Disabling certificate validation is strongly discouraged. |
12
+ | tst.js:80:5:80:29 | rejectU ... : false | Disabling certificate validation is strongly discouraged. |
Original file line number Diff line number Diff line change @@ -74,4 +74,8 @@ function getSomeunsafeOptions() {
74
74
rejectUnauthorized : false // NOT OK
75
75
}
76
76
}
77
- new https . Agent ( getSomeunsafeOptions ( ) ) ;
77
+ new https . Agent ( getSomeunsafeOptions ( ) ) ;
78
+
79
+ https . createServer ( {
80
+ rejectUnauthorized : false // NOT OK
81
+ } ) ;
You can’t perform that action at this time.
0 commit comments