CodeQL library for JavaScript
codeql/javascript-all 0.2.3 (changelog, source)
Search

Predicate InsecureRandomness::randomBufferSource

Gets a Buffer/TypedArray containing cryptographically secure random numbers.

Import path

import semmle.javascript.security.dataflow.InsecureRandomnessCustomizations
SourceNode randomBufferSource()