CodeQL library for JavaScript
Search

Module PasswordInConfigurationFileQuery

Classses and predicates for reasoning about passwords in configuration files.

Import path

import semmle.javascript.security.PasswordInConfigurationFileQuery

Imports

RestrictedLocations

Provides classes for restricting the locations reported for program elements.

SensitiveActions

Provides classes and predicates for identifying sensitive data and methods for security.

javascript

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

Predicates

config

Holds if some JSON or YAML file contains a property with name key and value val, where valElement is the entity corresponding to the value.

exclude

Holds if file f should be excluded because it looks like it may be an API specification, a dictionary file, or a test or example.