Precondition and Effect Statement
State what an attacker would already need and what changes once they have it, because a defect that requires an existing privilege is a different finding from one that needs none
Use when: a confirmed observation is ready to be written up and its severity has not been argued
Avoid when: the observation is a configuration note with no behavioural consequence
Procedure
- List the precondition: authentication, a role, a valid identifier, or nothing at all.
- State the effect in terms of what changes in the system, not in adjectives.
- State what remains impossible even with the behaviour, so the reader sees the claim's boundary.
- Separate defects with different preconditions into different statements rather than merging them.
- Rank against a recognized class such as mass assignment, resource exhaustion or information disclosure, with a reason.
- Write the paragraph a reviewer would accept: precondition, effect, boundary, class, nothing beyond it.
Signals
- The impact statement is an adjective list with no precondition named
- Severity is stated without saying what an attacker must already possess
- The statement does not say what the behaviour cannot achieve
- Two defects with different preconditions are merged into one claim
Patterns
1. Impact skeleton
precondition: <what the caller must already have>
effect: <what changes in the system>
boundary: <what remains impossible>
class: <mass assignment | resource exhaustion | disclosure | workflow>
2. Worked example
precondition: authenticated member with an update grant; effect: an undeclared field is stored and read back by later queries; boundary: no cross-tenant read is possible; class: mass assignment
3. Split rule
if two observations have different preconditions, write two statements; merging them hides the difference a triager needs
Pitfalls
- Claiming critical severity for behaviour that already requires an existing grant
- Omitting the boundary, which makes a reviewer trust the claim less rather than more
- Blending an information disclosure into a state-change finding so neither can be triaged
Done when
- The statement names precondition, effect, boundary and class in that order
- Observations with different preconditions appear as separate claims