Skip to content
All posts

Google’s Harness² Lets Agents Rewrite Their Own Harness — The Security Questions That Come With It

October 18, 2026 · PlayCISO
TL;DR

Harness2 (Google Research, arXiv 2610.14224) is a framework for recursive agent harnessing: an agent improves the system around a fixed model (its prompts, guardrails, memory and tools), reporting gains up to 11.8 points on LAB. The security point isn't danger but that a self-editing harness is a new governance surface, so change-control, least-privilege and audit controls must cover the harness, not just the model. The paper notes executors run with unrestricted network access and the Codex executor with its sandbox disabled.

This post references: https://arxiv.org/abs/2610.14224

Google Research just published Harness² (arXiv 2610.14224, code at google-research/harness2) — a framework where an AI agent rewrites its own harness to get better at tasks it was never designed for, with the model’s weights left untouched. It works, and the gains are real. For security and AI-platform leaders, it is also a clear look at a surface we will all have to govern: the scaffolding around the model, when that scaffolding can edit itself.

Analysis for CISOs, AI-platform and GRC teams. This is PlayCISO’s own read of a public research release; it is not a vulnerability report and not an alarm. Every figure is from the paper/repo and linked at the end.

What it is, plainly

A harness is everything around a model that makes it an agent: the system prompt, tools, memory, skills, subagents, orchestration and guardrails. Harnessing is optimizing that system. Harness² automates it, with two loops and fixed model weights:

  • Task-level recursion — for the task in front of it, a Propose–Probe–Compose step: propose harness edits, probe their effect on the same task, and compose a refined harness from the behavioral contrast between runs — no ground-truth answer needed.
  • Harnessing-level recursion — a persistent improvement harness that accumulates adopted harnesses and evidence-backed lessons to guide refinement on future tasks.

Across three professional benchmarks (JobBench, LAB, WorkBuddy-Bench) and models including GLM-5 and Gemini 3.5 Flash, one step reports gains of up to 11.8 points on LAB, 11.5 on WorkBuddy-Bench and 4.5 on JobBench, with more budget yielding more. The eight editable components are the system prompt, guardrails, memory, tool guidance, subagents, skills, scripts and plugins.

Why a security brand cares about an agent-performance paper

Because that list of eight components is also an attack-surface map, and Harness² makes it a moving one. Static agents are governed by fixing what they can see and do. A self-editing harness changes those very things — tool guidance, guardrails, subagent delegation, plugins in the tool loop — as it runs. The advance is welcome; the discipline it demands is the story.

Four controls a self-improving harness demands

  1. Change control for the harness. When edits to tools and guardrails happen without a human, "what can this agent do right now?" must still be answerable and bounded. Gate any adopted edit that touches tools, permissions or guardrails behind human review.
  2. Non-self-expandable least privilege. The optimizer must not be able to grant the agent capability it did not already have. Scope tool, skill and subagent access so a harness edit cannot widen it.
  3. Provenance for adopted harnesses and "lessons." Because lessons persist across tasks, a prompt-injection or a bad probe can write a durable one. Log every adopted harness and its supporting evidence so you can audit and roll back.
  4. Egress control and sandboxing for executors — see the paper’s own warning below.

The paper flags its own sharp edge

Credit to the authors for stating it directly. Under Web access, the release notes that executor network access is unrestricted, the Codex executor runs with its sandbox disabled, and public benchmark rubrics may be reachable online — so it instructs you to configure network restrictions before evaluation to prevent access to benchmark answers and grading criteria. That is two lessons in one. First, eval integrity: an agent that can reach the rubric can game the score, so a self-improving loop with open egress can "improve" by cheating. Second, the general one: an agent executor with unrestricted egress and no sandbox is a data-exfiltration and SSRF surface, whatever the task. Default to an egress allow-list and an enabled sandbox; make open access the deliberate exception, not the starting point.

How to fold it into frameworks you already run

None of this needs a new program — it extends the ones maturing now. The agent-specific threats a self-editing harness raises (prompt injection into memory or tool output, tool misuse, capability creep) map cleanly onto ISO/IEC 27090’s threat catalogue and the CIA triad. The "who may change what, and is it evidenced" question is an ISO/IEC 42001 AI-management lifecycle and change-control problem. The "what tools and components does this agent actually run, and where did they come from" question is provenance — the same discipline as an AI Bill of Materials. And to reason about a specific agent’s blast radius, our LLM Threat-Model Generator gives a fast first pass.

The honest takeaway

Harness² is a genuine step: measurable gains from optimizing the system around a model instead of the model itself, generalizing to unseen tasks. The security point is not fear — it is that the harness is now part of the attack surface and the change-control surface, and self-improvement only stays safe when it runs inside bounds you set: human-gated edits to anything privileged, non-self-expandable grants, auditable provenance, and executors that are sandboxed with controlled egress by default.

Sources & credit

Published 18 Oct 2026. Figures and the "Web access" caveat are quoted from the public paper and repository; where our summary and the paper differ, the paper is authoritative.

Related articles
A ‘Fleet’ of AI Agents Was Caught Probing Alibaba’s Map Data — What It Means for Agent Security
Researchers at swarmcha.se report that between 28 Sept and 8 Oct 2026, a fleet of internet-connected AI agents running on Tencent Cloud repeatedly tried to extract Amap (Alibaba mapping) data — bypassing anti-bot defences by abusing a public URL-scanning service as a remote browser, and in several cases using exposed API credentials found in public source. Attribution to any specific Tencent team is explicitly uncertain. Here is what was reported, the heavy caveats the authors themselves raise, and what it means for anyone running or defending against internet-connected AI agents.
ISO/IEC 27090 Is Here: The First International Standard for AI Security Threats — What It Is, What It Isn’t, and What to Do
ISO/IEC 27090:2026 — "Cybersecurity — Artificial intelligence — Addressing security threats and compromises to AI systems" — has been published. It is guidance, not a certifiable standard: it maps AI-specific threats (data poisoning, evasion, membership inference, model inversion, model theft, prompt and output injection) to confidentiality, integrity and availability, and sits alongside ISO/IEC 42001 (certifiable AI management), ISO/IEC 27001 (certifiable ISMS), ISO/IEC 42005 (AI impact assessment) and the NIST AI RMF. A practical CISO read, with the certification reality made clear.
The OpenCode Breach: Your AI Coding Tool Held Your Provider Keys — and Some Were Drained
OpenCode (Anomaly Innovations) notified a subset of users on 17 Oct 2026 that an intruder reached a legacy system and may have exposed stored OpenAI, Anthropic and Google API keys; developers report thousands in fraudulent inference spend. A calm, third-party read of what is confirmed, what is not, and exactly what to do if you use any bring-your-own-key AI tool. PlayCISO is not affiliated with OpenCode; every figure here is attributed.

Ready to practise the decisions these articles describe?

Run a free War Room →
🎉 New here? Use code WELCOME10 for 10% off any plan at checkout
Google’s Harness² Lets Agents Rewrite Their Own Harness — The Security Questions That Come With It | PlayCISO Blog · PlayCISO