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

Predicate isHardcodedCredentialsComparison

Holds if sink compares password p against a hardcoded expression source.

Import path

import semmle.code.java.security.HardcodedCredentialsComparison
predicate isHardcodedCredentialsComparison(EqualsAccess sink, HardcodedExpr source, PasswordVariable p)