# 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

- Skill: `wsh7ash/remediation-verification-loop` (Agent Skill)
- Install (CLI): `npx get-skill add wsh7ash/remediation-verification-loop`
- Raw SKILL.md: https://api.skillmd.com/api/skills/wsh7ash/remediation-verification-loop/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Wsh7Ash (https://skillmd.com/u/wsh7ash)
- Updated: 2026-11-22
- Page: https://skillmd.com/skills/wsh7ash/remediation-verification-loop

---


# 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

1. List the exact failing evidence each finding produced so verification can replay precisely that request set.
2. After the fix candidate is applied, re-run the failing requests as-is and record the responses again.
3. 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.
4. Re-run neighbor cells around each fix, which is where inadvertent refusals of legitimate requests first show up.
5. Re-run the full version and method sweeps the fix touched, since large patches frequently narrow the check in one branch only.
6. 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**

```text
finding=GET /orders/{peer} 200 -> now 403 -> intended
neighbor: GET /orders/{own} member -> 200 ok
```

**2. Full sweep**

```text
versions=v1:404 v2:403 methods=PATCH still leaked -> fix applied in v2 GET path only
```

**3. Result row**

```text
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.

## References

- [OWASP - authorization remediation guidance](https://cheatsheetseries.owasp.org/)
- [OWASP Web Security Testing Guide](https://owasp.org/www-project-web-security-testing-guide/)

