Files
codeql/python/ql/test/query-tests/Security/CWE-327-WeakSensitiveDataHashing
Rasmus Wriedt Larsen 5f6e3dcc2e Python: Revert changes to sensitive data query alert messages
This partly reverts the changes from https://github.com/github/codeql/pull/10252

Although consistency is nice, the new messages didn't sound as natural.

New alert message would read

> Insecure hashing algorithm (md5) depends on sensitive data (password). (...)

I'm not sure what it means that a hashing algorithm depends on data. So
for me, the original text below is much easier to understand.

> Sensitive data (password) is used in a hashing algorithm (md5) that is insecure (...)

Same goes for the other sensitive data queries.
2022-09-06 12:01:24 +02:00
..

Note that the tests in this directory are very shallow, and simply show that the query is able to produce alerts.

More in-depth tests can be found for the individual frameworks that we have modeled Cryptography::CryptographicOperation for.