mirror of
https://github.com/github/codeql.git
synced 2026-03-04 14:46:48 +01:00
Add default sanitizers
This commit is contained in:
@@ -55,7 +55,10 @@ module TrustBoundaryConfig implements DataFlow::ConfigSig {
|
||||
|
||||
predicate isBarrier(DataFlow::Node node) {
|
||||
node instanceof TrustBoundaryValidationSanitizer or
|
||||
node.getType() instanceof HttpServletSession
|
||||
node.getType() instanceof HttpServletSession or
|
||||
node.getType() instanceof NumberType or
|
||||
node.getType() instanceof PrimitiveType or
|
||||
node.getType() instanceof BoxedType
|
||||
}
|
||||
|
||||
predicate isSink(DataFlow::Node sink) { sink instanceof TrustBoundaryViolationSink }
|
||||
|
||||
Reference in New Issue
Block a user