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.
MassAssignment.ql
1 parent 3c96bf6 commit c2d771bCopy full SHA for c2d771b
ruby/ql/lib/codeql/ruby/security/MassAssignmentQuery.qll
@@ -43,6 +43,11 @@ private module Config implements DataFlow::StateConfigSig {
43
state instanceof FlowState::Permitted
44
}
45
46
+ predicate isBarrierIn(DataFlow::Node node, FlowState state) {
47
+ node instanceof MassAssignment::Source and
48
+ state instanceof FlowState::Unpermitted
49
+ }
50
+
51
predicate isBarrier(DataFlow::Node node) { node instanceof MassAssignment::Sanitizer }
52
53
predicate isAdditionalFlowStep(
0 commit comments