MTD Software Penetration Testing
Last updated:
A customer’s HMRC authorisation lasts 18 months unless they revoke it, so your software holds long-lived access to their tax data. We test how it stores, uses and separates that access. EJN Labs is a CREST-accredited UK company providing penetration testing for HMRC Making Tax Digital software, from £3,870 for a 3-day single-application 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.”
HMRC says the authorisation a customer grants to your software lasts 18 months unless they revoke it, with a 4-hour access token and a single-use refresh token behind it.
How HMRC decides what your software may do
To get production credentials, software providers confirm to HMRC that they meet its Developer Hub terms of use. For software provided as a service, the questions include whether your application has passed software penetration testing, and HMRC’s note says you must test your software for security vulnerabilities before going live, using either penetration test tools or an independent third party supplier. It also asks whether you audit your security controls against data protection law, and says it may carry out spot checks and retrospective assurance. We confirm with you during scoping which of those questions apply to your product. Our API penetration testing covers the API side of the same software.
HMRC’s data is reached through OAuth 2.0, and the access model is documented closely. Endpoints that return personal data are user-restricted and use the Authorization Code Grant. The customer signs in with HMRC, which applies 2-step verification, and grants scopes. Individuals and organisations can only access their own data, while agents can access their clients’ data. An access token lasts 4 hours, a refresh token can be used once, and the grant stops working after 18 months. HMRC also tells software providers that one production application on the Developer Hub serves all their customers, because customer traffic is isolated through OAuth tokens. That puts the job of keeping customers apart on your software. It is the same consent pattern we test in our open banking API testing.
For the VAT (MTD) and Income Tax Self Assessment (MTD) APIs there is a further duty. HMRC’s guidance says you are required by law to submit fraud prevention header data, and that software providers who keep sending incorrect or missing data may be fined and blocked from using HMRC APIs. The data comes from your users’ devices and your own servers, so how it is collected, built and protected is part of the software we test.
SCOPE
What we test in an MTD software penetration test
What HMRC Asks at Production Access and How Our Report Maps to It
For software as a service, HMRC’s terms of use ask whether the application has passed software penetration testing, whether you audit security controls against data protection law, and how you handle encryption, customer separation and employee access. Our report is organised by those questions, with CVSS scores and reproduction steps, so you can show what was tested and fixed. We confirm the current questions for your product with you during scoping.
OAuth Authorisation Journey, State and Redirect URI
HMRC sends the customer through its own sign-in and 2-step verification, then returns an authorisation code to a redirect URI that must match one registered on your application, with an optional state value to prevent tampering. HMRC supports PKCE but does not make it mandatory, and says the client secret must never appear in the authorise request. We test the state check, redirect handling, code replay, and whether one customer’s authorisation can be attached to another customer’s account in your software.
Access and Refresh Token Storage
HMRC states that access tokens and personally identifiable data must be encrypted when stored and in transit. An access token lasts 4 hours, a refresh token is single-use, and refreshing invalidates the previous one. We look for tokens in databases, logs, error reports, analytics events, back-ups and front-end code, test whether they can be reached through your own API, and check how your software behaves when a refresh races or a token is replayed.
Separation Between Your Customers
Because every customer shares your single production application, separation depends on your code. HMRC asks whether one customer can access another’s data and points to NCSC guidance on keeping user data separate. We use two customer accounts and test every endpoint, export, report and background job for access to another customer’s businesses, returns or obligations by changing identifiers.
Fraud Prevention Headers: Collection, Tampering and Leakage
The VAT (MTD) and Income Tax Self Assessment (MTD) APIs need fraud prevention headers, built from your connection method, and HMRC provides a Test Fraud Prevention Headers API to validate them. We test where device and user values originate, whether a user can alter or forge the values your server sends, whether values like public IP addresses and device identifiers are logged or exposed beyond need, and whether the header code behaves the same on every submission path.
Agent and Client Relationships
HMRC documents that agents can access their clients’ data while individuals and organisations reach only their own. If your software serves accountants and bookkeepers, we test how it models the agent, the clients and the staff who work for the agent, and whether a user can be moved onto another agent’s client list, switch to a client they should not see, or reuse an agent authorisation for the wrong business.
Client ID, Client Secret and Optional IP Allow List
Your Developer Hub application has a client ID and secrets, and application-restricted calls use the Client Credentials Grant with a client secret in the request body. HMRC also offers an optional IP allow list for software hosted on static addresses. We check where secrets are stored, who can read them and whether they reach a browser, and, if you use the allow list, whether requests from outside your own addresses are really blocked.
Your Web Application, Staff Tools and Admin Panel
HMRC asks whether employees can reach only the customer data their role needs and recommends role-based access control. We test authentication, session handling, access control and input handling in your customer-facing application, then the admin panel and support tools that let staff view or act for a customer, including any impersonation feature and the audit trail behind it.
Submission Logic for Returns and Updates
Software turns a customer’s records into submissions to HMRC, so the checks sit in your own endpoints. We test whether a user can submit for a business, period or obligation that is not theirs, change figures between review and submission, replay or double-submit, or skip a confirmation step, using your sandbox setup so nothing reaches HMRC’s live service.
Stored Personal Data, Export and Deletion
HMRC asks that customers can change, export or delete their data, that you do not store customers’ HMRC sign-in details, and that you know where your servers are. We trace where tax records and personal data are written, test whether they are encrypted and who can read them, check that the export and deletion features work and cannot be pointed at someone else’s data, and look for any place an HMRC password could be collected.
OUR PROCESS
MTD Software Penetration Testing: From Scope to Attestation
Scope and Access
We agree which application, customer types and environments are in scope, which HMRC APIs you use, and your connection method, and we get test customer and agent accounts plus read access to your configuration.
Token and Data Mapping
We map where access tokens, refresh tokens and client secrets are created and stored, how fraud prevention headers are built, and where tax and personal data ends up after an HMRC call.
Manual Testing
A CREST-certified tester manually tests the authorisation journey, customer separation, agent access and your submission logic 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 Making Tax Digital Software 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 MTD Software Penetration Testing Pricing
EJN Labs MTD Software Penetration Testing prices start at £3,870. 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 Making Tax Digital Software 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 MTD Software 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 HMRC require a penetration test for MTD software?
For software provided as a service, HMRC’s terms of use ask whether your application has passed software penetration testing, and its note says you must test your software for security vulnerabilities before going live. It names penetration test tools or an independent third party supplier as ways to do it. We confirm the current questions and wording for your product with you during scoping.
What access do you need to test our software?
We need test customer accounts at each level, ideally two so we can test one customer against another, and an agent account if you serve agents. We also need a sandbox application on the HMRC Developer Hub, which gives us test users and test data. Read access to your cloud configuration lets us confirm where tokens and secrets are kept without changing anything.
Will testing touch HMRC’s live service or real tax data?
No, unless you ask for it in writing. HMRC provides a sandbox at test-api.service.hmrc.gov.uk for testing, which has test users and does not include 2-step verification or identity checks. We test against the sandbox and your own staging environment, keep to HMRC’s documented request limits, and never test with real customers’ HMRC credentials.
How long does an MTD software penetration test take?
A single application with one admin area and a standard set of HMRC APIs sits in our 3-day single-application scope, with the report typically landing around 5 working days after kickoff. Several products, desktop and mobile clients, or a wide set of APIs moves into a larger scope with more testing days.
Does the test cover desktop or mobile software as well as web?
Yes, when they are in scope. HMRC’s fraud prevention guidance is organised by connection method, from desktop and mobile applications to web applications via a server, and the way your software collects device data differs for each. We scope the clients you ship alongside the server side, and a full mobile build can need its own scope.
What is out of scope?
We never test HMRC’s systems, the Developer Hub, the HMRC sign-in service or its production APIs. We test what you build and control: your application, its authorisation handling, token and secret storage, your own API and admin tools, and the cloud services they run on. We confirm HMRC’s current terms with you during scoping.
Does a penetration test make our software HMRC recognised?
No. HMRC allows the label HMRC recognised only for software that has completed its formal recognition process, and it rules out claiming or implying that software is approved, accredited or certified by HMRC. A penetration test is evidence about your security, and it does not replace any HMRC process.
Is EJN Labs CREST accredited?
Yes. EJN Labs is a CREST-accredited company, and every Making Tax Digital Software 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 MTD software
A customer’s HMRC authorisation lasts 18 months unless they revoke it, so your software holds long-lived access to their tax data. We test how it stores, uses and separates that access. EJN Labs is a CREST-accredited UK company providing penetration testing for HMRC Making Tax Digital software, from £3,870 for a 3-day single-application scope, quoted within 24 hours.



