CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.0.3-dev (changelog, source)
Search

Module InsecureRandomnessQuery

Provides a taint tracking configuration for reasoning about random values that are not cryptographically secure.

Note, for performance reasons: only import this file if InsecureRandomness::Configuration is needed, otherwise InsecureRandomnessCustomizations should be imported instead.

Import path

import semmle.javascript.security.dataflow.InsecureRandomnessQuery

Imports

InsecureRandomness
javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.

Classes

Configuration

A taint tracking configuration for random values that are not cryptographically secure.