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

Module WeakPasswordHashingExtensions

Provides classes and predicates for reasoning about use of inappropriate cryptographic hashing algorithms on passwords.

Import path

import codeql.swift.security.WeakPasswordHashingExtensions

Imports

DataFlow
ExternalFlow

INTERNAL use only. This is an experimental API subject to change without notice.

swift

Top-level import for the Swift language pack

Classes

WeakPasswordHashingAdditionalFlowStep

A unit class for adding additional flow steps.

WeakPasswordHashingBarrier

A barrier for weak password hashing vulnerabilities.

WeakPasswordHashingImplementationBarrier

A barrier for weak password hashing, when it occurs inside of certain cryptographic algorithms as part of their design.

WeakPasswordHashingSink

A dataflow sink for weak password hashing vulnerabilities. That is, a DataFlow::Node that is passed into a weak password hashing function.