Part 5 of 5
Let AI find software flaws inside a boundary you control
AI can uncover defects earlier. A secure operating environment can reduce exposure while humans validate and fix what it finds.
In late 2024, Google’s Big Sleep team reported that its AI agent had found an exploitable stack buffer underflow in SQLite, one of the most widely deployed pieces of software in the world. The maintainers fixed it the day it was reported, before the flaw ever reached an official release, so no SQLite users were affected.
In March 2026, Anthropic reported that Claude Opus 4.6 discovered 22 vulnerabilities in Firefox during a two-week collaboration with Mozilla, 14 of which Mozilla rated high severity. Most of the fixes shipped in Firefox 148.
Both cases point to a valuable role for AI: reviewing complex code early enough for maintainers to act on verified findings.
Prevention and containment are different jobs
Would a more secure platform have prevented those bugs? No. Earlier analysis is what helps catch them before they reach users, as the SQLite case shows, and fixing the defect is what removes it.
Runtime controls do a different job. They limit what a vulnerable component can reach while it is present, and what a review agent can reach while it investigates. A security program built around AI needs both, and it helps to keep them apart:
- Discovery needs access to the code, a capable model, and time.
- Containment needs the review to run where the code is allowed to be, with no more access than the review requires.
- Validation needs a maintainer who can reproduce the finding and decide what to do.
Sharing a review agent without sharing the code
Imagine a software company that wants AI to review a proprietary parser before release.
The security team builds a review agent and makes it available to engineering groups. With BNW there are two ways to do that, and both leave the source with the team that owns it.
- As a template. Each group runs its own copy of the portable agent, on its own node, against an authorized copy of its own code. The template carries instructions and the kinds of tools it needs, not access to anyone’s repository.
- As a service. A group sends a task to the security team’s agent and gets back a signed answer, with the agent’s instructions kept private. Here the code travels to the security team’s node, encrypted for that node alone, so this suits code the group is allowed to share with them.
Where the code may be processed is a rule, not a hope. A model shared from a machine the group controls is marked as processing locally, and the group’s data rules can require providers that keep data on their own machine, in a given region, and keep nothing. Every automatic choice of model then skips providers that don’t fit.
Findings go back to the designated maintainers. When a group runs its own copy, every tool call the agent makes waits for approval by default. An agent answering as a service uses only the tools its operator has let it run without asking, so the security team decides exactly which those are. Either way, the release pipeline can require a human decision on any confirmed high-severity issue before shipping.
Evidence of who reviewed what
When a review runs as a request between two teams, BNW keeps a signed trail of it: the request, the offer it was made against, the grant that allowed it, the progress, and the signed result. A provenance bundle packages that trail so anyone can check it later, without trusting either team or BNW.
Provenance
Check againVerified: every signature and link checks out.
- passsignaturesAll 14 signed objects verify, and each hashes to its ID.
- passinvocationSigned by Platform Security, against an offer valid at the time.
- passinputSealed for the provider only.
- passprogressThe progress chain is unbroken.
- passresultSigned by the provider, Parser team review node.
- passoutputSealed for the requester only.
- passauthorizationThe provider's grant named this requester and capability, valid and not revoked when the result was signed.
bnw invoke verify FILE.Download bundleIt’s worth being exact about what that proves. It shows who asked, who answered, under which permission, and that the input and output were sealed for the two parties. It does not show that the findings are correct, or that a particular model produced them: the provider’s account of how it ran is its own statement. People still validate the findings, which is the point.
Run the agent in a box you trust
BNW decides who may use the review agent, where its model may run, and which calls need a person. It does not sandbox the tools the agent uses. Run the review node in an isolated environment with no production secrets and tightly restricted outbound access, and give its tools read access to the authorized copy of the code and nothing more.
Discovery plus discipline
As AI makes deep code review more accessible, more teams will put it to work. The advantage comes from joining discovery with disciplined execution: give the agent an authorized codebase, give the maintainer a finding they can verify, and make sure the infrastructure enforces the limits throughout.
This is the last part of the series. Start again with why your AI agent should work on your terms, or install BNW and try it.
Sources
- From Naptime to Big Sleep: Using Large Language Models To Catch Vulnerabilities In Real-World Code · Google Project Zero, November 1, 2024
- Partnering with Mozilla on Firefox security · Anthropic, March 6, 2026
