We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b5094f commit 36b1c74Copy full SHA for 36b1c74
go/lib/ghsl/LocalSources.qll
@@ -17,7 +17,7 @@ module LocalSources {
17
class MaDLocalSource extends Range {
18
MaDLocalSource() { ExternalFlow::sourceNode(this, "local") }
19
}
20
-
+
21
class OsCmd extends LocalSources::Range {
22
OsCmd() {
23
exists(ValueEntity read, DataFlow::Package pkg |
go/test/lib/localsources/local.ql
@@ -2,6 +2,6 @@ import go
2
import ghsl.Utils
3
import ghsl.LocalSources
4
5
-query predicate remoteSources(DataFlow::ExprNode node) { node instanceof UntrustedFlowSource }
+query predicate remoteSources(DataFlow::ExprNode node) { node instanceof RemoteFlowSource::Range }
6
7
query predicate localSources(DataFlow::ExprNode node) { node instanceof LocalSources::Range }
0 commit comments