Agents Lookup

Use cases / Software development

Draft and validate patches for found vulnerabilities

An agent proposes a patch for a known vulnerability, checks it with tests and analysis, and hands it to maintainers to review.

DifficultyAdvanced
Setup time1-2 weeks
CategorySoftware development

The use case

Finding vulnerabilities is getting faster than fixing them. Google DeepMind's CodeMender drafts patches for security issues, checks them with static analysis, fuzzing and tests, and sends them to maintainers, with every patch reviewed by people before submission. Trail of Bits open-sourced Buttercup, its system from DARPA's AI Cyber Challenge, which finds and patches bugs in C and Java projects. Teams can use these ideas for their own backlogs. A maintainer still reviews each patch for correctness and side effects, and nothing lands without normal review.

Example workflow

  1. Start from a confirmed vulnerability and its reproduction
  2. Agent drafts a patch
  3. Validate with tests, fuzzing and static analysis
  4. Maintainer reviews the patch and reasoning
  5. Merge and release through the normal process

Tools

Risks and guardrails

Sources

Written by Agents Lookup. Credits and official pages for the tools this use case names: