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 codeql.ruby.security.WeakSensitiveDataHashingQueryPredicates
| computationallyExpensiveHashFunctionFlowPath | Holds if data can flow from |
| normalHashFunctionFlowPath | Holds if data can flow from |
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. |
Aliases
| WeakSensitiveDataHashingFlow | Global taint-tracking for detecting both variants of “use of a broken or weak cryptographic hashing algorithm on sensitive data” vulnerabilities. |