NHS App Integration Penetration Testing
Last updated:
The NHS App passes each patient to your service with a login token in the URL. We test that handoff, and what the patient can reach once they are in. EJN Labs is a CREST-accredited UK company providing penetration testing for NHS App integrations, from £3,840 for a 3-day single-integration scope, quoted within 24 hours.
- Unlimited retesting
- Unlimited pre-retesting
- No hidden fees
“I would highly recommend EJN Labs to any organisation seeking reliable, detailed, and well-managed penetration testing services, particularly for government or enterprise-level projects.”
“There wasn’t another company we could find that could deliver what we needed in the timeframe we needed. The client loved it, and we got instant ROI from the engagement.”
The Supplier Conformance Assessment List is the self-assurance document where NHS login asks for a completed and, where applicable, remediated penetration test, and where NHS App suppliers certify their standards.
How the NHS App decides who a patient is
An NHS App web integration shows your responsive website inside the app, and the supplier controls most of what the patient sees. The route to go-live is documented. NHS England’s web integration guide has a product assessment, delivery of the integration in the sandpit and Assurance of Suppliers environments, and a Supplier Conformance Assessment List described as a self-assurance document. It also says an NHS login integration is needed before an NHS App integration goes live. In NHS login’s integration guide, that list covers an in-year DSPT at standards met and a completed and, where applicable, remediated pen test. We confirm with you during scoping which of these apply to your product. Our guide to testing apps for NHS buyers covers the evidence side.
The handoff is where identity is decided. The NHS App’s developer guidance says logged-in users reach third-party services through NHS login single sign-on, with the NHS App JWT passed in an assertedLoginIdentity query parameter, which your service then passes to NHS login as asserted_login_identity, with prompt=none. NHS login describes asserted tokens as one-time tokens with a 60-second lifetime. A token in a URL can end up in logs, analytics and referrer headers, and the way your service treats it decides whether a patient can be impersonated. The same single sign-on design is what we test in our SSO and identity security testing.
After the handoff, your service owns the session. NHS login’s documentation states that it does not support user session management or logout, so your service manages the session, and for standalone web applications it asks for a full authentication journey after 30 minutes of inactivity and after 12 hours of continuous use. It also asks for a new nonce on every authorisation request, checked against the ID token. We test the integration you built against those expectations, from the outside, with real accounts.
SCOPE
What we test in an NHS App integration penetration test
What the Programme Asks For and How Our Report Maps to It
NHS England’s guides describe a product assessment, a Supplier Conformance Assessment List, clinical safety documentation, an accessibility audit and a connection agreement, and NHS login’s list asks for a completed and, where applicable, remediated pen test and an in-year DSPT. Our report is organised by what we tested, with CVSS scores and reproduction steps, so you can show what was tested and fixed. We confirm the current requirements with you during scoping.
NHS login OpenID Connect Flow, State and Nonce
NHS login uses the OpenID Connect authorisation code flow, authenticates your token request with a private_key_jwt, and asks for a new, unpredictable nonce on every authorisation request, checked against the ID token. We test the handling of state, nonce, redirect URIs and the code exchange, check that the ID token is validated, and look for ways to attach one patient’s login to another patient’s session.
The assertedLoginIdentity Handoff From the NHS App
The NHS App redirects to your journey path with a JWT in an assertedLoginIdentity query parameter, added as the last parameter, and NHS login describes asserted tokens as one-time with a 60-second lifetime. We test replay of a captured token, tampering with the path and parameters around it, where the full URL is written (server logs, analytics, error pages, referrer headers), and how your service behaves when prompt=none returns an error.
Session Lifetime, Timeouts and Logout
NHS login does not manage sessions or logout for you, and it asks for a full authentication journey after 30 minutes of inactivity and after 12 hours of continuous use for standalone web applications. The NHS App JS API offers a logout function for session expiry or when a user chooses to log out. We test whether your timeouts are enforced on the server, whether tokens survive logout, and whether a session can be reused from another device.
Trusting the NHS App User Agent and the from Parameter
The NHS App adds an nhsapp-ios or nhsapp-android string to the user agent, and the guidance recommends a ?from=nhsApp query parameter as a way to recognise its traffic, noting that this is guidance and not the only way to do it. Both can be set by anyone. We test that neither unlocks features, skips a check or changes what the server returns beyond styling, and that hiding your own header and navigation does not hide a security control.
NHS App JavaScript API Use and URL Handling
The NHS App JS API lets your pages navigate within the app, open a browser overlay or the device browser, add calendar events and download files from bytes, and its script is loaded from the NHS App environment rather than bundled. We test that any address passed to the navigation functions cannot be set by an attacker, that the script is loaded from the right host, and that file contents and names passed to the download function cannot be influenced by another user.
Site Links and the Well-Known Association Files
To open your emailed or texted links inside the app, you host an assetlinks.json file for Android and an apple-app-site-association file for iOS under /.well-known/. We check that both are served from the right place with only the identifiers and paths you need, and test the pages those links open for open redirects, parameter tampering and unauthenticated access to patient content.
Consent Declined, OIDC Errors and Error Pages
If a patient chooses not to share their NHS login details, NHS login returns error=access_denied with ConsentNotGiven, and the guidance is to show the patient a suitable message with a link back to the NHS App. We test that every OIDC error path ends safely, that error pages do not reveal tokens, internal addresses or stack traces, and that an error cannot be used to leave a half-authenticated session behind.
Patient Data Access, Scopes and the NHS Number
NHS login’s claims depend on the scopes you request, and its notes bar giving or showing the user the NHS number that NHS login traced. We review the scopes against what your service needs, then use two patient accounts to test every endpoint, document, download and notification for access to another patient’s records by changing identifiers, and check that the NHS number is not exposed in responses or pages.
The Service Behind the Journey: Hosting, APIs and Staff Tools
The NHS App shows your website, but the risk sits in what runs behind it: your cloud hosting, your APIs, any link to GP or clinical systems and the staff tools that let clinicians or support teams view patient requests. We test the exposed hosting and the staff-facing functions, including role separation between sites, and map the results to the DSPT evidence you already hold.
OUR PROCESS
NHS App Integration Penetration Testing: From Scope to Attestation
Scope and Access
We agree which service, environments and patient journeys are in scope, how the NHS App handoff will be reproduced, and get test accounts at each role plus a way to start a journey as the NHS App would.
Handoff and Data Mapping
We map the NHS login and NHS App single sign-on path, every token and session, every endpoint a patient or clinician can reach, and where patient data is stored.
Manual Testing
A CREST-certified tester manually tests the handoff, sessions, patient separation and staff tools with real accounts, chaining findings where they compound.
Attestation and Retest
You get a technical report with CVSS scores and reproduction steps, a walkthrough call, a free retest once fixes are deployed, and an attestation letter for auditors.
CREDENTIALS
Verified Accreditations Auditors Accept
Every credential below is independently verifiable. UK procurement teams, FCA supervisors, ISO 27001 / SOC 2 auditors, and cyber insurance underwriters all recognise these standards.
GET YOUR QUOTE
Get a CREST NHS App Integration pen test quote in 24 hours
A fixed-price quote back in one business day, from a named CREST assessor. No sales pipeline, no chasing.
- CREST and IASME accredited. Testing your auditors and clients already recognise.
- Fast-track testing within 24 hours where required. Free retest of every fix included.
- Live findings via your client portal, not a four-week PDF.
- Fixed price from £3,500 for a single-role, single-app scope, agreed up front. Most engagements run £5,000 and up. No day-rate surprises.
Under NDA Further named references available on a scoping call.
- We reply within one business day with a fixed-price quote from a named CREST assessor.
- You approve the scope and we book a start date, usually within 24 hours.
- Live findings land in your client portal as we test, with a free retest of every fix.
Get your fixed pen test quote in 24 hours
Quote request received
We will reply within one business day with your fixed-price quote from a named CREST assessor.
Your data stays with us. No newsletter signup.
or book a 20-min scoping call first
We reply within one business day. Your data stays with us. No newsletter signup.
COMPLIANCE READY
Reports Mapped to Every Framework
Findings are written so your team can reference the report against each framework without translation work.
ISO 27001:2022
Annex A.8.8 management of technical vulnerabilities plus A.5.15-5.18 and A.8.2-8.5 access control validation.
SOC 2 Type I & II
CC6 logical access, CC7 system operations, CC8 change management evidence.
PCI DSS
Requirement 11.4 application penetration testing across cardholder data environments, including ecommerce penetration testing for online retail platforms.
FCA SYSC
SYSC 4.1.1R, 6.1.1R, 13 mapped to each finding for FCA-regulated firms.
UK GDPR
Article 32 effectiveness testing, customer-data security controls, ICO-acceptable evidence.
Cyber Essentials Plus
Direct certification through our IASME body status, single-vendor delivery.
PRICING
Transparent NHS App Integration Penetration Testing Pricing
EJN Labs NHS App Integration Penetration Testing prices start at £3,840. Pricing depends on the number of roles, integrations and environments in scope. See our pricing page for how we quote.
3 to 4 testing days
Single user role, basic CRUD application, marketing website with auth. Around 5 working days from kickoff to report.
Get a fixed quote4 to 6 testing days
Multi-role SaaS, business application with payment integration. Around 8 to 12 working days from kickoff to report.
Get a fixed quote6 to 8 testing days
Multi-tenant platform, complex authorisation matrix, integration-heavy applications. Around 15 to 20 working days from kickoff to report.
Get a fixed quoteSECTORS
Sectors We Test NHS App Integration For
Sector-specific scoping for regulated UK organisations.
Fintech & FCA-Regulated
FCA SYSC, Open Banking FAPI 1.0, PSD2 SCA, payment-flow scrutiny, KYC/AML testing.
Fintech sector pageSaaS Companies
SOC 2 Type I & II evidence, multi-tenant boundaries, role escalation, customer-tenant isolation.
SaaS sector pageLaw Firms
SRA Cyber Standard, privileged data, conveyancing fraud defence, partner-tier procurement.
Law firm sector pageHealthcare
NHS DTAC, DSP Toolkit v6, UK GDPR Article 32, EHR systems, telehealth platforms.
Healthcare sector pageInsurance
FCA / PRA Operational Resilience, cyber underwriting, claims data, broker portals.
Insurance sector pagePublic Sector
CCS / G-Cloud framework, NCSC-aligned, citizen-facing services, PSN-compliance scrutiny.
Public sector pageWHY EJN LABS
What You Get From NHS App Integration Penetration Testing
Six concrete differentiators competitors don’t all match.
CREST-Certified Testers, Verifiable
Every test by a CREST-certified pen tester (CRT, CCT APP, CCT INF where applicable). Verify our company status at crest-approved.org.
24-Hour Startup, Where Required
From signed scope to active testing in a single business day for incident response, audit deadlines, or regulator-driven timelines.
Live Findings, Not 4-Week PDFs
Critical issues reported during testing through your client portal. Your team remediates while testing continues.
Audit-Ready Reports
Executive summary plus full technical report with CVSS scores and explicit framework mappings (ISO 27001, SOC 2, PCI DSS, FCA SYSC).
Free Retests, Standard
Verify remediation of every finding before close-out. Letter of attestation for audit submission included. Most competitors charge £1,500-£3,000 per retest.
UK-Based CREST Testers
Every engagement performed by vetted, UK-based CREST-certified testers, matched to your needs, security clearance, and compliance scope.
FAQ
Frequently Asked
Does the NHS App ask for a penetration test?
The NHS App web integration steps describe a Supplier Conformance Assessment List, an accessibility audit, clinical safety documentation and a connection agreement. NHS login’s integration guide says its list covers a completed and, where applicable, remediated pen test, and NHS login integration comes before NHS App go-live. Your integration manager confirms what applies to your product, and we confirm it with you during scoping.
What access do you need to test our integration?
We need test accounts for a patient, ideally two so we can test one patient against another, and for each staff role in scope. We also need a way to start a journey the way the NHS App does, with a test token or a test environment agreed with you. Read access to your cloud configuration lets us confirm settings without changing them.
Will testing touch live patient data?
No, unless you ask for it in writing. We test against a staging or test environment with synthetic patients, and we do not run destructive tests or export real patient records. Production testing, if you want it, is agreed separately and in advance.
Can you test inside the NHS login integration environment?
No. NHS login’s integration guide says you should not perform non-functional testing or penetration testing in its integration environment, so we keep our testing to your own environments and agree the setup with you. We confirm with you which NHS App and NHS login environments allow what, and check with your integration manager where needed.
How long does an NHS App integration test take?
A single integration with one web service and a small number of journeys sits in our 3-day single-integration scope, with the report typically landing around 5 working days after kickoff. Several services, a wide set of staff roles or links into clinical systems move into a larger scope with more testing days.
What is out of scope?
We never test the NHS App, NHS login or any NHS England system. We test what you build and control: your web service, its handling of the NHS login and NHS App handoff, sessions, your APIs, staff tools and the cloud hosting behind them. Clinical safety work under DCB0129 and DCB0160 and accessibility audits are separate disciplines that we do not cover in this test.
Does your test help with the DSPT and buyer assurance?
It provides technical evidence you can reference alongside your other assurance work. NHS login’s integration guide lists an in-year DSPT at standards met as one of the items in its assurance list, and our report maps findings to the assets you describe, which supports your own submission. It does not replace the DSPT itself.
Is EJN Labs CREST accredited?
Yes. EJN Labs is a CREST-accredited company, and every NHS App Integration engagement is carried out by UK-based, CREST-certified testers. Your report and attestation letter are recognised by auditors and insurers accordingly.
20+ CREST-accredited testing services in one place
Web, mobile, API, cloud, AI, infrastructure, red team. Pick the test that fits your environment.
Get a fixed price for your NHS App integration
The NHS App passes each patient to your service with a login token in the URL. We test that handoff, and what the patient can reach once they are in. EJN Labs is a CREST-accredited UK company providing penetration testing for NHS App integrations, from £3,840 for a 3-day single-integration scope, quoted within 24 hours.



