Skip to content

Commit

Permalink
Improve suggestion for ECB
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-mc committed Nov 29, 2024
1 parent 95d26d9 commit 5c99c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/ql/lib/semmle/code/java/security/Encryption.qll
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 5c99c8c

Please sign in to comment.