MASTG-TEST-0266: References to APIs for Event-Bound Biometric Authentication
Content in BETA
This content is in beta and still under active development, so it is subject to change any time (e.g. structure, IDs, content, URLs, etc.).
Draft MASTG-TEST
This test hasn't been created yet and it's in draft. But you can check its status or start working on it yourself. If the issue has not yet been assigned, you can request to be assigned to it and submit a PR with the new content for that test by following our guidelines.
Check our GitHub Issues for MASTG-TEST-0266
If an issue doesn't exist yet, please create one and assign it to yourself or request to be assigned to it.
Draft Description¶
This test statically checks if the app uses the LocalAuthentication API to access sensitive resources that should be protected by user authentication (e.g., tokens, keys) relying solely on the LocalAuthentication API for access control instead of using the Keychain API and requiring user presence.
For more details, check the associated weakness: Biometric Authentication is Event-bound
Demos¶
MASTG-DEMO-0047: Runtime Use of the Keychain Not Requiring User Presence with Frida MASTG-DEMO-0041: Uses of LAContext.evaluatePolicy with r2