CodeQL library for Java
Search

Predicate unsafelySeeded

Holds if predictable seed source is used to initialise a random-number generator used at use.

Import path

import semmle.code.java.security.RandomQuery
predicate unsafelySeeded(RValue use, PredictableSeedExpr source)