mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
11 lines
320 B
Plaintext
11 lines
320 B
Plaintext
import default
|
|
import semmle.code.java.security.Encryption
|
|
|
|
from StringLiteral s, string reason
|
|
where
|
|
s.getValue().regexpMatch(getInsecureAlgorithmRegex()) and
|
|
if exists(getInsecureAlgorithmReason(s.getValue()))
|
|
then reason = getInsecureAlgorithmReason(s.getValue())
|
|
else reason = "<no reason>"
|
|
select s, reason
|