UK GDPR for Penetration Testing Firms: A Practical Guide
UK GDPR for penetration testing firms: processor or controller, what the DPA must say, personal data found during a test, and when a breach is yours to report.
For the testing itself, a penetration testing firm is usually a processor under UK GDPR: it handles personal data in the client's systems on the client's instructions, so it needs an Article 28 contract, security that matches what it holds and a plan for the personal data it meets during a test. It is a controller for its own business data, and it becomes a controller of client data the moment it uses that data for a purpose of its own.
Processor, controller, or both
The ICO's guidance draws the line at decisions. The controller decides why personal data is processed and takes the overarching decisions about it, while a processor working under contract may still choose the IT systems, methods and security details it uses. The client decides that its systems will be tested, which ones and why; you decide which tools to run and in what order, which is exactly the technical freedom the guidance allows a processor.
The same guidance says a processor that handles personal data outside the controller's instructions becomes a controller for that processing. In testing firms that usually happens by accident.
| What you are doing | Your role |
|---|---|
| Testing in-scope systems that hold customer or staff records | Processor |
| Holding evidence and the report for the agreed period | Processor |
| Keeping evidence after the contract says it should be deleted | Controller of that data, with no instruction to rely on |
| Reusing a client's screenshots in training material or a sample report | Controller, and probably in breach of contract |
| An associate tester or hosted platform handling client data for you | Your sub-processor |
Some firms call themselves independent controllers to avoid signing client data processing agreements (DPAs). We think that is a mistake: it does not shrink the obligations, it makes them yours, including a lawful basis and a privacy notice for people whose data you never wanted.
What the data processing agreement should say
Article 28(3) lists what the contract between controller and processor must contain. On a penetration test it looks like this.
| Article 28(3) requires | What it means on a test |
|---|---|
| Subject matter, duration, nature and purpose, types of data, categories of people | The engagement, the retention period, security testing, and an honest list of what the in-scope systems hold |
| (a) Processing only on documented instructions | The statement of work, rules of engagement and authorisation, kept with the engagement |
| (b) Confidentiality | Employees and associates bound before they see anything |
| (c) Article 32 security | Encryption, multi-factor authentication, access control and logging wherever findings and evidence live |
| (d) Sub-processor conditions | Associates, hosting, storage and any AI service named, authorised and bound by the same terms |
| (e) and (f) Assistance | Help with rights requests, security, breach notification and impact assessments |
| (g) Deletion or return at the end | Separate periods for evidence and the report, and what deletion means for backups |
| (h) Information and audits | An evidence pack you can send, and the terms on which the client may inspect |
Two terms are not on that list and cause most of the negotiation. The first is the breach notification deadline: the law says without undue delay, while client DPAs usually name a number of hours. Agree one you can meet at two in the morning on a Sunday. The second is location: name the country and provider where findings and evidence are stored, not "secure cloud storage". This is not legal advice; have a solicitor review your own template DPA once, then negotiate from it.
Personal data found during a test
Most tests touch personal data and some go straight through it. An access control flaw that returns another customer's orders, a file share full of HR documents, a database reachable from the internet: proving the finding means showing data, and the only question is how much.
Our rule is to prove, not harvest. Show that access exists with the least data that will convince a sceptical developer: a record count, the field names, one record with everything identifying redacted. Where you can demonstrate the flaw between two test accounts you control, do that instead of touching a real customer. Never take a bulk copy to prove scale; the count proves scale.
Call the client the same day when the data is special category (health, biometric or ethnicity data and the rest), when it concerns children, or when it looks as though someone other than you has already reached it. Signs that someone got there first may mean the client has a reportable breach, and its 72-hour clock runs from when it becomes aware, so tell it quickly and in writing. Our post on finding signs of a prior compromise covers that call.
Evidence and minimisation
The data you meant to keep is rarely the problem. The copies you did not notice are.
- Proxy history. A web testing proxy's project file holds every response it saw, including every customer record your requests returned. Treat it as evidence: encrypted, kept with the engagement and deleted on the same schedule.
- Recovered passwords. Plaintext passwords recovered from hashes are some of the most sensitive data a test produces. Report patterns and counts, not the list.
- Screenshots. Redact at capture, because every later copy of the report inherits whatever the first one showed.
The report and the evidence behind it have different lives, and the evidence should have the shorter one. We set out a defensible schedule in how long a testing firm should keep client findings, and day-to-day handling in handling evidence and client credentials safely.
Where findings are stored
If your reporting platform keeps client data on its own infrastructure, its provider is your sub-processor, and Article 28(2) requires the client's prior written authorisation, specific or general, before you use it. The same goes for cloud storage and for any AI service that sees evidence: pasting a client's screenshot into a consumer chat assistant hands it to a sub-processor the client never approved.
UK GDPR does not require data to stay in the UK, but sending it or making it accessible to an organisation outside the UK is a restricted transfer that needs adequacy regulations, an approved safeguard such as the IDTA, or an exception. Since 5 February 2026, the Data (Use and Access) Act 2025 has framed the test for adequacy and safeguards as whether protection abroad is "not materially lower" than in the UK. For clients in the EU the flow runs the other way: the European Commission renewed its adequacy decision for the UK on 19 December 2025, so their data can come to you without extra safeguards.
When the breach is yours
| What happened | Whose breach | What you do |
|---|---|---|
| Your test shows the client's data was already exposed | The client's | Tell the client at once, in writing; it decides whether to notify |
| Your laptop, mailbox or reporting platform loses client evidence | Yours as processor, each client's to report | Notify every affected client without undue delay and within your DPA's deadline |
| Your staff records or client contact list leak | Yours as controller | Report to the regulator within 72 hours unless it is unlikely to result in a risk to people |
Article 33 sets the clocks: 72 hours from becoming aware for a controller to notify the regulator, and without undue delay for a processor to tell the controller. Since 30 September 2026 the regulator has been the Information Commission, which replaced the Information Commissioner's Office. Rehearse the middle row. Handled slowly, it is the one that ends client relationships.
Your own duties as a controller
- The data protection fee. Unless exempt, a firm that processes personal data as a controller pays it every year: £52 for a micro organisation, or £47 by direct debit.
- A complaints process. Since 19 June 2026, controllers must make it easy to complain about how they use personal data, acknowledge complaints within 30 days and respond without undue delay. The Act gives an electronic complaint form as an example; it can be simple, but it has to exist.
- Legitimate interests for security. Since 5 February 2026, UK GDPR names processing necessary to ensure the security of network and information systems as an example of processing that can rest on legitimate interests. It supports your own logging and monitoring, and gives clients a clearer footing for authorising a test; the lawful basis remains theirs to record.
- Records and a privacy notice. Keep records of processing as controller and as processor, and a notice covering client contacts.
Answering a client's DPA questions
Write the answers once and keep them current.
| They ask | A strong answer |
|---|---|
| Are you a processor or a controller? | Processor for data in scope of testing; controller for our own business data |
| Where will our data be stored? | A named country, provider and account |
| Who are your sub-processors? | A short list, each with what it touches |
| How quickly will you tell us about a breach? | A number of hours you can meet |
| What happens to evidence at the end? | Periods for evidence, report and credentials, and how deletion is recorded |
| Does AI see our findings? | Which provider, whose key and terms, a model on your own hardware, or no |
Our guide to answering a security questionnaire about your platform covers the questionnaire that usually arrives alongside the DPA.
In Pental, each firm's portal runs on a database the firm owns: PostgreSQL in its own cloud, self-hosted Supabase or Supabase Cloud, so the storage location in your DPA is one you chose. Pental holds the account, subscription and domain routing; clients, findings, evidence and reports live in the firm's database, where Pental cannot read them, and row-level security policies decide who sees what. AI runs on the firm's own key or a local model through Ollama, keys are stored encrypted in the firm's database, and AI can be switched off entirely.
Pental Is Built by the People Writing This
Engagement management for testing firms, on a database you own, under your brand, with the AI running on your key.
See how Pental keeps client data isolatedCommon questions
Is a penetration testing company a data controller or a processor?
For the testing itself, usually a processor: the client decides what is tested and why, and the firm handles any personal data on the client's instructions. The firm is a controller for its own staff, contacts and marketing data, and becomes a controller of client data if it uses it for its own purposes, such as keeping evidence beyond the agreed period or reusing it in training material.
Do I need a data processing agreement for a penetration test?
Almost always. Nearly every test touches personal data, from staff accounts to customer records, and Article 28 of UK GDPR requires a binding contract whenever a processor handles personal data for a controller. It must cover documented instructions, confidentiality, security, sub-processors, assistance, deletion or return at the end, and audits. Many firms build these terms into their standard terms so every engagement starts covered.
What should a penetration tester do with personal data found during a test?
Prove the finding with the least data possible: a record count, the field names and one redacted record, or two test accounts you control. Do not take bulk copies. Redact screenshots at capture, treat proxy history as evidence, and report password patterns rather than lists. Call the client the same day if the data is special category, concerns children or appears to have been exposed already.
Who reports a data breach discovered during a penetration test?
If the test shows the client's data was already exposed, the breach is the client's, and as controller it decides whether to notify the regulator within 72 hours of becoming aware. Your job is to tell it at once, in writing. If your own laptop or platform loses client evidence, you notify each affected client without undue delay, and each client decides on reporting.
Related reading
Setup guide
See the product set up, end to end
The whole setup in 12:10, with chapters you can jump to: registering, your own domain, your own database in any of three places, your own mail server, branding, the first sign-in, updating the database on Supabase Cloud, and moving the database if you change your mind.
- 0:00 · Registering, signing in, and the free trial
- 0:51 · Your name and your firm’s name
- 0:57 · Custom domain
- +6 more