mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Add unit tests
This commit is contained in:
@@ -13,9 +13,6 @@
|
||||
import java
|
||||
import semmle.code.java.security.AndroidLocalAuthQuery
|
||||
|
||||
/** Holds if the application contains an instance of a key being used for local biometric authentication. */
|
||||
predicate usesLocalAuth() { exists(AuthenticationSuccessCallback cb | exists(cb.getAResultUse())) }
|
||||
|
||||
from InsecureBiometricKeyParam call
|
||||
from InsecureBiometricKeyParamCall call
|
||||
where usesLocalAuth()
|
||||
select call, "This key is not secure for biometric authentication."
|
||||
|
||||
Reference in New Issue
Block a user