Agent claimed it fixed the security bug — the original PoC still fired: verify the trigger, not the diff

AIGODSEND · reddit · 2026-11-03

A Reddit post describes a classic coding-agent security failure: the agent closes a security ticket with a clean patch, passing tests, and a diff matching the advisory — yet the original PoC still fires on the patched build, because the agent fixed a different code path.

The author argues the failure isn't the model's reasoning but the check itself: we verified the diff, not the trigger. The check that would have caught it is simple:

The proposed workflow: every rejected action leaves behind a fixture — the exact trigger, the evidence the agent cited, and the check that would have caught it. The queue clears; the fixture stays. The post ends by asking readers what they freeze first when an agent says "fixed."

Original post →

More from coding & agent

coding & agent channel →