Biometric Spoofing Detection Trends: 2024 and Beyond
We detect common biometric presentation attacks with passive liveness at $0.10 and active liveness at $0.15. A full ID check using passive liveness is $0.33.

Contents
In this guide
Jump to the part you need.
This guide is for teams adding anti-spoofing biometrics to a real verification flow, not a demo. We price passive liveness at $0.10 and active liveness at $0.15. A full ID check using passive liveness is $0.33. The caveat: liveness alone does not stop a deepfake of a real customer, and the trends since 2024 make that case more common, so pair liveness with face match and a 1:N face search.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
Spoofing detection at a glance
| Check | What it covers | List price (USD) |
|---|---|---|
| Passive Liveness | Printed photos, screen replays, masks and deepfakes in a single frame | $0.10 per check |
| Active Liveness | Randomized action plus light-pattern depth, for high-risk steps | $0.15 per check |
| Face Match (1:1) | A live stranger standing in for the document owner | $0.05 per check |
| Face Search (1:N) | A face returning under a new identity, or a face on your blocklist | $0.05 per search |
| ID Verification | Document verification in the full ID check | $0.15 per check |
| NFC chip reading | Cloned or tampered chips in ePassports and eIDs | $0.15 per check |
| Device and IP Analysis | Device and network risk signals | $0.03 per check |
| Full ID check (KYC) | Document, biometrics and device context in one workflow check | $0.33 per check |
Start free in the sandbox at business.didit.me, no sales call. If you are wiring these checks into a coding assistant, connect your workflow to an AI assistant through our MCP server. Plan discounts, the full price book and the cost estimator are on didit.me/pricing.
Anti-spoofing biometrics: what the checks actually measure
Anti-spoofing biometrics is the set of checks that decide whether the face in front of the camera is a person or a reproduction. Three families of attack matter for anti-spoofing identity verification work in 2026: presentation attacks (a printed photo, a phone screen replay, a paper or silicone mask), injection attacks (a virtual camera feeding recorded or synthetic video into the capture step), and synthetic media (a live deepfake driven by face-swap software). Each leaves different traces, which is why one check rarely covers all three. Our liveness documentation lists the methods and the risk codes behind each one.
Passive liveness reads a single frame with a convolutional network and looks for the artifacts and texture patterns that separate a real face from a print or a screen. It is fast, it asks nothing of the user, and it is the right default for high-volume, lower-risk steps.
Flashing liveness projects a sequence of light patterns onto the face at over 30 frames per second and reads the reflections to build a depth map. A flat photo or a screen does not return a plausible depth map, which helps detect replays that slip past a single-frame model. It needs no user action, which keeps the capture short.
3D action and flash adds a randomized instruction, such as a blink or a nod, on top of the light-pattern depth map. The randomized action helps detect replayed or pre-recorded video. We report 99.9% accuracy with a false acceptance rate under 0.1% for our liveness detection, and hold iBeta Level 1 PAD.
| Method | How it works | Security level | Best for |
|---|---|---|---|
PASSIVE | Single-frame deep learning on one image; flags artifacts and texture patterns from prints and screens | Standard | Account recovery, low-value steps, very high volume |
FLASHING (3D Flash) | Light patterns above 30 frames per second; reflections become a depth map; no user action | High | Financial services, account access, standard onboarding |
ACTIVE_3D (3D Action and Flash) | Randomized action such as blinking or nodding, combined with the light-pattern depth map | Highest | Banking, healthcare, government and other high-risk flows |

Biometric spoofing detection trends: what changed since 2024 and what to plan for
This section is the threat model we use when scoping a flow, not a Didit dataset. Treat it as a planning frame and check it against your own incident data. Four shifts since 2024 keep coming up.
First, generative models made synthetic media cheap, so a convincing face no longer requires skills. Second, injection through a virtual camera skips the physical world entirely and defeats checks that only inspect pixels. Third, masks improved, which is why depth matters as much as texture. Fourth, and most important for anyone buying, a common pattern is impersonation with a real face: the attacker passes liveness honestly and claims to be an existing account holder, so the failure surfaces at the account level rather than at the camera.
That last pattern is why we treat liveness as one signal among several. A deepfake driven live by a person in front of a camera can pass a liveness check on a phone screen, because a real face is in the scene and the screen is only a carrier. Face match against the document portrait, and a 1:N search against faces you already approved, are what turn a pass into a decision.

Prerequisites before step one
- A Didit account. The sandbox is free and unlimited and does not consume credits.
- An API key, sent in the
x-api-keyheader. A full-access key or a scoped key that can reach the features you call. - A workflow with the liveness feature enabled, and a method chosen for the risk of the flow.
- A written policy: which statuses you approve automatically, which you retry, and which go to a human.
How to add spoofing detection to a verification flow, step by step
Set the risk tier before you pick a method. A password reset on a low-value account is a
PASSIVEstep. A payout account or a login to a financial product isFLASHING. A bank onboarding, a health record or a government service isACTIVE_3D. Write the tier down, because it also decides your retry budget and your review rules.Create the workflow and set the liveness method. Set
face_liveness_methodtoPASSIVE,ACTIVE_3DorFLASHINGin the Business Console, or throughPOST /v3/workflows/. Add ID Verification and Face Match to the same workflow if you need the document and the 1:1 comparison in one pass.Create a session. One call returns a URL and a session id. The fields are the workflow, your own user id, and a callback for your app.
curl -X POST 'https://verification.didit.me/v3/session/' \ -H 'x-api-key: YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "workflow_id": "YOUR_WORKFLOW_ID", "vendor_data": "user-123", "callback": "https://yourapp.com/post-kyc" }'Open the session for the user. Send them to
session.urlor mount the Web or Mobile SDK. The workflow decides which liveness method runs.Read the decision. Call
GET /v3/session/{sessionId}/decision/or subscribe tosession.status.updated. Liveness results arrive in theliveness_checks[]array, one entry per liveness node, each with a status, a score and a warnings list. The schema is documented in the data models reference.Add a server-to-server check where you already hold the selfie. If your app captures the image itself, or you are re-screening a stored portrait, call the standalone passive liveness endpoint. It takes one image and returns a score with risk codes. The call below is the one in the Passive Liveness API docs.
curl -X POST 'https://verification.didit.me/v3/passive-liveness/' \ -H 'x-api-key: YOUR_API_KEY' \ -F 'user_image=@./selfie.jpg' \ -F 'save_api_request=true' \ -F 'vendor_data=user-123'Decide what to do with
save_api_request. Withtrue, the call is persisted as an API-type session, the reference image is stored and the face is enrolled in your face search index, so later duplicate checks and blocklist checks can match it. Withfalse, the call is one-shot: nothing is stored and no face is enrolled. Blocklist and duplicate screening still run either way.Read the status, not just the score. The status enum is
Not Started,In Progress,Approved,In Review,Declined,AbandonedandKyc Expired. A passive liveness call returnsDeclinedwhen an error-severity warning fires:NO_FACE_DETECTED,LOW_LIVENESS_SCORE,LIVENESS_FACE_ATTACK,FACE_IN_BLOCKLISTorPOSSIBLE_FACE_IN_BLOCKLIST. The full catalogue is in the liveness warnings reference.Attach the two checks that help detect impersonation. Face Match compares the live selfie to the document portrait or the stored photo and returns a 0 to 100 score, with a decline threshold you set. Face Search searches your application's enrolled face index and blocklist. Both are documented in Face Match and Face Search.
Set the retry budget and the review rule. In a session, a fixable capture failure does not decline immediately. The user is asked to retry with guidance, up to a configurable number of attempts. Once the budget is spent, the computed status applies. Write down which warning codes you approve, which you retry and which you send to review before you launch, not after the first chargeback.
Expected output from the passive liveness call
A 200 response carries the request id and one liveness object. This is the shape of the payload with example numeric values, not a real result:
{
"request_id": "your-request-id",
"liveness": {
"status": "Approved",
"method": "PASSIVE",
"score": 87,
"user_image": { "entities": {}, "best_angle": "..." },
"warnings": [],
"face_quality": 92,
"face_luminance": 80
}
}
status is Declined when any error-severity warning fires. MULTIPLE_FACES_DETECTED is a warning-level signal that does not decline. DUPLICATED_FACE and POSSIBLE_DUPLICATED_FACE are informational and never decline on their own. face_quality and face_luminance describe the capture and are useful fields to inspect first when conversion looks wrong.
Inputs and outputs
| Field | Direction | Values | Notes |
|---|---|---|---|
user_image | input, required | jpg, jpeg, png, tiff, webp, max 5 MB | One clearly visible face. PDFs are not accepted and larger files are rejected with 400. |
save_api_request | input, optional | true (default) or false | true persists the call and enrols the face in your search index. |
vendor_data | input, optional | string | Your user id. It excludes the same user from duplicate warnings on a retake. |
request_id | output | string | Use it to fetch the decision from the session decision endpoint. |
liveness.status | output | status enum | Declined when an error-severity warning fires. |
liveness.score | output | 0 to 100 | Declined at or below face_liveness_score_decline_threshold, default 30. |
liveness.warnings | output | risk codes | For example LIVENESS_FACE_ATTACK or FACE_IN_BLOCKLIST. |
face_quality, face_luminance | output | 0 to 100, nullable | Capture quality signals. Log them to explain retries. |
Failure cases and how to recover
| Signal | What it means | Recovery |
|---|---|---|
| HTTP 403 | Out of credits, or the API key is missing or invalid | Top up or fix the key. The call fails before any image processing, so nothing is charged. |
| HTTP 400 | Missing user_image, file over 5 MB, or an unsupported extension | Fix the upload or ask for a retake. Do not retry the same bytes. |
| HTTP 429 | The shared write budget of 300 requests per minute per key is spent | Back off, then retry. Spread batch jobs. |
Declined with LIVENESS_FACE_ATTACK | The model detected a presentation attack | Do not approve. Allow one guided retake only if your policy allows it, then stop. |
Declined with LOW_LIVENESS_SCORE | The score is at or below the decline threshold, default 30 | Usually a capture problem. Check face_luminance and face_quality, then retake. |
NO_FACE_DETECTED | The model found no face | Ask for a retake with a single, well-framed face. |
MULTIPLE_FACES_DETECTED | More than one face in the frame. Warning severity, it does not decline. | Ask for one person in frame, or apply your own policy. |
FACE_IN_BLOCKLIST | The face matches an entry on your blocklist | Reject. This is a definitive hit. |
POSSIBLE_FACE_IN_BLOCKLIST | A borderline match below the hard threshold | Route to manual review. A human decides. |
DUPLICATED_FACE | The same face was already approved under a different vendor_data | Informational. Apply your own dedupe policy: merge, block or review. |
Paid steps and review boundaries
Billing is per completed check, from prepaid credit. These are the paid lines on this page: Passive Liveness $0.10, Active Liveness $0.15, Face Match $0.05, Face Search $0.05 per search, ID Verification $0.15, NFC reading $0.15, Device and IP Analysis $0.03, and the full ID check at $0.33. The Workflow Orchestrator, Reusable KYC, the SDKs and the MCP server carry no separate fee. Sandbox calls to the passive liveness endpoint skip processing and billing and return a static Approved mock payload.
Two boundaries belong to your policy, not to the software. First, POSSIBLE_FACE_IN_BLOCKLIST and any borderline duplicate should never be an automatic decision; route them to a human and record who decided. Second, a Declined liveness result with LIVENESS_FACE_ATTACK is not an appeal case by default. If you do allow an appeal, send it to a reviewer with the session evidence rather than resetting the attempt, and keep the retake budget for capture problems such as LOW_LIVENESS_SCORE.

Worked cost example: 10,000 verifications a month
Two flows, same volume, different risk tier. All figures are published list prices from the live price feed on November 26, 2026.
Low-risk flow, passive liveness. ID Verification $0.15 + Passive Liveness $0.10 + Face Match $0.05 + Device and IP Analysis $0.03 = $0.33 per check. 10,000 checks x $0.33 = $3,300.00.
High-risk flow, active liveness. ID Verification $0.15 + Active Liveness $0.15 + Face Match $0.05 + Device and IP Analysis $0.03 = $0.38 per check. 10,000 checks x $0.38 = $3,800.00.
The difference. $3,800.00 minus $3,300.00 = $500.00 for 10,000 checks, which is $0.05 per check. That is the price of the randomized action on top of the depth map.
Add the 1:N search. If the high-risk flow also runs a Face Search on every completed check at $0.05, the per-check cost becomes $0.38 + $0.05 = $0.43, and 10,000 checks cost 10,000 x $0.43 = $4,300.00.
Add the volume discount. On the Scale plan every Didit price is 10% lower, so the $0.43 check becomes $0.43 x 0.90 = $0.387 and 10,000 checks cost 10,000 x $0.387 = $3,870.00 before any plan fee. On Growth the same check is 4% lower, at $0.43 x 0.96 = $0.4128, so 10,000 checks cost $4,128.00. The example leaves out NFC at $0.15 per check; add that line if your workflow reads a chip.
Sources
- Didit Liveness Detection overview
- Didit Passive Liveness API reference
- Didit liveness warnings catalogue
- Didit liveness report
- Didit Face Match overview
- Didit Face Search overview
- Didit NFC Verification overview
- Didit data models reference
- Didit integration prompt
- Didit pricing page, read November 26, 2026
- Didit pricing as JSON, read November 26, 2026
- Didit pricing in the docs, read November 26, 2026
- Didit MCP server
Next step: open the sandbox at business.didit.me, create a workflow with a liveness method, and run one passive liveness call with a test selfie. No sales call is involved, and sandbox checks do not consume credits.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
What is anti-spoofing in identity verification?
Anti-spoofing is the part of a verification that proves a real, live person is present, rather than a photo, a screen replay, a mask, a deepfake or a virtual camera feed. In our flow it runs as liveness detection, then gets reinforced by face match against the document portrait and by a 1:N face search against your application's enrolled face index. Liveness answers whether the face is alive; face match and face search answer whether it is the right person.
How do we detect a deepfake during a selfie check?
We analyse the capture for the artifacts and depth cues a synthetic face does not reproduce. Passive liveness uses single-frame deep learning, flashing liveness reads light-pattern reflections into a depth map, and 3D action and flash adds a randomized action that helps detect replayed or pre-recorded video. We report 99.9% accuracy with a false acceptance rate under 0.1% for liveness detection.
What is the difference between passive and active liveness?
Passive liveness judges a single image with no user action, which makes it the cheapest and fastest check at $0.10. Active liveness asks for something, a randomized action combined with light-pattern depth, which raises security and costs $0.15. Use passive for high-volume, lower-risk steps and active for banking, healthcare, government and other high-risk onboarding.
Can a printed photo or a screen replay pass a passive liveness check?
Passive liveness is designed to catch that, and the endpoint returns Declined with LIVENESS_FACE_ATTACK when the model detects a presentation attack. Passive liveness does not judge intent: a live person holding a phone with a deepfake on it may still produce a real face signal. Face match and a 1:N face search are designed to catch that case, not liveness alone.
How much does spoofing detection cost per check?
Our Passive Liveness is $0.10 per check and Active Liveness is $0.15 per check. A full ID check using passive liveness is $0.33, together with ID Verification, Face Match and Device and IP Analysis. Face Match is $0.05 per check, Face Search is $0.05 per search and NFC chip reading is $0.15 per check. Growth takes 4% off and Scale takes 10% off our prices.
Does a liveness check stop a deepfake of an existing customer?
Not on its own. If an attacker drives a live deepfake, the face in front of the camera may be a real human surface and the liveness signal can pass. A 1:1 face match against the enrolled portrait plus a 1:N face search against your application's enrolled face index and blocklist helps detect that case, raising DUPLICATED_FACE or FACE_IN_BLOCKLIST. Treat liveness, face match and face search as one decision, not three.
What image formats and size does the passive liveness API accept?
The standalone endpoint accepts jpg, jpeg, png, tiff and webp files up to 5 MB and rejects PDFs. The image should contain a single subject; when several faces appear, MULTIPLE_FACES_DETECTED is returned as a warning rather than a decline. Very high resolutions do not improve accuracy because images are compressed to about 0.5 MB before processing.
What happens when a liveness check returns Declined with LIVENESS_FACE_ATTACK?
The model believes it saw a presentation attack, so the check must not be approved. In a session flow, a fixable capture failure keeps the user on the step with coaching and retries up to the configured attempt budget; once the budget is spent the computed status applies. In the standalone API there is no retry budget, because the call is stateless and returns the score directly.
How many retries does a user get in a Didit session?
The session flow allows guided retries on fixable capture problems such as a dark, blurry or off-center selfie, and the attempt budget is configurable per workflow node within the documented range. The retry response carries feedback_codes, attempts_used and max_attempts so the SDK can coach the user. Standalone server-to-server calls are single-shot and have no retry budget.
Can I test spoofing detection without spending credits?
Yes. Our sandbox is free and unlimited on every plan. On the passive liveness endpoint, sandbox API keys skip processing and billing after request validation: malformed input still returns 400, and a valid call returns a static Approved mock payload without persisting a session or consuming credits. Use it to wire the status and warning handling before you point real traffic at the live endpoint.
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


