Remediation Verification Loop
Re-run the exact failing evidence after each proposed fix, and confirm the matrix cell returns to its expected value rather than merely to a different refusal
Use when: a fix has been proposed or deployed and the finding must be verified closed rather than believed closed
Avoid when: the finding is still open with no remediation candidate yet, since there is nothing to verify against
Procedure
- List the exact failing evidence each finding produced so verification can replay precisely that request set.
- After the fix candidate is applied, re-run the failing requests as-is and record the responses again.
- Check the matrix cell's expected value matches, since a fix that flips 200 to 403 where 404 was promised has only moved the problem.
- Re-run neighbor cells around each fix, which is where inadvertent refusals of legitimate requests first show up.
- Re-run the full version and method sweeps the fix touched, since large patches frequently narrow the check in one branch only.
- Record the closure state per finding, distinguishing verified-closed, partially-closed and still-open with the fresh evidence attached.
Signals
- The original request now refuses, but a sibling request on the same resource family succeeds, so the check was narrowed.
- The fixed path returns the promised status, but the response body still carries leaked fragments of the original data.
- A legitimate operation for the same role now refuses, meaning the fix flipped the default rather than adding the missing check.
- The fix holds on one API version or gateway surface and continues to be bypassed elsewhere.
Patterns
1. Evidence replay
finding=GET /orders/{peer} 200 -> now 403 -> intended
neighbor: GET /orders/{own} member -> 200 ok
2. Full sweep
versions=v1:404 v2:403 methods=PATCH still leaked -> fix applied in v2 GET path only
3. Result row
finding=BOLA-12 status=verified-closed replay=pass neighbors=pass full-sweep=pass
Pitfalls
- Accepting a status-code change as closure while the response body still emits exposure in a less obvious way.
- Forgetting the legitimate-path regression, since fixes are known for overshooting the intended scope of authorization.
- Declaring the loop closed on the review environment, where the same fix has not been verified on every deployment instance.
Done when
- All failing findings replayed after verification against exact original request sets.
- Neighbor and full-sweep cells show the fixed state, and any legitimate-path regressions in the fix candidate are recorded.