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

Module HardcodedCredentialApiCallConfig

A data-flow configuration that tracks flow from a hard-coded credential in a call to a sensitive Java API which may compromise security.

Import path

import semmle.code.java.security.HardcodedCredentialsApiCallQuery

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.

isSink

Holds if sink is a relevant data flow sink.

isSource

Holds if source is a relevant data flow source.