File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
javascript/ql/src/Summary Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * @name Taint sinks
3
+ * @description Expressions that are vulnerable if containing untrusted data.
4
+ * @kind problem
5
+ * @problem.severity informational
6
+ * @id js/summary/taint-sinks
7
+ * @tags summary
8
+ * @precision medium
9
+ */
10
+
11
+ import javascript
12
+ import meta.internal.TaintMetrics
13
+
14
+ from string kind
15
+ select relevantTaintSink ( kind ) , kind + " sink"
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @name Taint sources
3
+ * @description Sources of untrusted input.
4
+ * @kind problem
5
+ * @problem.severity informational
6
+ * @id js/summary/taint-sources
7
+ * @tags summary
8
+ * @precision medium
9
+ */
10
+
11
+ import javascript
12
+ import meta.internal.TaintMetrics
13
+
14
+ from RemoteFlowSource node
15
+ where node = relevantTaintSource ( )
16
+ select node , node .getSourceType ( )
You can’t perform that action at this time.
0 commit comments