CERT-In Empanelled
M1 to M4 & Beyond
ISO 27001:2022 Certified
NHA Submission-Ready Reports
Guide • Ayushman Bharat Digital Mission • Security Assessment

ABDM WASA Testing: The Complete Guide to M1, M2, M3 & M4 Security Assessment

Everything a digital health team needs to know about the Web Application Security Assessment (WASA) required for ABDM - what it is, who needs it, what auditors test at each milestone, how the process works, and how to get ready.

Section 1

ABDM in Brief and Who Participates

The Ayushman Bharat Digital Mission (ABDM), run by the National Health Authority (NHA), is India's programme to build an interoperable digital health infrastructure. Citizens get an ABHA (Ayushman Bharat Health Account) number and address, and can choose to link and share health records between hospitals, labs, pharmacies, insurers and their own health apps - always through consent.

Software and services connect to this network in one or more roles:

  • Health Information Provider (HIP): hospitals, clinics, labs and their software (HMIS, EHR/EMR, LIMS) that create health records and share them when a patient consents.
  • Health Information User (HIU): insurers, doctors, healthcare platforms and other apps that request and consume patient records with the patient's consent.
  • PHR / Health Locker apps: patient-facing apps where individuals manage their ABHA, consents and records.
  • Registry and claims participants: systems that connect to professional and facility registries or to digital claims exchange, depending on the integration.

Because these systems exchange some of the most sensitive personal data there is, NHA expects the applications that connect to ABDM to demonstrate sound security before they reach the production environment. That is the purpose of the WASA.

Key Takeaways
  • ABDM runs on consent: records move only when the patient approves.
  • Every role (HIP, HIU, PHR) exposes APIs that handle sensitive health data.
  • Security assessment is what proves those APIs and flows cannot be abused.
Section 2

What Is ABDM WASA?

WASA stands for Web Application Security Assessment. In the ABDM context it is a security audit of your application and its ABDM integration, performed by a CERT-In empanelled auditor, and documented in a report that you submit to NHA as part of the compliance process. A successful WASA is a precondition for going live on the ABDM production environment.

WASA vs. VAPT vs. functional testing

ActivityWhat it answersWho typically does it
WASA (security assessment) Can the application and its ABDM flows be attacked or abused? Is patient data protected? CERT-In empanelled security auditor
VAPT Broader vulnerability assessment and penetration testing, which can include infrastructure and network. A WASA uses VAPT techniques scoped to the application. Security auditor
Functional testing Does each ABDM flow work as NHA specifies? Your development / QA team
Scope note: ISECURION provides the WASA security assessment. Functional testing of ABDM flows against NHA test cases is outside our scope and stays with your development / QA team.
Section 3

ABDM Milestones and Their Security Focus

ABDM integration is organised into milestones, each adding a capability to your application. The security assessment follows the same structure: for every milestone you implement, the auditor tests the flows and APIs that milestone introduces, on top of a common application baseline.

M1 ABHA - the Identity Layer

M1 lets your application create, verify and use ABHA numbers and addresses, typically during patient registration or login.

Security focus
  • OTP generation, delivery and verification: brute force, bypass and rate limiting
  • Account and ABHA enumeration through error messages or response differences
  • Exposure of Aadhaar-linked or demographic data in responses, logs and storage
  • Token and session handling after ABHA login; insecure storage of client secrets

M2 Health Information Provider (HIP)

M2 lets your application link a patient's records to their ABHA and share health data (as FHIR bundles) when consent is granted.

Security focus
  • Insecure direct object references on care contexts and patient records
  • Unauthorised or spoofed linking requests
  • Callback and webhook endpoints: SSRF, replay and spoofed notifications
  • Health record transfer: payload encryption, malformed bundles, XML entity attacks
  • Authorisation checks on data push and on any consent-dependent action

M3 Health Information User (HIU)

M3 lets your application request records from other providers through the consent flow and display them.

Security focus
  • Consent request and artefact handling: forgery, replay and purpose-scope violations
  • Fetching or displaying records without a valid, unexpired consent
  • Key exchange and decryption handling for received data
  • Secure storage, access control and logging of the records you receive

M4 Extended Integrations

M4 covers additional ABDM integrations beyond the core identity, provider and user flows - such as connecting to healthcare professional and health facility registries, or digital claims exchange. The exact scope depends on your platform and on NHA's current definition, so confirm it for your integration.

Security focus
  • API authentication, authorisation and credential handling toward registries and exchanges
  • Exposure of professional, facility and claims data
  • Input validation and business-logic abuse on submission and lookup APIs

Other Tracks: PHR, Health Locker & Integrated Programs

Patient-facing PHR and Health Locker apps, Scan & Share flows, notification subscriptions and programme integrations follow their own tracks.

Security focus
  • Patient consent management: bypass, expired consent abuse
  • Mobile app security: local data storage, deep links, certificate pinning
  • Notification subscription flows and data leakage across apps
Key Takeaways
  • Each milestone adds new APIs and new attack surface.
  • The WASA should cover every milestone your application implements - not only the first.
  • Security design done well at M1 (tokens, secrets, logging) carries through to later milestones.
Section 4

Which Milestones Does Your Application Need?

The milestones you implement depend on the role your product plays. The table below shows the typical pattern. Treat it as a planning guide and confirm the exact requirement for your product with NHA.

Product typeTypical milestonesSecurity assessment emphasis
Hospital / clinic software (HMIS, EHR / EMR) M1 + M2 (often with registry integrations) ABHA flows, care context linking, record push, callbacks
Diagnostic lab / LIMS M1 + M2 Report sharing, IDOR on patient reports, FHIR payloads
Insurer, analytics or referral platform M1 + M3 Consent artefacts, record fetch, storage of received data
Telemedicine / pharmacy app M1 + M2, and M3 if it views external records Prescription push, consent, mobile app security
PHR / Health Locker app PHR track, usually with M1 and M3 elements Patient consent management, mobile security, Scan & Share
Full platform M1, M2, M3 and extended integrations (M4) All of the above, plus end-to-end data-flow review

Many teams certify the first milestones, go live, and add the next ones later. Plan for the security assessment to follow each addition - a single auditor who knows your application already makes that faster.

Section 5

What a WASA Auditor Tests

A thorough ABDM WASA combines a standard application baseline with ABDM-specific tests for each milestone in scope.

Application baseline (all milestones)

  • OWASP Top 10: injection, broken authentication, sensitive data exposure, broken access control, security misconfiguration, XSS, insecure deserialisation and more.
  • Authentication and session management: token handling, session expiry, refresh flows, protection against hijacking and replay.
  • Data protection: TLS configuration, encryption of health data in transit and at rest, key management.
  • API security: rate limiting, IDOR, mass assignment, parameter tampering, business-logic abuse.
  • Mobile applications (if applicable): local storage, deep link handling, certificate pinning, reverse-engineering resistance, ABHA SDK implementation.
  • Documentation review: security policies, data handling procedures and technical controls against NHA's compliance requirements.

ABDM-specific tests (per milestone in scope)

MilestoneFlow / areaExample security tests
M1ABHA creation, verification, loginOTP bypass, enumeration, data leakage, token replay
M2Care context linking, record push, callbacksIDOR, spoofed linking, SSRF via callback URLs, malformed FHIR / XML entity attacks
M3Consent request, record fetch, storageConsent forgery and replay, access without valid consent, key handling
M4Registry and claims integrationsAPI authentication, credential handling, data exposure
PHR / LockerConsent management, Scan & Share, notificationsConsent bypass, deep link hijacking, local storage leakage
Section 6

Common Vulnerabilities in ABDM Applications

These are the issues that most often show up when digital health applications are assessed. Fixing them before the audit saves a full remediation cycle.

IDOR on patient data

Changing a patient, care context or report identifier returns another patient's data because ownership is not checked on the server.

Weak OTP handling

No rate limiting, predictable or reusable OTPs, and responses that reveal whether an account exists.

Consent not enforced server-side

Records are returned without checking that a valid, unexpired consent with the right purpose exists.

Hard-coded or exposed secrets

Gateway client secrets and tokens embedded in mobile apps, front-end code, repositories or logs.

SSRF via callback URLs

Webhook or callback endpoints that fetch attacker-supplied URLs, or accept unauthenticated notifications.

Unsafe FHIR / XML parsing

Malformed bundles that trigger entity expansion, injection or crashes, and payloads accepted without schema checks.

Weak TLS and unencrypted storage

Outdated protocols, missing certificate pinning in mobile apps, and health records stored unencrypted.

Verbose errors and logging of health data

Stack traces in responses and patient identifiers or record content written to application logs.

Missing rate limits and business-logic gaps

Bulk enumeration, repeated consent requests and workflow steps that can be skipped or replayed.

Section 7

The WASA Process, Step by Step

Scoping and onboarding

Share your architecture, the milestones you implement, your role (HIP / HIU / PHR), tech stack and the test environment. The auditor builds an API inventory and agrees the scope, schedule and test credentials with you.

Integration and architecture security review

The auditor reviews how you handle tokens, secrets, FHIR payloads and consent logic, to spot design-level weaknesses before active testing starts.

Security testing

OWASP Top 10 testing plus ABDM-specific API tests for each milestone in scope, with mobile and infrastructure checks in parallel where applicable. Testing is done in a non-production environment with test data.

Reporting and remediation

You receive findings with evidence, CVSS risk ratings and step-by-step fixes. Critical and high findings must be resolved before the final report is issued; good auditors support your developers during this phase.

Re-testing and closure

Every fix is re-tested to confirm it works and has not introduced new issues. A closure letter documents the remediated findings.

Final WASA report and NHA submission pack

The auditor issues the signed WASA report and the supporting documents, which you submit to NHA.

Section 8

Readiness Checklist Before You Book the Audit

Work through this list first. Each item you close now is one fewer finding in the report.

  • Environment ready: a stable test environment with test data and working credentials for the ABDM gateway.
  • Scope documented: list of milestones, roles, APIs, user roles and any mobile apps in scope.
  • Secrets managed: no client secrets or tokens in code, repositories, app binaries or logs.
  • Access control enforced on the server: every patient, care context and record request checks ownership and consent.
  • OTP and login protected: rate limits, lockouts, expiry and uniform error messages.
  • Transport and storage secured: modern TLS, certificate pinning for mobile, encrypted storage of health data.
  • Callbacks authenticated: webhook endpoints validate the sender and block internal-address fetches.
  • Input validated: FHIR and XML payloads checked against schema and parsed safely.
  • Logging reviewed: no patient identifiers or record content in logs; verbose errors disabled.
  • Developers available: a named contact who can fix findings during the remediation window.
  • Policies in place: security policy, data handling procedure and incident response plan ready for documentation review.
Section 9

Timeline and Cost Factors

How long does it take?

A standard application usually takes 2 to 4 weeks end to end: scoping, testing, reporting, remediation support and re-testing. Platforms with several milestones, many integrations or a large number of findings can take longer. Fast-track options exist for tight go-live dates, but the remediation time you need depends mostly on how quickly your team can fix findings.

What drives cost?

  • Number of milestones in scope (M1 only, M1 + M2, all milestones).
  • Size of the application: number of APIs, user roles and modules.
  • Mobile apps: Android and iOS apps add testing effort.
  • Re-testing rounds: more findings usually mean more re-test effort.
  • Timeline: fast-track schedules are priced differently from standard ones.

Because scope varies so much, reputable auditors quote after a short scoping call rather than from a fixed price list.

Plan backwards from go-live. Book the assessment early enough to leave time for fixing findings and re-testing before your NHA submission.
Section 10

How to Choose a WASA Auditor

Use these questions to compare providers:

  • Are they CERT-In empanelled? NHA accepts WASA reports from CERT-In empanelled auditors. Ask for proof of current empanelment.
  • Do they know ABDM? Look for hands-on experience with ABDM APIs, FHIR and consent flows, not just generic web testing.
  • Is the scope clear? The proposal should state which milestones and which apps are covered, and what is excluded (for example functional testing).
  • Do they support remediation? Developer-friendly guidance and re-testing are included, not billed as surprises.
  • Will the report be NHA-ready? Ask for a sample structure and what the submission pack contains.
  • How do they protect your data? Your code, test data and findings should be handled under a certified ISMS and a confidentiality agreement.
Section 11

What You Should Receive

WASA audit report

Signed report covering results for every milestone in scope, in NHA submission format.

Milestone-wise evidence

Screenshots and request / response evidence organised by milestone.

Vulnerability report

Every finding with CVSS rating, impact and remediation steps.

Remediation support

Developer-level guidance and calls to help close findings quickly.

Re-test report and closure letter

Confirmation that fixes work and findings are closed.

NHA submission pack

Report, evidence, closure letter and auditor certificate in one package.

Section 12

FAQs

WASA is a web application security assessment focused on the application and its ABDM integration, and it produces the report submitted to NHA. VAPT is a broader term that can also include infrastructure and network testing. In practice an ABDM WASA engagement uses VAPT techniques but is scoped to the application, its APIs and the ABDM flows you implement.

The security assessment should cover every milestone your application implements. Teams that certify M1 first and add M2, M3 or M4 later typically need the new flows assessed as they are added. Confirm the exact requirement for your integration with NHA.

Security testing is performed in a non-production environment with test data so that no real patient data is exposed. Your auditor will confirm the environment and credentials during scoping.

ISECURION does not provide functional testing. Functional validation of ABDM flows against NHA test cases stays with your development and QA team. Our scope is the WASA security assessment.

Typically two to four weeks for a standard application, including testing, reporting, remediation support and re-testing. Larger platforms with several milestones or many findings can take longer.

Critical and high findings should be fixed and re-tested before the final WASA report is issued for NHA submission. Your auditor provides remediation guidance, re-tests the fixes and issues a closure letter.

Ready to Start Your ABDM WASA?

Talk to ISECURION - CERT-In empanelled, ISO 27001:2022 certified - about the milestones you are certifying and get a scoped quote within 24 hours.

Serving digital health companies in Bangalore, Mumbai, Delhi, Hyderabad, Chennai, Kolkata and across India.

CERT-In Empanelled Auditor M1 to M4 & Beyond NHA Submission-Ready Reports
WhatsApp - ABDM WASA Testing Enquiry
ABDM WASA Testing (M1-M4)
CERT-In Empanelled
Call Get Quote