Epic Integration Penetration Testing
Last updated:
An Epic integration reaches patient data through a client ID, registered redirect URIs and credentials that your own code has to protect. We test your app, its tokens and its customer setup. EJN Labs is a CREST-accredited UK company providing penetration testing for Epic EHR integrations, from £3,880 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.”
Epic ties every app to a client ID that lists the APIs it may call, so the scope you request, and how your code guards the tokens issued under it, sets the ceiling on what a flaw can expose.
How Epic decides what your app can reach
Epic’s developer documentation is explicit that scope is a security decision. It tells developers to include only the APIs an app needs, and says healthcare organisations should request a licensing estimate and complete a security review based on your client ID’s scope. Epic’s App Developer Guidelines list security as a principle for apps that connect to Epic: an app should not introduce security vulnerabilities or increase risk in a customer’s systems. A penetration test of your integration is one way to show a customer’s security team what sits behind each API you asked for.
How your app proves who it is depends on the launch type. For the authorisation code flow, Epic’s OAuth 2.0 specification points to the SMART recommendation that the state parameter be unpredictable, with at least 122 bits of entropy. It recommends PKCE for native apps and supports only the S256 method. Backend apps authenticate with a signed JWT, and Epic recommends registering a JWK Set URL for the public keys. Each of those is code or configuration on your side, which is where our testing goes.
An Epic app is not one deployment. Epic customers download it using your client ID, and each can carry its own redirect URIs and client credentials. That makes tenant separation in your back end, and the handling of per-customer secrets, part of the review. Epic’s terms also state that its sandbox website is not intended for security testing, so we test your application and its infrastructure, and any work against a customer’s own Epic environment is agreed with that customer first. Our healthcare penetration testing work covers the wider setting.
SCOPE
What we test for an Epic integration
Customer Security Review Evidence
Epic recommends that healthcare organisations complete a security review based on your client ID’s scope, and its developer guidelines name security as a principle. We map our report to what that review asks about your app, covering the APIs requested, how tokens are held and how patient data is stored, so the customer receives evidence rather than assurances.
Client ID Scope and Over-Requested APIs
Epic advises scoping each client ID narrowly and mapping every API to a use case. We compare the APIs enabled on your app with the calls your code really makes, and test whether a token issued under the wider scope can reach records the feature never needs.
Authorisation Code Flow, Redirect URIs and State
The OAuth 2.0 flow depends on registered redirect URIs and an unpredictable state value, and Epic recommends at least 122 bits of entropy for it. We test the redirect handling, state generation and validation, code replay, and whether a customer-specific redirect URI can be abused to deliver a code to the wrong place.
SMART on FHIR EHR and Standalone Launch
An EHR launch gives your app a launch token that it redeems for an access token, and a standalone launch has the patient log in through MyChart. We test what the launch context lets a user change, whether the app trusts identifiers passed in the launch URL, and whether one clinician or patient can reach another’s record.
Backend OAuth, Signed JWTs and Key Storage
Backend apps authenticate with a JWT signed by a private key, with the client ID in both the iss and sub claims and a unique jti. We check where that private key is stored and who can read it, how assertions are built and expired, and whether the JWK Set URL you publish is served and protected as intended.
Refresh Tokens and Session Lifetime
Epic requires the confidential client profile for refresh tokens, and access lasts for a limited time per launch. We test where access and refresh tokens are stored, whether they leak into logs or URLs, whether logout and revocation work, and whether a stolen token keeps working after the user session ends.
Customer-Specific Configuration and Tenant Separation
Customers download an Epic app with their own redirect URIs and client credentials, so your back end holds data and secrets for many organisations. We test whether one customer’s token, identifier or configuration can read or change another customer’s data, and how per-customer secrets are stored.
Patient Data Your App Stores and Exports
Whatever your app pulls through FHIR APIs or Bulk FHIR can end up in your own database, caches, files and logs. We test access control on that stored data, the exports and reports built from it, and whether patient identifiers can be enumerated or swapped in a request.
HL7v2 and Interface Endpoints You Expose
Epic’s interface setup asks vendors to supply an HTTPS endpoint, or a host and port, for receiving messages, plus any authentication details they need. We test that receiver for authentication, message validation, injection through message fields, and exposure to the open internet.
Your App’s Own API, Admin Panel and Native Client
The integration sits beside your own web app, admin tools and, for native apps, a client that must protect the authorisation code from other apps on the device. We test the app’s own API and admin functions, hard-coded secrets in front-end bundles and mobile builds, and the platform link handling Epic describes for native apps.
OUR PROCESS
Epic Integration Penetration Testing: From Scope to Attestation
Scope and Access
We agree the integration, its launch types and customer environments in scope, and you provide a sandbox or non-production client ID, test accounts and the registered redirect URIs.
Token and Scope Mapping
We map every API on the client ID, every token and key your app holds, and each place patient data is stored or passed on.
Manual Testing
A CREST-certified tester manually tests the launch flows, token handling, tenant separation and your own API and admin functions, 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 you can pass to a customer’s security team.
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 Epic 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 Epic Integration Penetration Testing Pricing
EJN Labs Epic Integration Penetration Testing prices start at £3,880. 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 Epic 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 Epic 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 Epic require a penetration test before our app can connect?
We did not find a penetration test listed as a requirement on Epic’s developer pages. Epic does recommend that healthcare organisations complete a security review based on your client ID’s scope, and its App Developer Guidelines name security as a principle. We confirm the current requirements, and what each customer asks for, with you during scoping.
What access do you need to test our Epic integration?
We need a non-production client ID, test users for each role the app serves, and the redirect URIs registered for it. For a backend app we need the means to sign an assertion in a test environment, or read access to the code that does. Access to your own staging environment and API documentation speeds the test up.
Will you test against our customer’s live Epic system?
No, not unless that customer agrees in writing first. Epic’s terms say its sandbox website is not intended for security testing, so we test your application, your infrastructure and your token handling rather than Epic’s systems. If a customer wants testing in their own environment, we agree the rules of engagement with them before anything starts.
How long does an Epic integration test take?
One integration with a single launch type and a defined set of APIs sits in our 3-day single-integration scope, with the report typically landing around 5 working days after kickoff. Several launch types, patient-facing and clinician-facing apps together, or a large back end move into a larger scope.
Is the sandbox enough, or do you need production data?
The sandbox is enough for the integration logic, and we do not need real patient data. Epic states its sandbox should hold only sample or synthetic data. Anything that must be seen against production data is agreed in advance, with data handling terms in writing.
What is out of scope for an Epic integration test?
We never test Epic’s own software, hosting or customer Epic environments without that customer’s consent. We test what you build and control: your app, its API, token and key handling, redirect URIs, back end and the data it stores. A connected system such as a customer identity provider is scoped and quoted separately.
Does Epic place rules on customer security testing?
Epic’s terms for its sandbox website say it is not intended for performance, scalability or security testing, and ask developers to report any vulnerability they find in Epic software to Epic. We confirm the current terms with you during scoping and test to them exactly.
Is EJN Labs CREST accredited?
Yes. EJN Labs is a CREST-accredited company, and every Epic 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 Epic integration
An Epic integration reaches patient data through a client ID, registered redirect URIs and credentials that your own code has to protect. We test your app, its tokens and its customer setup. EJN Labs is a CREST-accredited UK company providing penetration testing for Epic EHR integrations, from £3,880 for a 3-day single-integration scope, quoted within 24 hours.



