Skip to content

Commit 5c99c8c

Browse files
committed
Improve suggestion for ECB
1 parent 95d26d9 commit 5c99c8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/security/Encryption.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ predicate insecureAlgorithm(string name, string reason) {
219219
or
220220
name = "ECB" and
221221
reason =
222-
"Encryption mode ECB like AES/ECB/NoPadding is vulnerable to replay and other attacks. Consider using AES instead."
222+
"Encryption mode ECB like AES/ECB/NoPadding is vulnerable to replay and other attacks. Use a different encryption mode."
223223
or
224224
name = "AES/CBC/PKCS[57]Padding" and
225225
reason =

0 commit comments

Comments
 (0)