CodeQL library for Python
codeql/python-all 0.6.4 (changelog, source)
Search

Module WeakSensitiveDataHashingQuery

Provides a taint-tracking configuration for detecting use of a broken or weak cryptographic hashing algorithm on sensitive data.

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

Import path

import semmle.python.security.dataflow.WeakSensitiveDataHashingQuery

Modules

ComputationallyExpensiveHashFunction

Provides a taint-tracking configuration for detecting use of a broken or weak cryptographic hashing algorithm on passwords.

NormalHashFunction

Provides a taint-tracking configuration for detecting use of a broken or weak cryptographic hash function on sensitive data, that does NOT require a computationally expensive hash function.