← All use cases

Fix a finding from your security scan

Start from a flagged scan result, inspect and apply a proposed patch, then confirm it worked.

The ZeroTwo Security plugin converts a scan finding you have reviewed into a targeted patch. You inspect it and apply it locally, confirm the fix works, and get a pull request ready along with evidence.

Intermediate
1h

Skills & Plugins

  • Security: Fix Finding
    Patches and verifies one finding ($fix-finding).

Before you start

Open the scanned repo in a Work or Code task with the Security plugin enabled and pick a finding you've reviewed; otherwise scan first.

Fix the finding

  1. Review

    Read the code and evidence, and confirm what must be prevented and preserved.

  2. Ask for the fix

    Invoke $fix-finding with the finding. It makes the smallest change that enforces the security rule and adds a regression test that fails on the vulnerable behavior.

  3. Inspect the diff

    Read the changes and the new tests before you keep them.

  4. Verify

    Ask the agent to rerun the original reproducer and the repository's tests and confirm the issue no longer reproduces; a changed file alone proves nothing.

  5. Prepare the PR

    Include the finding, changes, verification and leftover uncertainty, then update status deliberately.

Review the result

You should end with one focused change, verification evidence and reviewer context. The skill reports any proof gap, so say so in the PR if verification fell short. For lists of reports, use Remediate a vulnerability backlog.

Related use cases