Skip to main content

Unlock Custom Logic: WebAssembly Plugins for Didit

Discover how WebAssembly (Wasm) plugins can extend Didit's powerful identity verification platform, enabling highly customized logic and integrations.

Unlock Custom Logic: WebAssembly Plugins for Didit

Contents

In this guide

Jump to the part you need.

WebAssembly for Custom LogicWebAssembly (Wasm) provides a secure, high-performance, and portable way to execute custom logic directly within Didit's identity verification platform, allowing for advanced customization beyond standard configurations.

Enhanced Flexibility and IntegrationWasm plugins enable businesses to implement unique business rules, integrate with proprietary or region-specific data sources, and perform complex data transformations or validations that are critical for specific compliance or fraud prevention needs.

Security and Performance BenefitsBy running custom code in a sandboxed Wasm environment, Didit ensures that performance remains high and security vulnerabilities are minimized, preventing malicious code from impacting the core platform or other services.

Didit's Modular and AI-Native PlatformDidit's architecture is designed to seamlessly integrate Wasm plugins, offering a developer-first approach to extending its AI-native identity verification capabilities. This allows businesses to maintain full control and adaptability over their verification processes, all while benefiting from Didit's Core KYC and no setup fees.

The Power of Programmable Identity with WebAssembly

In the rapidly evolving landscape of digital identity, standard verification solutions often fall short when confronted with unique business requirements, complex regulatory nuances, or highly specific fraud patterns. This is where the concept of programmable identity, powered by technologies like WebAssembly (Wasm), becomes a game-changer. WebAssembly offers a secure, high-performance, and portable way to execute custom code, allowing businesses to extend the functionality of core platforms like Didit with bespoke logic.

Imagine needing to apply a very specific risk scoring algorithm based on a combination of ID document data, liveness detection results, and a proprietary internal database. Or perhaps you need to integrate with a local credit bureau API that isn't natively supported by your identity provider. Traditionally, such customisations would require complex integrations, maintaining separate microservices, or even modifying the core platform itself – all resource-intensive and prone to friction. Wasm plugins eliminate these hurdles by providing a lightweight, sandboxed environment for your custom code to run directly within the identity verification workflow. This means faster development cycles, reduced operational overhead, and a truly tailored identity experience.

Why WebAssembly is Ideal for Identity Verification

WebAssembly brings several compelling advantages to the realm of identity verification, making it an ideal choice for extending Didit's capabilities:

  • Security: Wasm modules run in a sandboxed environment, isolated from the host system. This inherent security model prevents malicious or buggy code from compromising the entire platform, which is paramount when dealing with sensitive identity data.
  • Performance: Wasm is designed for near-native performance, offering execution speeds far superior to traditional scripting languages. This is crucial for real-time identity checks where latency can significantly impact user experience and conversion rates.
  • Portability: Wasm is language-agnostic. Developers can write their custom logic in languages like Rust, C++, Go, or even TypeScript (via AssemblyScript), compile it to Wasm, and deploy it across different environments without modification. This broadens the talent pool and simplifies development.
  • Small Footprint: Wasm binaries are typically very small, leading to faster loading times and efficient resource utilization, which is beneficial for scalable identity infrastructure.

These characteristics allow businesses to create highly specialized verification steps, such as advanced data validation routines for specific proof of address documents, custom anti-fraud checks drawing on unique data points, or dynamic routing decisions based on complex compliance rules, all within Didit's robust framework.

Practical Applications of Wasm Plugins in KYC Workflows

The applications of WebAssembly plugins within Didit's identity verification workflows are vast and transformative. Here are a few examples:

  • Custom Data Enrichment and Validation: Beyond standard ID Verification, you might need to cross-reference extracted data with an internal watchlist or a specific regional database not covered by standard AML screening services. A Wasm plugin can fetch data from these external sources, perform custom matching logic, and return a validated result.
  • Dynamic Risk Scoring: Combine results from Passive & Active Liveness, 1:1 Face Match, AML Screening, and even Age Estimation with your own proprietary risk factors using a Wasm module to generate a highly tailored risk score, triggering specific downstream actions like manual review queues or automated approvals.
  • Complex Compliance Logic: For businesses operating in multiple jurisdictions, compliance rules can be intricate. A Wasm plugin can encapsulate region-specific KYC/AML logic, ensuring that verification steps adapt dynamically based on the user's location or the service they are accessing. This allows for fine-grained control over regulatory adherence.
  • Custom Data Transformation: Sometimes, data from an identity document needs to be transformed into a specific format for an internal system. A Wasm plugin can perform these transformations on the fly, ensuring seamless data flow and reducing the need for post-verification processing.

By empowering developers to inject custom logic at critical points in the verification journey, Didit with Wasm plugins moves beyond a static service to become a truly adaptable identity platform.

How Didit Helps

Didit is at the forefront of this programmable identity revolution. Our AI-native, developer-first platform is built with a modular architecture designed for maximum flexibility and extensibility. We understand that one size does not fit all in identity verification, and that businesses often require unique solutions to complex problems. By supporting WebAssembly plugins, Didit offers an unparalleled level of customization and control over your identity workflows.

Our Orchestrated Workflows, accessible via a no-code Business Console, already allow for sophisticated multi-step verification journeys combining products like ID Verification, Passive & Active Liveness, 1:1 Face Match, AML Screening, Proof of Address, and Age Estimation. The integration of Wasm plugins further enhances this, enabling you to embed your custom logic directly into these workflows. This means you can leverage Didit's robust core capabilities—including Core KYC and no setup fees—and augment them with your bespoke requirements, all while maintaining high performance and security. Didit's commitment to clean APIs and an instant sandbox ensures that developers can quickly experiment, build, and deploy Wasm modules, integrating seamlessly into existing systems and processes.

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

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

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.