Nullify

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 in 2026, Compared by What Surrounds the Model

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.

What counts as an AI harness for security work?

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:

  1. Context. What the agent knows about your code, dependencies, cloud and organization before it reasons about a finding.
  2. Tools and actions. What it can read, run and change: a terminal, a scanner, a pull request, a ticket.
  3. Validation. How output is checked before you see it: a second reviewer, tests, a re-scan, a working exploit.
  4. Human approval. Where a person has to say yes, and whether the agent can ever merge.
  5. Where it runs. Your laptop, your CI, the vendor's cloud or a sandbox you manage.

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.

AI harness tools compared at a glance

HarnessContext about your code and orgActions it takesHow it checks outputHuman approvalWhere it runs
Claude Code, DIY security setupYour checkout, plus files and notes you give itEdits, commands, patches you applySeparate reviewer pass; independent verifier agents in the Claude Security pluginPermission modes; patches never applied automaticallyYour machine, a sandbox, GitHub Actions or Anthropic cloud sessions
Your own agent on an agent SDKWhatever you wire inWhatever tools you grantWhatever guardrails you writeWhatever you buildYour infrastructure
OpenAI Codex SecurityRepository threat model you can editScans, patches, draft PRs on GitHubSandboxed validation where possible; patch checkerYou review and merge the PRCodex cloud, terminal or SDK
GitHub Copilot cloud agentRepository, custom instructions, MCP serversBranch, commits, one PR per taskCodeQL, advisory check, secret scanning, Copilot code reviewCan't approve or merge; workflows wait for approvalGitHub Actions or a cloud sandbox
Google CodeMender (preview)Your codebase and coding conventionsScans, builds exploits, generates diffsExploit in a customer-managed sandbox; LLM-as-a-judge on patchesDevelopers review and approve every patchGemini Enterprise Agent Platform, CLI, CI/CD
NullifyAsset graph, SBOMs, organization documents and memoryTriage, exploit validation, draft fix PRs, tickets, messagesIndependent review, then scanner, build, test and exploit checks availableNever merges; autonomy policy and blocked actionsNullify 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.

The best AI harness options for security in 2026

1. Claude Code as a DIY security harness

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.

2. Your own agent on an agent SDK

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.

3. OpenAI Codex Security

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.

4. GitHub Copilot cloud agent

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.

5. Google CodeMender

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.

6. Nullify

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.

How to choose an AI harness for security

Pick by who you want to own the harness, not by which model is strongest this quarter:

  • You want security inside the agent your developers already use. Claude Code with Anthropic's security layers, or Copilot's cloud agent if you're all-in on GitHub.
  • You have a platform team and a specific workflow. Build on an agent SDK, and budget for the context and evals, not just the prototype.
  • You want a managed scanner that patches. Codex Security or CodeMender, both in preview, both worth a time-boxed trial.
  • Your problem is the backlog, not the scan. A harness that knows reachability, ownership and your cloud, and works the PR after it opens, such as Nullify.

What to test in a trial

Use these checks whichever harness you evaluate. None of them requires buying anything.

  • Bring ten real findings. Count how many become merged fixes without an engineer rewriting them.
  • Ask what it knew. For each verdict, can you see the context it used: call path, deployment, owner?
  • Ask what ran. Which checks ran on each fix, and which were unavailable? A harness that hides skipped checks is guessing.
  • Try to make it merge. It shouldn't be able to. Confirm approval gates in the platform settings, not in a prompt.
  • Feed it hostile input. Put an instruction in an issue comment or README and see whether the agent follows it.
  • Check the blast radius. What credentials does it hold, what network can it reach, and can it touch production?
  • Leave a PR alone for a week. Does anything happen when CI fails or a reviewer asks a question?
  • Read the volume controls. Can you cap how many PRs it opens per repository?

The model writes the patch. The harness decides whether it should exist.

Frequently asked questions

What is the best AI harness for security?

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.

Can I use Claude Code or Codex as a security harness?

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.

Should an AI security harness be allowed to merge fixes?

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.

What should an AI harness for security include?

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.