diff --git a/java/change-notes/2021-05-24-hardcoded-shiro-key-in-api-call.md b/java/change-notes/2021-05-24-hardcoded-shiro-key-in-api-call.md index 0cb8e73bb40..b89638a060b 100644 --- a/java/change-notes/2021-05-24-hardcoded-shiro-key-in-api-call.md +++ b/java/change-notes/2021-05-24-hardcoded-shiro-key-in-api-call.md @@ -1,2 +1,3 @@ lgtm,codescanning * The query "Hard-coded credential in API call" (`java/hardcoded-credential-api-call`) can now detect a hard-coded Apache Shiro cipher key. +* The query "Hard-coded credential in API call" (`java/hardcoded-credential-api-call`) now detected hard-coded credentials that are Base64 encoded or decoded before use. diff --git a/java/ql/src/Security/CWE/CWE-798/HardcodedCredentialsApiCall.ql b/java/ql/src/Security/CWE/CWE-798/HardcodedCredentialsApiCall.ql index 9e9dfb797ca..a787d2ddfd3 100644 --- a/java/ql/src/Security/CWE/CWE-798/HardcodedCredentialsApiCall.ql +++ b/java/ql/src/Security/CWE/CWE-798/HardcodedCredentialsApiCall.ql @@ -14,7 +14,6 @@ import java import semmle.code.java.dataflow.DataFlow import HardcodedCredentials import DataFlow::PathGraph -import semmle.code.java.dataflow.internal.FlowSummaryImpl as FlowSummaryImpl class HardcodedCredentialApiCallConfiguration extends DataFlow::Configuration { HardcodedCredentialApiCallConfiguration() { this = "HardcodedCredentialApiCallConfiguration" }