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 e94b492 commit f3453c7Copy full SHA for f3453c7
go/ql/src/experimental/CWE-918/SSRF.qll
@@ -30,6 +30,14 @@ module ServerSideRequestForgery {
30
predicate isBarrier(DataFlow::Node node) { node instanceof Sanitizer }
31
32
predicate isBarrierOut(DataFlow::Node node) { node instanceof SanitizerEdge }
33
+
34
+ predicate observeDiffInformedIncrementalMode() { any() }
35
36
+ Location getASelectedSourceLocation(DataFlow::Node source) { none() }
37
38
+ Location getASelectedSinkLocation(DataFlow::Node sink) {
39
+ result = sink.(Sink).getARequest().getLocation()
40
+ }
41
}
42
43
/** Tracks taint flow for reasoning about request forgery vulnerabilities. */
0 commit comments