mirror of
https://github.com/github/codeql.git
synced 2026-04-17 13:04:02 +02:00
Improve suggestion for ECB
This commit is contained in:
@@ -219,7 +219,7 @@ predicate insecureAlgorithm(string name, string reason) {
|
||||
or
|
||||
name = "ECB" and
|
||||
reason =
|
||||
"Encryption mode ECB like AES/ECB/NoPadding is vulnerable to replay and other attacks. Consider using AES instead."
|
||||
"Encryption mode ECB like AES/ECB/NoPadding is vulnerable to replay and other attacks. Use a different encryption mode."
|
||||
or
|
||||
name = "AES/CBC/PKCS[57]Padding" and
|
||||
reason =
|
||||
|
||||
Reference in New Issue
Block a user