Module HeuristicNames
INTERNAL: Do not use.
Provides heuristics for identifying names related to sensitive information.
Import path
import codeql.concepts.internal.SensitiveDataHeuristicsPredicates
| maybeAccountInfo | Gets a regular expression that identifies strings that may indicate the presence of user names or other account information. |
| maybeCertificate | Gets a regular expression that identifies strings that may indicate the presence of a certificate. |
| maybePassword | Gets a regular expression that identifies strings that may indicate the presence of a password or an authorization key. |
| maybePrivate | Gets a regular expression that identifies strings that may indicate the presence of private data. |
| maybeSecret | Gets a regular expression that identifies strings that may indicate the presence of secret or trusted data. |
| maybeSensitiveRegexp | Gets a regular expression that identifies strings that may indicate the presence of sensitive data, with |
| nameIndicatesSensitiveData | Holds if |
| nameIndicatesSensitiveData | Holds if |
| notSensitiveRegexp | Gets a regular expression that identifies strings that may indicate the presence of data that is hashed or encrypted, and hence rendered non-sensitive, or contains special characters suggesting nouns within the string do not represent the meaning of the whole string (e.g. a URL or a SQL query). |