Dataset
Penetration testing datasets for AI training
A penetration testing dataset is a set of security assessment engagement files: the scope and rules of engagement, tester notes and evidence, findings with severity, reproduction steps and affected components, the delivered report, and the retest results recorded after remediation. SourceX sources these records to a buyer's spec from established businesses such as security consultancies, managed security providers and internal security teams. Each dataset is de-identified and licensed for an agreed permitted use. Buyers should confirm that the assessed client consented and that hostnames, addresses, credentials and live exploit detail are sanitized.
Dataset manifest
Sourced to your spec- What it is
- Engagement files from scope and rules of engagement through findings, the delivered report and retest results
- Typical systems
- Burp Suite, Nmap, Nessus, BloodHound, reporting platforms such as Dradis, PlexTrac and Ghostwriter, Word and PDF reports
- Typical history
- Varies by partner and by contractual evidence retention. Specify the years, assessment types and retest coverage you need
- Modality
- Report documents and finding text with structured finding records, tool output, HTTP captures and screenshots
- Delivery formats
- Findings and retests as JSONL; reports as PDF, DOCX or Markdown; tool output as XML or text; evidence as PNG
- Preparation
- Client, hostnames, addresses and usernames pseudonymized; credentials, hashes and tokens removed; you specify how far exploit payloads are reduced
- Licensing
- Scoped per engagement or client; permitted use agreed per license; the assessed client's consent is checked in rights review for each engagement
- Availability
- Sourced to your spec from firms and teams that hold engagement files; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| engagement_id | string | Pseudonymous ID for one assessment, shared by its scope documents, notes, findings, report versions and retests. |
| engagement_type | enum | External or internal network test, web application, API, mobile, cloud configuration review, red team, wireless or social engineering. |
| scope | object | Target classes and counts, exclusions, test window, testing perspective (black, gray or white box) and accounts supplied. |
| rules_of_engagement | object | Permitted and prohibited techniques, testing hours, stop conditions and the escalation path. |
| tester_notes | array | Timestamped working notes with commands run, tool output and dead ends, in the order written. |
| findings | array | Each finding's title, weakness class, affected components as masked references, description and recommendation. |
| findings[].severity | object | The rating on the firm's own scale, the likelihood and impact or CVSS vector behind it, and the written rationale. |
| findings[].reproduction | array | Ordered steps to reproduce the issue, with placeholders where payloads or identifiers were removed. |
| evidence | array | Screenshots, request and response pairs and tool output tied to a finding, each noting what was redacted. |
| attack_path | array | For internal and red team work, the chain of findings from first foothold to objective, in order. |
| report | object | The delivered report's sections and version (draft, final, reissued), with what changed between versions. |
| client_response | array | Per finding, whether the client accepted or disputed it, the fix it described and the date. |
| retest | array | Per finding, each retest's date, the steps re-run, the result (remediated, partially remediated, not remediated, not retested) and the tester's note. |
| sanitization | object | What was pseudonymized or removed, the level of exploit detail kept, and the consent basis. |
Field names from the table above; values are masked placeholders.
Example record
{
"engagement_id": "eng_4b71d0",
"engagement_type": "web_application",
"scope": {
"targets": [
"[APP_A] customer portal and REST API"
],
"perspective": "gray_box",
"exclusions": [
"payment processor sandbox"
]
},
"rules_of_engagement": {
"prohibited": [
"denial of service"
]
},
"tester_notes": [
{
"t": "2023-02-15T10:42:00Z",
"note": "Invoice IDs are sequential. As tenant A, requested an ID from tenant B. Got 200."
}
],
"findings": [
{
"finding_id": "F-03",
"title": "Invoices readable across tenants by changing the ID",
"weakness": "CWE-639",
"affected": [
"GET /api/v2/invoices/{id}",
"GET /api/v2/invoices/{id}/export"
],
"severity": {
"rating": "high",
"rationale": "Any signed-in user can read every tenant's invoices by counting IDs."
},
"reproduction": [
"Sign in as [USER_A] in tenant A.",
"Request GET /api/v2/invoices/[ID_FROM_TENANT_B].",
"Observe 200 and the tenant B invoice."
],
"recommendation": "Check tenant ownership on the server for every invoice route."
}
],
"evidence": [
{
"finding": "F-03",
"type": "http_pair",
"redacted": "session token"
}
],
"attack_path": [],
"report": {
"version": "final 1.1",
"changes_from_draft": "F-03 raised from medium after peer review"
},
"client_response": [
{
"finding": "F-03",
"t": "2023-03-20",
"summary": "Ownership check added to the invoice controller"
}
],
"retest": [
{
"finding": "F-03",
"t": "2023-03-28",
"result": "partially_remediated",
"note": "Read route returns 403. Export route still returns the tenant B PDF."
},
{
"finding": "F-03",
"t": "2023-04-18",
"result": "remediated",
"note": "Both routes return 403 for foreign IDs."
}
],
"sanitization": {
"client": "pseudonymized",
"payloads": "placeholders",
"consent": "on file"
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Draft findings from evidence
Tester notes, requests and tool output paired with the written finding train a model to turn raw evidence into a clear, reproducible finding.
Judge whether a fix worked
Finding and retest pairs, including partial fixes and the tester's way around them, teach a model to verify a remediation.
Rate severity in context
Written rationales tied to scope, access level and data exposed support models that explain a rating for one environment.
Write remediation guidance
Recommendations matched with the client's response and the retest result show which advice was specific enough to act on.
Evaluate security assistants
Scope documents and rules of engagement make test items for whether an assistant stays inside authorized targets and techniques.
Use-case guides: Coding agents, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
Retest coverage
A high share of findings with a recorded retest, including steps and evidence, makes outcomes checkable.
Written severity rationale
Ratings that explain likelihood and impact in this environment carry more than a label or a bare vector.
Reproduction with evidence
Ordered steps with sanitized requests, responses and screenshots let each finding be followed from start to result.
Draft and final versions
Peer review edits and client disputes between report versions show how wording and severity were corrected.
Engagement-specific text
Unique detail separated from finding-library boilerplate avoids training on the same paragraph many times.
Scope on file
Statements of work, target lists and rules of engagement show what the tester was allowed to do.
Value drivers
Penetration testing dataset
A finding is worth most with its retest
A finding by itself is a claim and a recommendation: this weakness existed, here is how to reproduce it, here is what to change. The retest is where a tester ran the same steps again after the client's fix and wrote down what happened. Together they show whether the remediation worked. A scanner's rescan checks only that its own check stopped firing. A human retest tries the original request and then tries to get around the fix.
The partial results teach the most. A filter blocks the reported payload but passes an encoded variant. An access check is added to the endpoint named in the report while a sibling export endpoint keeps the flaw. Validation moves into the browser and the API still trusts its input. Each is a labeled example of an incorrect remediation, with the tester's note on why it fell short, and a second retest often shows the correct one.
Coverage is the thing to measure. Retests are often scoped as separate work, and some cover only critical and high findings. In a reissued report the result may be a single status column with no steps or evidence behind it. A consultancy sees the fixed behavior but rarely the patch, so the account of what the client changed may be the client's own summary or nothing. Internal security teams more often hold the fix ticket or pull request as well. Ask what share of findings were retested, against which build, and how untested findings are labeled.
Severity carries the tester's reasoning
Many findings in an assessment report have no public identifier. Broken access control in the client's own application, a business logic flaw, an over-privileged service account in the directory, a storage bucket readable by anyone: none of these appears in a public vulnerability list. The tester assigns the severity, from a likelihood and impact matrix or a CVSS vector filled in by hand, and a good report says why. The attacker needs only a low-privilege account, the flaw exposes every tenant's invoices, and nothing limits the request rate, so the finding is rated high.
That reasoning is specific to one environment. Three medium findings chained together reach domain administrator, and the attack narrative raises them. A critical flaw in a product is rated low because the service could not be reached from where the tester stood. Scanner output and public vulnerability lists hold neither judgment, since they rate a flaw in a product and know nothing of this network or this client's data.
Check how much reasoning is actually on the page. Rating scales differ between firms, so keep the original scale beside any normalized one. Severity often changes between the draft and the final report, after peer review or a client dispute, and both versions with the reason for the change are useful signal. Descriptions and remediation advice commonly come from the firm's finding library and repeat across engagements. The parts unique to one engagement are the affected instances, the reproduction steps and the rationale, so ask how templated text is identified.
What to check before licensing
- Confirm that the assessed client consented to each engagement's inclusion, and ask how that consent was obtained and recorded. Whether the firm that ran the test may release a file without it is a question for counsel.
- Check sanitization on the sample: hostnames, IP addresses, domains, usernames, password hashes, session tokens and keys, in notes, HTTP captures, tool output, screenshot pixels and document metadata.
- Confirm that no finding still unremediated can be tied to an identifiable client, product or system, and ask how findings without a passing retest were excluded, aged or generalized.
- Ask what level of exploit detail remains, decide whether you need working payloads or only the technique and observed response, and have your own security team review the sample.
- Count findings with a retest, and check whether each retest records the steps re-run and evidence, or only a status.
- Ask what third-party content is inside: scanner check text, licensed tool output, and the firm's own methodology and finding library.
- Ask which layers survived contractual evidence retention: working notes, raw scan files, proxy history, draft reports and the final report.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Do the records include working exploits?
They should not, unless your use needs them and the license says so. Ask for live exploit detail to be reduced to an agreed level: payloads replaced by placeholders or described by technique, and credentials, password hashes, session tokens and keys removed from notes, captures and screenshots. Reproduction steps can still show the order of actions and the observed response. State the level of detail your use needs.
Who has to consent before an engagement file can be licensed?
The assessed client, in almost every case. A consultancy holds the file, but engagement contracts commonly treat the report and findings as the client's confidential information, so have counsel read the terms. Check that consent was obtained per engagement and how it was recorded. For an internal security team the organization itself is the assessed party, but vendor systems in scope need the same check.
Can findings that were never fixed be included?
Only where they cannot be tied to an identifiable organization or system. A finding with no passing retest may still describe a live weakness, so check how such findings are handled: excluded, held until they have aged past an agreed period, or generalized so the client, product and component cannot be recognized. Test the rule on the sample.
Are tester notes and raw tool output included, or only the report?
It depends on what the holder kept. Engagement contracts and firm policies often require raw evidence to be destroyed after a set period, so older engagements may survive only as the final report and the findings in a reporting platform. Working notes, scan files and proxy captures are more often available for recent or internal work, so ask which layers exist for each year.
How is this different from scanner output or public vulnerability data?
It records human judgment about one environment. Scanner output lists matched signatures, and public vulnerability data rates a flaw in a product. An engagement file holds what a tester tried, how issues chained together, why each was rated as it was, and whether the client's fix held on retest. Many of its findings concern custom applications that have no public identifier.
Which assessment types can be specified?
Any type the holder performs can be requested, and supply is not guaranteed. Common types are external and internal network tests, web application and API tests, mobile tests, cloud configuration reviews, red team exercises and social engineering. They produce different records: an application test centers on requests and responses, a red team exercise on a timeline and an attack path.
Related datasets
- Vulnerability scan findings and remediation records
Scanner, application security and pen test findings tracked from detection to verified closure or a documented exception
- IT service management and incident histories
Incidents, problems, changes and requests with work notes, CI links and outcomes
- Software engineering histories (issues, PRs, reviews)
Issues linked to commits, pull requests, code review, CI runs, deploys and incidents
- Proprietary codebases with full history
Complete private repositories with full version history, build files, tests and docs
- Coding agent session traces on private repositories
Session logs of AI coding agents on private repositories, joined to the human verdict on each result
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 25 November 2026.