Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.
The best AI harness for security depends on how much of the system around the model you want to build and maintain yourself. The realistic options in 2026 are a DIY Claude Code setup, your own agent on an agent SDK, OpenAI Codex Security, GitHub Copilot's cloud agent, Google CodeMender and Nullify.
All of them can put a frontier model on a vulnerability. They differ on what the model knows about your systems, what it's allowed to do, and how its output gets checked before a human sees it.
If you searched "best AI harness" for a coding agent or a local model runner, this list is narrower. It covers harnesses for one job: finding, validating and fixing vulnerabilities in your code.
A finding is a guess. A merged fix is a fact. The harness decides how many guesses become facts.
We use the definition from our AI harness glossary entry: the harness is everything around the model. For security work, that breaks into five parts, and every option below is compared on them:
Every vendor fact below comes from the vendor's own documentation or announcement, read on December 2, 2026. Where the documentation doesn't say, we say so.
| Harness | Context about your code and org | Actions it takes | How it checks output | Human approval | Where it runs |
|---|---|---|---|---|---|
| Claude Code, DIY security setup | Your checkout, plus files and notes you give it | Edits, commands, patches you apply | Separate reviewer pass; independent verifier agents in the Claude Security plugin | Permission modes; patches never applied automatically | Your machine, a sandbox, GitHub Actions or Anthropic cloud sessions |
| Your own agent on an agent SDK | Whatever you wire in | Whatever tools you grant | Whatever guardrails you write | Whatever you build | Your infrastructure |
| OpenAI Codex Security | Repository threat model you can edit | Scans, patches, draft PRs on GitHub | Sandboxed validation where possible; patch checker | You review and merge the PR | Codex cloud, terminal or SDK |
| GitHub Copilot cloud agent | Repository, custom instructions, MCP servers | Branch, commits, one PR per task | CodeQL, advisory check, secret scanning, Copilot code review | Can't approve or merge; workflows wait for approval | GitHub Actions or a cloud sandbox |
| Google CodeMender (preview) | Your codebase and coding conventions | Scans, builds exploits, generates diffs | Exploit in a customer-managed sandbox; LLM-as-a-judge on patches | Developers review and approve every patch | Gemini Enterprise Agent Platform, CLI, CI/CD |
| Nullify | Asset graph, SBOMs, organization documents and memory | Triage, exploit validation, draft fix PRs, tickets, messages | Independent review, then scanner, build, test and exploit checks available | Never merges; autonomy policy and blocked actions | Nullify platform, connected to your SCM and cloud |
The list runs from most assembly required to least. That's also roughly the order in which the harness becomes someone else's job.
Best for: engineers who already live in Claude Code and want security checks layered into the agent they use every day.
Claude Code ships the harness primitives: permission modes that decide which actions need your approval, a sandboxed Bash tool with filesystem and network isolation, and managed settings to enforce them across a team.
On top of that, Anthropic documents a stack of security layers. The security guidance plugin reviews Claude's own edits, turns and commits as it writes. /security-review runs a one-time pass over your branch.
The Claude Security plugin runs a multi-agent scan where verifier agents analyze each finding before it reaches the report. A separate agent reviews each patch and runs your tests when it can.
The restraint is documented too. The plugin writes patches to a folder and says plainly that they're never applied automatically. The standalone security review GitHub Action warns that it isn't hardened against prompt injection and should only review trusted pull requests.
Watch for: context is your checkout plus what you hand it. Anthropic notes the review reads source code, not a running service, and that a wrong statement in your notes can hide a vulnerability. Ownership, routing and follow-through are yours.
Best for: platform teams that want full control and have engineers to own the result.
The Claude Agent SDK gives you the same tools, agent loop and context management that power Claude Code, in Python and TypeScript, with hooks, subagents, MCP and permissions. The OpenAI Agents SDK is built on agents with tools, handoffs between agents, and guardrails that validate inputs and outputs.
Both give you the loop. Neither gives you the security context. You decide what the agent can see about your cloud, who owns a repository, which checks count as proof, and what it's never allowed to do.
Watch for: the prototype is the cheap part. Maintaining context, evals and guardrails is the cost, and it's the subject of our post on what a security harness costs to run.
Best for: teams already on ChatGPT business plans who want a hosted scan-and-patch agent on their GitHub repositories.
OpenAI launched Codex Security in research preview on March 6, 2026. It builds an editable, project-specific threat model of what the system does and trusts, searches for vulnerabilities with that model as context, and, where possible, tests findings in sandboxed environments. With an environment set up for your project, OpenAI says it can validate issues against the running system and create working proofs of concept.
The current documentation describes scans from Codex, a terminal or the SDK, with repository, scheduled and continuous monitoring scans. Fixes go through a patch checker, and a finding's page can open a draft pull request on GitHub.
Watch for: access requires a ChatGPT workspace with access to the product, which the setup page lists as a preview. The docs don't explain how the patch checker works, so ask in a trial.
Best for: GitHub-first teams that want an agent assigned work like a teammate, including code scanning alerts.
GitHub's Copilot cloud agent researches a repository, plans changes, edits files and runs tests in a GitHub Actions environment or a cloud sandbox, then opens one pull request per task. You can assign it code scanning alerts from security campaigns. Context comes from the repository, custom instructions and MCP servers.
GitHub's risks and mitigations page is one of the clearest harness specs in this list. The agent can only push to a single branch. It can't approve or merge, and can't even mark its own PR ready for review.
Workflows don't run until a person with write access approves them. Its code is checked with CodeQL, new dependencies against the GitHub Advisory Database, secret scanning, and a second opinion from Copilot code review. Internet access is restricted by a firewall.
Watch for: it's a general coding agent with security checks, not a security program. It doesn't know which findings are reachable or who owns them. Copilot Autofix remains the separate, CodeQL-only suggestion feature, and GitHub warns its fixes can fail to remediate or introduce new vulnerabilities.
Best for: Google Cloud customers who want exploit-first validation in a sandbox they control.
CodeMender began as a Google DeepMind research agent in October 2025. On July 22, 2026, Google Cloud brought it to customers in preview through Gemini Enterprise Agent Platform, and named it a core component of AI Threat Defense, where its scanning is listed as coming soon. It scans for classes such as memory corruption, injection and cryptographic flaws in C/C++, Go, Java, Python, Ruby, Rust and TypeScript.
The validation step is the notable part. CodeMender builds and runs exploit code in an isolated, customer-managed sandbox before fixing, then uses LLM-as-a-judge to check that the patch doesn't break functionality. Patches arrive as diffs in developer tools, and Google says developers review and approve every patch before code is committed.
Watch for: it's a preview. Wiz integration is listed as coming soon, and third-party model support is planned, not shipped.
Best for: product security teams that want the whole harness managed, from context to a reviewed pull request, with a human approving the merge.
We build Nullify, so weigh this entry accordingly. We position the Nullify platform as an AI security harness, and here's what that means in documented behavior.
Context. The Context Engine connects cloud accounts, Kubernetes clusters, repositories, applications, deployments and CI/CD pipelines in an asset graph, builds SBOMs per repository, and keeps a Vault of agent memory and organization documents such as runbooks and policies. Triage scores each finding on reachability, exploitability, business context and confidence, and re-triages when code, dependencies or threat intelligence change.
Validation. Eligible SAST and dependency findings can be exploited against a running target, but only when an armed policy matches and the target is confirmed non-production. For fixes, Autofix plans a minimal root-cause change, follows your repository's conventions, and sends it through an independent review pass before running the scanner, build, test and exploit checks available in that workflow.
Actions and approval. Fixes open as draft pull requests. Nullify then reads failing CI logs and pushes fixes within a bounded budget, answers review comments, rebases, and assigns reviewers from code owners, then recent authors, then the owning team. It never merges.
An autonomy policy, team ground rules and blocked action types control whether it opens PRs, files tickets or sends messages, and campaign planning opens at most three fix PRs per repository at a time and five per remediation plan.
If you work in Claude Code, Cursor or Codex, nullify mcp serve exposes findings and context to that agent.
Watch for: leaked secrets aren't autofixed; they go to a ticket for manual rotation. Checks that aren't available in a workflow can't run, and the docs tell you to inspect which ones were skipped before merging.
Pick by who you want to own the harness, not by which model is strongest this quarter:
Use these checks whichever harness you evaluate. None of them requires buying anything.
The model writes the patch. The harness decides whether it should exist.
It depends on who you want to maintain it. Claude Code or an agent SDK suits teams that want to build and own the harness. Codex Security and CodeMender are managed scan-and-patch agents in preview. Nullify manages context, validation and the pull request through to a human merge. Test each on ten real findings.
Yes, with work. Both provide the agent loop, tool permissions and sandboxing, and both vendors now ship security scanning on top. What you still supply is context about your cloud and ownership, rules for which findings to fix, and the process that gets each fix reviewed and merged.
We don't recommend it. Of the harnesses here, GitHub, Google, Anthropic's Claude Security plugin and Nullify all document a human approval step before code lands. Passing checks shows a change builds and tests pass, not that it's right for your system. Enforce approval in platform settings, not in the prompt.
Five things: context about your code, dependencies, cloud and owners; a defined set of tools and actions; validation of output before a human sees it; a human approval gate; and a known place to run, with limited credentials and network access. Missing any one, the model's output stays a guess.