New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ruby: Block flow into flow sources #15483
base: main
Are you sure you want to change the base?
Conversation
| @@ -34,6 +34,8 @@ | |||
|
|
|||
| override predicate isSink(DataFlow::Node sink) { sink instanceof Sink } | |||
|
|
|||
| predicate isBarrierIn(DataFlow::Node node) { isSource(node) } | |||
Check warning
Code scanning / CodeQL
Missing override annotation Warning
Configuration.isBarrierIn
| @@ -40,4 +40,6 @@ | |||
| super.isSanitizer(node) or | |||
| node instanceof Sanitizer | |||
| } | |||
|
|
|||
| predicate isBarrierIn(DataFlow::Node node) { isSource(node) } | |||
Check warning
Code scanning / CodeQL
Missing override annotation Warning
Configuration.isBarrierIn
| @@ -34,6 +34,8 @@ | |||
|
|
|||
| override predicate isSink(DataFlow::Node sink) { sink instanceof Sink } | |||
|
|
|||
| predicate isBarrierIn(DataFlow::Node node) { isSource(node) } | |||
Check warning
Code scanning / CodeQL
Using implicit `this` Warning
| @@ -40,4 +40,6 @@ | |||
| super.isSanitizer(node) or | |||
| node instanceof Sanitizer | |||
| } | |||
|
|
|||
| predicate isBarrierIn(DataFlow::Node node) { isSource(node) } | |||
Check warning
Code scanning / CodeQL
Using implicit `this` Warning
This restricts alert paths to the minimum necessary.
3ce3fbf
to
c6738cc
Compare
This restricts alert paths to the minimum necessary.