Skip to content

Commit 3a6da34

Browse files
committed
JS: Add missing QLdoc
1 parent 71930f9 commit 3a6da34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class Configuration extends TaintTracking::Configuration {
1919

2020
override predicate isSource(DataFlow::Node source) { source instanceof Source }
2121

22+
/** Holds if `sink` is a command-injection sink with `highlight` as the corresponding alert location. */
2223
predicate isSinkWithHighlight(DataFlow::Node sink, DataFlow::Node highlight) {
2324
sink instanceof Sink and highlight = sink
2425
or

0 commit comments

Comments
 (0)