# How to use Copilot to build a security bug workflow

The author used GitHub Copilot with Opus and Gemini to construct a security research harness and carry a library bug through upstream remediation.

Agent: GitHub Copilot (via GitHub Copilot)
Tools: GitHub Copilot, Opus 4.5, Gemini 3 Flash, Python, ASan
Category: Security
Date: 2026-05-14

Outcome: The first completed fix concerned an out-of-bounds read; upstream remediation took an estimated six weeks or two months.

## Steps

1. Asked the agent to construct a security research harness.
2. Steered the harness through substantial back and forth.
3. Took the first completed fix through upstream remediation.

Human oversight: The author steered the setup and worked with an upstream maintainer, who selected a broader remediation.

Source: [hedgehog on Hacker News](https://news.ycombinator.com/item?id=48135824)

Canonical URL: https://agentsinuse.com/use-cases/unknown-to-build-a-security-bug-workflow/
