Reproduction Planning
Plan the exact reproduction before touching the system: what precondition, what request or input, and what observation counts as success
Use when: a report claims a behavior you have not yet seen and you need an honest attempt to see it or fail to see it
Avoid when: the evidence is already a complete, monitorable reproduction supplied by the reporter
Procedure
- Extract the reporter's exact preconditions: version, configuration, account state, feature flags and data shape.
- Build the reproduction environment you are entitled to use, matching preconditions one by one rather than approximately.
- Convert the narrative steps into a scripted sequence whose inputs and outputs are both recorded.
- Define success criteria in advance: which observation, on which response or log, verifies the reported behavior exists.
- Run the script once unchanged; if it fails, vary one precondition at a time and log which variation mattered.
- Record the final reproducible sequence, its environment and the fraction of the reporter's conditions that were needed.
Signals
- Reproduction succeeds only under a configuration the reporter never mentioned, which the report should now record.
- Success requires a race or ordering, making the reproducible script flaky and the severity judgment harder.
- The reporter's environment cannot be replicated exactly, so the reproduction result is partial and the record must say so.
- Success happens at once but no observation satisfies the scripted success criterion, indicating an unmodeled side channel.
Patterns
1. Repro script
env: v2.3.1, flag=x700-off
GET /api/reset (no origin) -> 200 + token valid -> reported behavior confirmed
2. Vary-one
flag on: refuse; flag off: accepted -> precondition=flag x700-off not in report
3. Record row
F-0113 reproduced=yes complexity=single flaky=no preconditions-missing=[flag]
Pitfalls
- Reproducing on a system version the report never claimed to affect, then calling the report invalid.
- Declaring non-reproduction after a single attempt with one precondition set, when the report named several.
- Recording reproduction success without the success criterion, which lets strong conclusions ride on weak observations.
Done when
- A scripted, repeatable reproduction exists with preconditions, success criteria and environment recorded.
- The mismatch between reported and required preconditions, if any, is noted for follow-up with the reporter.
References
1---2name: reproduction-planning3description: "Plan the exact reproduction before touching the system: what precondition, what request or input, and what observation counts as success. Use when a report claims a behavior you have not yet seen and you need an honest attempt to see it or fail to see it"4pack: patchwise5version: 1.0.06category: defensive-security7tags: [reproduction, verification, triage]8metadata:9 source: https://skillmd.com/skills/wsh7ash/reproduction-planning10---1112# Reproduction Planning1314> Plan the exact reproduction before touching the system: what precondition, what request or input, and what observation counts as success1516**Use when:** a report claims a behavior you have not yet seen and you need an honest attempt to see it or fail to see it1718**Avoid when:** the evidence is already a complete, monitorable reproduction supplied by the reporter1920## Procedure21221. Extract the reporter's exact preconditions: version, configuration, account state, feature flags and data shape.232. Build the reproduction environment you are entitled to use, matching preconditions one by one rather than approximately.243. Convert the narrative steps into a scripted sequence whose inputs and outputs are both recorded.254. Define success criteria in advance: which observation, on which response or log, verifies the reported behavior exists.265. Run the script once unchanged; if it fails, vary one precondition at a time and log which variation mattered.276. Record the final reproducible sequence, its environment and the fraction of the reporter's conditions that were needed.2829## Signals3031- Reproduction succeeds only under a configuration the reporter never mentioned, which the report should now record.32- Success requires a race or ordering, making the reproducible script flaky and the severity judgment harder.33- The reporter's environment cannot be replicated exactly, so the reproduction result is partial and the record must say so.34- Success happens at once but no observation satisfies the scripted success criterion, indicating an unmodeled side channel.3536## Patterns3738**1. Repro script**3940```text41env: v2.3.1, flag=x700-off42GET /api/reset (no origin) -> 200 + token valid -> reported behavior confirmed43```4445**2. Vary-one**4647```text48flag on: refuse; flag off: accepted -> precondition=flag x700-off not in report49```5051**3. Record row**5253```text54F-0113 reproduced=yes complexity=single flaky=no preconditions-missing=[flag]55```5657## Pitfalls5859- Reproducing on a system version the report never claimed to affect, then calling the report invalid.60- Declaring non-reproduction after a single attempt with one precondition set, when the report named several.61- Recording reproduction success without the success criterion, which lets strong conclusions ride on weak observations.6263## Done when6465- A scripted, repeatable reproduction exists with preconditions, success criteria and environment recorded.66- The mismatch between reported and required preconditions, if any, is noted for follow-up with the reporter.6768## References6970- [OWASP Web Security Testing Guide](https://owasp.org/www-project-web-security-testing-guide/)71- [CWE - description reference](https://cwe.mitre.org/)