The second report contains fewer findings. Fixes may have worked. The same result can also occur because the administrator role disappeared from the test, a new gateway blocked requests, testers received less time, the build or environment changed, or several issues were consolidated. A finding count describes a report; by itself, it does not describe a change in security.

Comparison starts with two sets of test cases, not a severity chart. First identify cases applicable to the same component, route, role, requirement, and method in both engagements. They form the potentially comparable scope. Within that scope, isolate pairs actually executed in both assessments; only those pairs support outcome comparisons. New functions, removed paths, changed methods, and blocked tests remain separate populations.

Finding count is not a common unit

One finding may combine ten similar endpoints, while another describes one request. One provider may split weak authorization by role; another may report a single root cause. A scoring-rule change can move an issue from medium to high without any code change. Comparing “12 versus 7” therefore does not establish that risk rose or fell.

A penetration test is also a snapshot of a particular system under particular conditions. Results depend on permitted targets, supplied knowledge, accounts, safety constraints, time, and tester expertise. The article on a managed offensive security programme explains queues, capacity, and programme metrics. The narrower question here is how to compare two named assessments of a changing product.

Use a test case as the comparison unit: a testable claim with defined preconditions and an expected result. For example, “a user in tenant A cannot read tenant B’s invoice through endpoint X.” The case records the object, role, route, action, method, build, environment, and execution status. Findings remain essential, but each finding links to one or more cases.

Create a test profile for each engagement

Before matching, record the context of both engagements. Each profile needs the build or commit, dates, environment, domains and APIs, roles and test data, access to code and documentation, requirement version, method, effort, prohibited actions, interruptions, and scope changes. “The same product” is insufficient when routing, tenancy, identity providers, or responsibility boundaries have changed.

Record actual conditions as well as the original statement of work. If an administrator account was promised but never delivered, those cases are blocked. If an agreed WAF mode could not be configured, record which requests it stopped. If a feature appeared during testing, either add it formally or mark it unassessed.

Version the test requirements. Methodologies evolve, and scenario identifiers and content can change. “Tested against WSTG” is too broad; comparison needs the version, scenario, and local adaptation. The pentest scope builder can help make both profiles similarly detailed, but actual deviations still need to be added after execution.

Build a matched cohort of test cases

A case enters the matched cohort when material conditions align in both tests: system and function, attack route, role, initial state, action, expected control, requirement meaning, and adequate method depth. Record requirement versions and validate a semantic mapping when versions differ. Builds can differ because that is the point of comparison, but the feature change must be described well enough to connect it to the result.

Match stable identifiers first, then review meaning manually. A renamed endpoint may exercise the same control, while an unchanged URL after an architectural migration may represent a different case. A predecessor-successor link is useful when a new path replaces an old one. It shows migration coverage without claiming that the tests were identical.

Keep two values for every matched case: execution status and outcome. The outcome may be control held, weakness confirmed, partially assessed, or insufficient evidence. Execution status separately records executed, blocked, not run, or not applicable. A blocked request can no longer be mistaken for a successful security result.

Separate common scope, changes, and gaps

Record scope membership separately from execution status: a matchable case can still be blocked. A matched common case is applicable in both engagements under sufficiently equivalent conditions; only executed pairs from this group enter the outcome comparison. A new function exists only in the second build and forms its own cohort. A removed path is demonstrably absent from the second build. A removed test remains applicable but was omitted from the second assessment plan. A blocked case was planned but access, environment, or a safety constraint prevented a result. A method change assesses a similar risk with different depth, tooling, or requirement version.

The distinction between a removed path and a removed test matters. Decommissioning an old API and proving it is unavailable may reduce attack surface. Leaving the API live but dropping it from scope is lost coverage. Likewise, a finding in a new checkout flow does not prove regression in an old function; it describes the enlarged product.

Remediated findings need their own link. Penetration-test remediation validation asks whether a named weakness was fixed. Comparing two full tests is broader: it includes old and new cases, product changes, methods, and access conditions. Do not present a general repeat assessment as a precise retest of every old finding without this traceability.

Calculate measures only with explicit denominators

For the common cohort, first show coverage: cases executed in both assessments divided by all cases judged applicable and matchable. Then show outcome transitions separately: weakness to control held, control held to weakness, weakness to weakness, and control held to control held. Partial and blocked cases stay separate and never improve the rate.

New functionality needs its own denominator: executed new-feature cases divided by all planned applicable new-feature cases. Findings there describe the extension but do not enter the common-cohort improvement measure. For removed paths, report evidence of absence and the tested successor. For removed tests, report the number of missed applicable cases and the reason.

Do not mix unlike scales. Critical/high totals depend on grouping, scoring rules, and business context. If those rules changed, rescore old findings under the new scheme or show both schemes and decline to present a severity trend. Every ratio needs its numerator, denominator, time window, inclusion rules, and exclusions.

Preserve differences in a comparison matrix

The matrix must let a third party understand why cases were treated as equal or different. The statuses below illustrate fields, not results from a real assessment.

Scroll sideways to compare

ID and categorySystem, build, environmentRole and routeRequirement and methodTest ATest BLimitation and allowed conclusion
AUTH-01, commonWeb 1.8 / 2.1, stagingcustomer; reset → sessionWSTG v4.2; manual negativeexecuted; weaknessexecuted; heldConditions aligned; confirmed improvement for this case
ATHZ-04, commonAPI 1.8 / 2.1, stagingtwo customer roles; invoice IDWSTG v4.2; object swapexecuted; heldblocked by WAFNo trend conclusion
ADM-02, removed testAdmin API in both buildsadministrator; exportlocal requirement; manualexecuted; weaknessomitted from planLower finding count is uninformative
PAY-07, new functionabsent / Web 2.1buyer; new checkoutnew scenario; manualnot applicableexecuted; weaknessNew surface, not a common-cohort regression
LEG-03, removed pathLegacy API / absentservice; old tokennegative requestexecuted; weaknesspath absentPotential improvement after proving shutdown and testing successor
SESS-05, method changeWeb 1.8 / 2.1customer; refresh tokenold/new test versionbasic; heldexpanded; weaknessNew depth; regression not yet established

Attach versioned requests, responses, logs, configuration, or interface captures to each row. A sample penetration-test report helps assess evidence from one engagement. Comparison additionally needs a stable case ID, paired outcomes, and a classification rationale.

Hypothetical example: new identity and checkout flows

Suppose the product replaced its session system with an external identity provider and added checkout. The first test had 30 applicable cases. Four old paths were removed and two cases changed method materially, leaving 24 cases for paired comparison. Of these, 20 ran in both tests, three were blocked by a new WAF, and one more was blocked by the unavailable administrator role. These are teaching numbers, not Pentest.red or client data.

Comparing two product assessments
  1. ProfilesRecord builds, environments, roles, methods, requirements, and constraints
  2. CohortMatch equivalent control cases and separate new, removed, and changed cases
  3. OutcomesCompare transitions only among cases executed in both engagements
  4. ConclusionState confirmed change, method effects, and areas with insufficient evidence

Among the 20 executed pairs, five former weaknesses no longer reproduce, one former held control now fails, and all other outcomes are unchanged. The allowed conclusion is evidence of improvement in five named cases and regression in one. There is no trend conclusion for the four unexecuted cases. Checkout findings describe the new feature separately. A lower final finding count does not alter these narrower conclusions.

Confidence is stronger when each improved case has a linked change, the original request and a reasonable variant were exercised, and evidence identifies the correct build. If method or test data changed materially, use the narrower wording “not reproduced under these conditions” rather than “removed from the product.”

Commission comparison as a separate deliverable

Before the second engagement, arrange access to the first test plan, requirement versions, and available evidence. Require two profiles, a test-case register, matching rules, category matrix, explicit denominators, old-finding-to-case links, and a list of missing evidence. Acceptance means another reviewer can reproduce the classification; it is not a descending chart.

Conclusions should use four labels. Confirmed improvement applies to an executed matched case with supporting evidence. Regression is a formerly held control that now fails in an equivalent case. Method or surface change explains changed visibility without claiming security movement. Insufficient evidence covers blocking, lost roles, incomparable environments, or absent prior tests.

If Pentest.red performs the second assessment, stable case identifiers and required roles can be agreed in advance, followed by a comparison matrix for the authorized technical scope. If the first engagement preserved no case register or evidence, reconstruction will be partial. That limitation should be explicit instead of inferring a confident trend from finding totals.

PENTEST.RED

Discuss pentest scope and pricing

We start by agreeing on systems, access, constraints and the expected evidence.

Prepare your testing scope

Based on in-depth research, edited for clarity and practical use.

PENTEST.RED / RED JOURNAL