File tree Expand file tree Collapse file tree 3 files changed +48
-0
lines changed
Expand file tree Collapse file tree 3 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * @name List of all known sinks
3+ * @kind problem
4+ * @problem.severity warning
5+ * @security-severity 1.0
6+ * @sub-severity low
7+ * @precision low
8+ * @id java/debugging/sinks
9+ * @tags debugging
10+ */
11+
12+ import java
13+ import ghsl
14+
15+ from AllSinks sinks
16+ select sinks , "sink[" + sinks .sinkType ( ) + "]"
Original file line number Diff line number Diff line change 1+ /**
2+ * @name List of all known sources (remote, local, etc.)
3+ * @kind problem
4+ * @problem.severity warning
5+ * @security-severity 1.0
6+ * @sub-severity low
7+ * @precision low
8+ * @id java/debugging/sources
9+ * @tags debugging
10+ */
11+
12+ import java
13+ import ghsl
14+
15+ from AllSources sources , string threatModel
16+ where threatModel = sources .getThreatModel ( )
17+ // Local sources
18+ // sources.getThreatModel() = "local"
19+ select sources , "source[" + threatModel + "]"
Original file line number Diff line number Diff line change 1+ - description: "GitHub's Community Packs Java/Kotlin Extended Suite"
2+
3+ - queries: '.'
4+ from: githubsecuritylab/codeql-java-queries
5+
6+ - include:
7+ tags contain:
8+ - debugging
9+
10+ # Remove local testing folders
11+ - exclude:
12+ query path:
13+ - /testing\/.*/
You can’t perform that action at this time.
0 commit comments