aws-amplify / aws-amplify/amplify-ui-android
FaceLivenessDetector Feature Request: Background environment lighting feedback
- Dominant language
- Kotlin
- Stars
- 25
- Forks
- 18
- Avg merge
- 7d 3h
- Merged PRs (30d)
- 1
Description
The Face Liveness Detection system produces high confidence scores for 3D masks, which are as confident as scores given to real users under bright lighting conditions. This raises a serious security concern, as spoofing using hyper-realistic masks can pass liveness checks. Meanwhile, real users in bright environments often receive low scores (e.g., ~78.2%) and fail the check due to overexposure or glare.
Observed on Android, but it's likely that the issue also exists on iOS.
**Suggested improvements :**
1) Strengthen spoof detection, especially against 3D masks.
2) Normalize lighting through preprocessing or auto-exposure control.
3) Guide users in real-time to reposition or adjust lighting when needed.
**Found on : Latest version**
com.amplifyframework.ui:authenticator v1.5.0
com.amplifyframework.ui:liveness v1.4.2
**3D Mask :**

**Liveness Result of 3D Mask :**

Contributor guide
Research direction
Start by reproducing the reported 3D-mask and bright-light cases on Android using the listed Amplify UI Authenticator v1.5.0 and Liveness v1.4.2 versions. The issue does not name files or tests, and completion criteria for spoof detection, lighting normalization, or real-time guidance are not defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile-dev, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100