CyfroCode

Automated Patches

Generate AI-driven remediation drafts for supported findings, then review, approve, and export them to GitHub.

For supported vulnerabilities, CyfroCode generates AI-driven remediation drafts. To use them:

  1. Open a finding from the Findings tab (workspace-level or scan-level).
  2. Click Generate Patch on the finding detail page.
  3. CyfroSec's AI models analyze the vulnerability context and generate a code change. This may take a few moments.
  4. Once ready, click the patch link on the finding to open the patch detail page.
  5. Review the proposed diff in the side-by-side diff viewer. Confirm the change fixes the vulnerability without modifying unrelated behavior.
  6. If correct, click Approve, then Export to GitHub to create a new branch with the fix, ready for a Pull Request.
  7. If incorrect or unnecessary, click Reject and provide a clear reason for the review history.
  8. To hide a false positive from future scans instead, use the Suppress option on the finding detail page.

Continue reading