CodeQL library for Swift
codeql/swift-all 6.5.0 (changelog, source)
Search

Module SensitiveExprs

Provides classes for heuristically identifying expressions that contain ‘sensitive’ data, meaning that they contain or return a password or other credential, or sensitive private information.

Import path

import codeql.swift.security.SensitiveExprs

Imports

SensitiveDataHeuristics

INTERNAL: Do not use.

swift

Top-level import for the Swift language pack

Classes

EncryptedExpr

An expression that may be protected with encryption, for example an argument to a function called “encrypt”.

SensitiveCredential

The type of sensitive expression for credentials and secrets other than passwords.

SensitiveDataType

A type of sensitive expression.

SensitiveExpr

An expression whose value might be sensitive data.

SensitivePassword

The type of sensitive expression for passwords.

SensitivePrivateInfo

The type of sensitive expression for private information.