CodeQL library for Java/Kotlin
codeql/java-all 0.9.1 (changelog, source)
Search

Module LogInjectionConfig

A taint-tracking configuration for tracking untrusted user input used in log entries.

Import path

import semmle.code.java.security.LogInjectionQuery

Predicates

isAdditionalFlowStep

Holds if data may flow from node1 to node2 in addition to the normal data-flow steps.

isBarrier

Holds if data flow through node is prohibited. This completely removes node from the data flow graph.

isBarrierIn

Holds if data flow into node is prohibited.

isSink

Holds if sink is a relevant data flow sink.

isSource

Holds if source is a relevant data flow source.