Andrey Ashgaliyev

Wiki › Engineering with agents

Agentic Security Remediation

Agent-run pipelines that find, rank, patch and verify security issues against observed attacks, with scenario-based QA gates and human-approved deploys.

IdeaUpdated October 25, 20261 source2 min read

Agentic security remediation means using an agent-run software pipeline to find, rank, patch and verify security issues faster than human-only teams can. The argument is that automated attackers set the pace and defenders need the same automation. The main account here comes from Alan Wells, whose three-person team used its software factory during a week-long active attack. It is a single practitioner report, so treat the numbers and claims as anecdotal.1

Preconditions

The loop

1. Run a security-audit skill (Wells cites Cloudflare's) with the defensive model, giving it an explicit list of the repos, infra and services in scope.

2. Have an agent walk public DNS records to surface forgotten legacy infrastructure, since attackers do the same.

3. Have agents rank findings by criticality, cluster them by the files they touch, and file them in an issue tracker under one tag.

4. Run an agent loop that takes the top cluster and works through it: cross-model root-cause analysis, one or more fixes, cross-model code review, verification in staging, then a PR. After that it moves to the next cluster. Parallelise where possible, so a stack of issues goes in and a stack of verified PRs comes out.

5. Merge into a release candidate, re-run the scenarios in staging, release, then re-run them in production.1

Human role and open questions

A shared coding server makes incident response multiplayer: everyone can watch every session, and forkable session links carry more context than re-explaining. Production deploys stay gated on human review. Wells thinks lower-risk fixes might eventually auto-deploy after staging verification. Agent sessions are reviewed retrospectively for inefficiencies and failed tool calls, a supervision pattern linked to Cognitive Surrender concerns.1

Open questions:

Mentioned in 2 pages

Engineering with agents

People & organisations

Sources

  1. Alan Wells — 7 days fending off an active cyber attack with a software factory