Skip to content
By profession6 min read

Penetration Test Reports: What to Redact Before You Share One

A pentest report maps how to break in. See what each reader needs, what to strip, and how to mask credentials, IP addresses, personal data and screenshots.

By Alexis de ONYRI

A penetration test report is a map of how to get into your systems. Share the full report with as few people as possible. Give everyone else a shorter version with the sensitive parts masked, and check the pictures as well as the text.

Why Is a Penetration Test Report So Sensitive?

The report exists to help you fix problems, so it describes them in detail. In France, ANSSI's rules for qualified audit providers set what the report must say about each vulnerability. It must give the attack scenarios, the conditions for exploitation and the result of any attempt. In Germany, the BSI says the report may hold highly sensitive content. It should reach only the tester, the tester's quality assurance and a selected group at the client.

Symmetrical bundles of pale blue network cables with black ties, curving toward a lit patch panel in a dark server rack
A report that explains how to reach this equipment deserves the same care as the equipment itself.Photo: panumas nikhomkhai, Pexels

What Is Inside a Report, and Why Is Each Part Sensitive?

Reports differ, but the outline in the PCI Security Standards Council's guidance is a good guide. As of October 2026, the versions read are NIST (2008), PCI SSC (2017), ANSSI (2024) and BSI (a 2016 guide and a 2003 study).

PartWhat it can holdWhy it is sensitive
Executive summaryOverall result, top risksLeast sensitive, but it still shows how weak you were
Scope and annexesTargets, IP addresses, domain names, URLs, datesA ready-made target list. ANSSI's rules make the audit plan and the scoping note annexes
FindingsAffected systems, attack steps, severity, resultThey show an attacker where to go and how, while open
EvidenceScreenshots, tool output, file or database dumpsOften hold passwords, hashes, tokens and real people's data
PeopleTesters' names and contacts, names and roles of the client staff they dealt withPersonal data. ANSSI's rules require both in qualified reports

Who Needs What: Customers, Insurers, Auditors and Developers?

Most readers do not need the full report. NIST SP 800-115 (US) says a report may have several audiences, so several formats may be needed. The BSI adds that managers need no technical detail, while technicians need exact descriptions. Ask what the reader must decide, then give the smallest document that allows it.

RecipientWhat to giveWhat to strip
Customer with a security questionnaireSummary, test date, general scope, fix statusHostnames, IP addresses, open findings, evidence, tester names
Insurer or brokerSummary, test date, number of findings by severityAttack steps, evidence, internal names
Auditor or assessorScope, method, findings that matter for their standardCredentials, hashes, personal data in the evidence
Provider fixing one issueOnly the findings for the systems they run, with steps to reproduceOther systems, secrets, other teams' names
Developers in your companyTechnical findings with redacted screenshotsReal passwords and real customer data

What About Personal Data the Testers Captured?

Testers can capture real people's data on the way. NIST SP 800-115 warns that captured data may include personal employee data. Under the GDPR (EU), any information about an identifiable person is personal data, and Article 5 limits it to what is necessary. A staff name counts.

The BSI study says passwords and private emails that the tester captured should stay out of the final report. After the test they go to one agreed person, such as the data protection officer. PCI guidance recommends keeping card data to a minimum, for example not dumping a whole database.

Look for these in every copy:

  • Screenshots of internal apps showing customer or staff records
  • Names and emails harvested in a phishing exercise
  • Password lists, hashes and recovered passwords
  • Private emails or messages opened as proof of access

Replace a real record with a count. “We could read about 4,000 customer records” proves the point without showing one.

Which Secrets and Network Identifiers Must Go?

Remove anything an attacker could use as it stands. OWASP's guide says possibly sensitive data in a finding should be masked, such as passwords, personal information or card details. If the testers found a working password or key, change it now. A masked copy does not repair a secret that everyone saw in the first version.

  • Passwords, password hashes and recovered passwords
  • API keys, cloud tokens, session cookies, JWTs and SSH private keys
  • IP addresses, hostnames, server names and internal domain names
  • Full URLs, including parameters that reveal an internal path

Why Do Screenshots and Scanned Annexes Need Extra Care?

Evidence is often an image. PCI guidance lists screenshots, raw tool output and recordings as typical evidence. A text search in the PDF cannot find the words inside a terminal screenshot. The same goes for a scanned annex, such as a signed authorisation letter.

ONYRI Sanitize runs in your browser and never uploads files. On every plan it finds IPv4 addresses, web links, emails and passwords after a label such as “password:” (not plain lowercase words). Check IPv6 addresses by eye. Pro adds API keys, cloud tokens, JWTs and SSH private keys. OCR reads scanned pages, not screenshots inside a page with text. Bare hostnames, server names and vulnerability details are not detected: use “Search the document” for text and “Draw an area” for screenshots.

Can a Tester Reuse a Report in a Portfolio or a Talk?

Check your contract first, and ask the client in writing before you reuse anything. The BSI's practical guide says the contract should forbid telling third parties about the weaknesses found, the structure of the organisation and its systems. It adds that published findings must be anonymised, so nobody can trace them back to the tested organisation.

  1. Remove the client name, logo, domains, IP ranges and staff names.
  2. Remove sector clues: a rare product, a city, a date, an unusual technology mix.
  3. Cover every screenshot with solid boxes, or redraw it with made-up data.
  4. Strip comments and document properties. Then ask a colleague to guess the client. If they can, cut more.

Before you send any copy, name the reader, pick the smallest document that serves them, and look at every picture, one by one. This is general information, not legal advice. For contract or GDPR questions, ask your lawyer or data protection officer.

Frequently asked questions

Can I send the full penetration test report to a customer?

Usually not. Most customers need the summary, the scope and the test date. If one insists, send the full report only to named people under a confidentiality agreement, and mask credentials and personal data first.

Should the tester delete their copy after the test?

Agree this in the contract before the test. PCI guidance recommends writing down retention and destruction rules for evidence before testing starts. In France, ANSSI's rules require qualified providers to return, delete or destroy project material at the end, except what the client lets them keep.

Does a pentest report count as personal data?

Not as a whole, but it often contains some. Staff names, harvested email addresses and customer records in screenshots all count under the GDPR (EU). Data minimisation then applies, so cut what the reader does not need.

Is a black bar over an IP address enough in a PDF?

Not always. If the PDF still holds the text under the bar, anyone can copy it out. Turn the pages into images first, then try to select and search the words in the result.

Sources & references

Mask a document without uploading it

ONYRI Sanitize finds names, identifiers, bank details and secrets in a PDF, a Word file or a scan, and masks them in your browser. You check the preview, then download a flattened copy.