-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Port MASTG-TEST-0018 (Testing Biometric Authentication) to MASTG v2 #3560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…18 v2 port Co-authored-by: cpholguera <[email protected]>
Co-authored-by: cpholguera <[email protected]>
Co-authored-by: cpholguera <[email protected]>
Co-authored-by: cpholguera <[email protected]>
Co-authored-by: cpholguera <[email protected]>
|
@copilot Can you add another test with ID MASTG-TEST-0316 with "title: References to APIs Enforcing Authentication without Explicit User Action"? According to the documentation: https://developer.android.com/identity/sign-in/biometric-auth#no-explicit-user-action |
|
@copilot add another test with ID MASTG-TEST-0316 with "title: References to APIs Enforcing Authentication without Explicit User Action", according to the documentation: https://developer.android.com/identity/sign-in/biometric-auth#no-explicit-user-action |
Co-authored-by: cpholguera <[email protected]>
Co-authored-by: cpholguera <[email protected]>
Added MASTG-TEST-0316 "References to APIs Enforcing Authentication without Explicit User Action" with demo MASTG-DEMO-0077 and corresponding semgrep rule. The test checks for use of
Added MASTG-TEST-0316 "References to APIs Enforcing Authentication without Explicit User Action" with demo MASTG-DEMO-0077 and corresponding semgrep rule. The test checks for use of |
This PR closes #2952
Description
Ports the Android biometric authentication test (MASTG-TEST-0018) to v2 format, covering four MASWE weaknesses. Includes demos using BiometricPrompt API that highlight security considerations for biometric authentication.
New Tests (tests-beta/android/MASVS-AUTH/)
DEVICE_CREDENTIALorsetDeviceCredentialAllowed(true)authenticate()is called withoutCryptoObjectsetInvalidatedByBiometricEnrollment(false)setConfirmationRequired(false)New Demos
MASTG-DEMO-0076 - Demonstrates secure vs insecure
BiometricPromptconfigurations for device credential fallback:MASTG-DEMO-0077 - Demonstrates secure vs insecure configurations for explicit user confirmation:
New Semgrep Rules
mastg-android-biometric-device-credential-fallback.yml: FlagssetAllowedAuthenticatorswithDEVICE_CREDENTIALmastg-android-biometric-no-confirmation-required.yml: FlagssetConfirmationRequired(false)Deprecation
[x] I have read the contributing guidelines.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.