Skip to main content

Enhancing Web Security with Didit Web SDK Liveness Detection

Discover how Didit's Web SDK Liveness Detection safeguards your online platforms from sophisticated spoofing attacks. Learn about active and passive methods, real-time fraud prevention, and how to integrate robust biometric.

Enhancing Web Security with Didit Web SDK Liveness Detection

Contents

In this guide

Jump to the part you need.

Combatting Sophisticated FraudDidit's Liveness Detection, including 3D Action & Flash and Passive Liveness, offers enterprise-grade protection against deepfakes, masks, and video replays, ensuring only real users gain access.

Seamless Integration and User ExperienceThe Didit Web SDK allows for easy integration of advanced liveness checks directly into your web applications, providing a smooth, intuitive user experience while maintaining high security.

Comprehensive Risk AssessmentDidit provides detailed liveness reports and configurable warning mechanisms, enabling businesses to understand and respond to potential threats like low scores, duplicate faces, and blocklist matches.

AI-Native and Modular ProtectionAs an AI-native platform, Didit offers a modular architecture, allowing businesses to compose verification workflows, automate trust, and benefit from Core KYC, adapting to diverse security needs without setup fees.

The Growing Threat of Presentation Attacks in Web Security

In today's digital landscape, web security is paramount. However, traditional authentication methods are increasingly vulnerable to sophisticated presentation attacks. Fraudsters are no longer limited to stolen passwords; they leverage advanced techniques like deepfakes, high-quality masks, and video replays to bypass identity verification systems. These attacks, often referred to as spoofing, pose a significant threat to user accounts, sensitive data, and the overall integrity of online platforms. Businesses across all sectors, from banking and healthcare to e-commerce and social media, face immense pressure to implement robust defenses that can accurately distinguish between a live human and a malicious attempt to impersonate one.

The challenge lies in finding a solution that is both highly secure and user-friendly. Overly complex verification processes can deter legitimate users, while lax security invites fraud. This is where advanced biometric solutions, specifically liveness detection, become indispensable. Didit's Liveness Detection, delivered via its Web SDK, provides a critical layer of defense, ensuring that the person interacting with your web application is indeed physically present and alive.

Understanding Didit's Liveness Detection Methods

Didit offers a multi-faceted approach to liveness detection, combining various methods to achieve 99.9% accuracy and a False Acceptance Rate (FAR) of less than 0.1%. This robust protection is crucial for safeguarding against the most advanced spoofing attempts. Our Web SDK allows you to seamlessly integrate these powerful capabilities directly into your web applications, providing real-time defense.

3D Action & Flash: The Highest Security Standard

For scenarios demanding the utmost security, Didit's 3D Action & Flash method is unparalleled. It combines multi-factor biometric verification with a randomized action sequence (e.g., blinking or nodding) and dynamic light pattern analysis. Users are prompted to perform a simple, real-time action, while the system simultaneously projects light patterns onto their face. This dual-layered approach analyzes both behavioral cues and the physical 3D structure of the face. Deep learning algorithms examine micro-expressions and light reflection responses, making it nearly impossible to spoof with static images, videos, or even advanced masks. This method is ideal for high-risk applications like banking, healthcare, and government services.

3D Flash: High Security with Seamless Experience

The 3D Flash method offers high security against presentation attacks without requiring explicit user interaction. It projects a series of light patterns onto the face at over 30 frames per second, analyzing the reflections to create a depth map. This depth map confirms the face's three-dimensional structure, effectively distinguishing it from flat images or 2D spoofs. It provides a highly secure yet seamless experience, perfect for financial services, account access, and general identity verification where user flow is critical.

Passive Liveness: Fast and Convenient Verification

For low-friction scenarios and consumer applications, Didit's Passive Liveness method provides standard security. This method relies on single-frame deep learning analysis to detect signs of liveness. It examines the image for artifacts, texture patterns, and other subtle indicators that differentiate a real face from a spoof. A convolutional neural network (CNN) validates facial features and identifies anomalies, such as those from printed photos or digital screens. While offering fast and convenient verification, it provides robust protection for common use cases.

Interpreting Liveness Detection Reports and Warnings

Didit's Liveness Detection process provides comprehensive insights through detailed reports, accessible via the Web SDK, helping you understand the security assessment and potential risks. Each report includes a liveness object with key sections:

  • Liveness Status: Overall verification status (Approved, Declined, In Review, Not Finished) and confidence score.
  • Media References: Temporary URLs to captured images and videos for review.
  • Method Details: Information about the specific liveness detection method used (e.g., ACTIVE_3D, FLASHING, PASSIVE).
  • Risk Assessment: Warnings and potential security issues detected, including specific tags like LOW_LIVENESS_SCORE, LIVENESS_FACE_ATTACK, or FACE_IN_BLOCKLIST.
  • Verification Metadata: Additional details like age estimation, similarity percentages for face matches, and timestamps.

Didit's system automatically declines attempts under critical conditions such as NO_FACE_DETECTED, LIVENESS_FACE_ATTACK (indicating a spoofing attempt), or FACE_IN_BLOCKLIST (if the face matches an entry in your blocklist). For other risks, like LOW_LIVENESS_SCORE or POSSIBLE_DUPLICATED_FACE, businesses can configure thresholds and actions (Decline, Review, or Approve) to align with their specific risk policies, ensuring granular control over verification outcomes.

How Didit Helps

Didit is the AI-native, developer-first identity platform designed to enhance web security with unparalleled liveness detection capabilities. Our modular architecture allows businesses to easily integrate advanced biometric verification into any web application using our intuitive Web SDK. We offer Core KYC, ensuring that essential identity verification is accessible to all, with no setup fees and a pay-per-successful check model.

With Didit, you can deploy state-of-the-art Liveness Detection (Passive & Active Liveness) to prevent sophisticated fraud attempts like deepfakes and presentation attacks. Our platform's AI-native design ensures continuous improvement and adaptation to new fraud vectors. Beyond liveness, Didit provides a comprehensive suite of identity verification tools, including ID Verification (OCR, MRZ, barcodes), 1:1 Face Match & Face Search, AML Screening & Monitoring, Proof of Address, and Age Estimation, all accessible via clean APIs or a no-code Business Console. This integrated approach allows you to compose robust verification workflows, orchestrate risk, and automate trust globally and at scale, significantly enhancing your web security posture.

Ready to Get Started?

Ready to see Didit in action? Get a free demo today.

Start verifying identities for free with Didit's free tier.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alejandro Rosas

Co-founder and CTO

Alejandro Rosas

Alejandro Rosas

Co-founder and CTO

About Didit

Questions

Blog questions

Who writes the Didit blog?
The Didit team. Guides reviewed by Alberto Rosas, co-founder and CEO, carry his byline. The rest are published as Didit.
Which topics does the blog cover?
Eight topics: ID verification, business verification (KYB), AML, sanctions and compliance, fraud prevention, transaction monitoring and crypto, country guides, agents and developers, and product updates.
Is the blog available in my language?
Yes, in 15 languages: English, Spanish, French, German, Brazilian and European Portuguese, Catalan, Russian, Arabic, Chinese, Japanese, Hindi, Indonesian, Korean and Swahili. Not every post is translated, so each language shows the posts it has.
Where do I find product updates?
In the changelog at /changelog/ and under the Product updates topic.
Are these posts legal advice?
No. Regulation posts explain rules; your legal team decides how they apply.
How do I find posts on one topic?
Open one of the eight topics, or search the blog.
Are posts dated?
Yes. Every post shows when it was published and when it was last updated.
Do posts link to the docs?
Developer posts link to the matching page on docs.didit.me and to the API reference.
Is the blog the same as the docs?
No. The blog explains rules, markets and product changes for a general reader, while docs.didit.me holds the integration guides and the API reference. Developer posts link the matching docs page and the API reference they describe.

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.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • 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.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • 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.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.