aws-amplify / aws-amplify/amplify-ui-android

FaceLivenessDetector Feature Request: Background environment lighting feedback

Open
#244 5 comments 0 reactions 0 assignees View on GitHub
feature-request
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 :**

![Image](https://github.com/user-attachments/assets/bac89528-88e0-4939-852a-c5b56ddb16a0)

**Liveness Result of 3D Mask :**

![Image](https://github.com/user-attachments/assets/a5f510e9-5e53-44bb-9106-065e2e5dee30)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.