Skip to content
Topic hub · AI agents

Harness engineering: every attack, flaw and response

Harness engineering is the work of designing everything around an AI model that makes it a dependable agent: instructions, tools and permissions, context and memory, sandboxing and feedback loops. LangChain sums it up as agent = model + harness. For security teams the harness is where permissions, credentials and attack surface live. This hub gathers our guides on what a harness is and how to secure one, our coverage of harness-related attacks and tools, and the labs where you can practise.

10 articles · 6 labs and tools · latest November 30, 2026

Latest

Timeline10

November 2026

  1. HACK.SKILLS (yaklang): Is It Safe for AI Agents?
    HACK.SKILLS by yaklang packs 102 offensive-security skills for AI agents. What the README says, what it leaves out, and how to vet it before loading.
  2. Harness Engineering: What It Is, Parts and Security Risks
    Harness engineering explained: what an AI agent harness is, its parts, who uses the term, and why security leaders should treat it as a boundary.
  3. Secure an AI Agent Harness: 12 Controls and a Checklist
    Twelve controls to secure an AI agent harness: permissions, sandboxing, instruction files, credentials, approvals, logging and change control, in order.
  4. Cairn AI Pentest Engine: 54/54 Tencent Claim Checked
    Cairn is an open-source AI search engine that says it solved 54/54 in a Tencent pentest contest. What is confirmed, what is not, and how to govern it.
  5. ARTEX, Cairn, PentAGI Consoles Exposed: What to Hunt
    Exposed ARTEX, Cairn and PentAGI consoles, how fast the intrusions move, and how to hunt them in web, endpoint, CloudTrail, Entra and egress logs.
  6. Agentic Pentesting Systems Compared: 2026 Master Guide
    A sourced map of agentic pentesting: Strix, Shannon, PentAGI, XBOW, NodeZero, Pentera and more. How to choose, what is claimed vs tested, and governance.
  7. ARTEX Agentic Hacking Framework: FBI FLASH and GTIG Findings
    FBI FLASH, Amazon honeypots and a JPCERT/CC-led probe add to GTIG's ARTEX findings: AI agents hacking at machine speed. What happened and what to fix.

October 2026

  1. Claude Code Cursor SSH Backdoor: Microsoft IOCs, KQL, Fix
    Microsoft's 30 Oct analysis of the tampered Claude Code extension in Cursor: the svc-telemetry SSH backdoor, IOCs, Defender detections, KQL and cleanup.
  2. Harness² Alternatives: GEPA, DSPy, ADAS, Reflexion, ReAct
    Harness², GEPA, DSPy, ADAS, Reflexion and ReAct compared: what each optimises, its data needs, maturity and the governance risks of self-modifying agents.
  3. Harness² (Google Harness 2): What the Paper Does, 4 Risks
    Harness² (Google Cloud AI Research) lets an AI agent rewrite its own prompts, guardrails, memory and tools. Plain summary, 4 security risks, the controls.

Practice this

Guides

Harness engineering: frequently asked questions

What is harness engineering?

Designing everything around an AI model that makes it work as a dependable agent: instructions, tools and permissions, context and memory, sandboxing, feedback loops and evaluation. OpenAI popularised the term in a February 2026 post about Codex.

What is an agent harness?

LangChain defines it as all the code, configuration and execution logic that is not the model itself: agent = model + harness.

Why does harness engineering matter for security?

The harness holds the permissions, credentials and instruction files an attacker would target. A November 2026 preprint says to treat it as a security boundary, and GitHub has published advisories for command-approval bypasses in the Copilot CLI harness.

How do I secure an AI agent harness?

Enforce limits outside the model: least-privilege tools, filesystem and network isolation, short-lived credentials, protected instruction files, human approval for consequential actions, tool-call logging and change control. Our 12-control checklist puts them in order.

All topic hubs · Blog · Breach Index