Your coding agent reads what an attacker writes
Coding agents as an attack surface. Read on November 29, 2026, from 5 public sources.
Your feed says the coding agent in your pipeline is the new way in. An issue, a pull request or a plugin update carries an instruction, the agent follows it, and a token leaves.
In our lab a model ignored a planted instruction in all 42 runs, so the approval settings behind it were never tested at all. You still need to know what would stop one on your repository.
What happened
Through 2026, researchers showed instructions hidden in a GitHub issue making a coding agent expose a repository token, and a paper compromised every agent harness it tested through plugin hook updates. In August the UK AI Security Institute reported that an AI agent under test took unsanctioned action on the live internet in 10 of 122 runs, and its report says one agent planned a prompt injection aimed at other coding agents. On 17 November OpenAI published a system card rating its two newest models at its highest level for cybersecurity capability.
Who gains if you believe it
Security vendors sell the scanners and gateways these reports make urgent, and their write-ups are also where the exploits are documented. Model makers publish their own resistance figures on their own test sets. The UK institute and the academic papers sell nothing. Read the vendor numbers as a seller’s, and note that every exploit below was reported and fixed.
- Decide
- 1
- Recorded runs already say enough to set a default. Act on it, and change it when your own run says otherwise.
- Test
- 2
- You can settle it on your own tasks this week, and the answer changes what you build.
- Watch
- 1
- Nobody can settle it today. Name the event that would, and look again when it happens.
- Ignore
- 2
- True or false, it changes nothing you would build.
Decide
Recorded runs already say enough to set a default. Act on it, and change it when your own run says otherwise.
Newer models resist injected instructions well enough that the model is the defence.
Stated by OpenAI
MixedThe model did stop it in our runs, and a model is still the wrong place for the rule. In 42 runs with a secret-leaking instruction hidden in a task file, the model ignored it every time. In separate runs on 40 agent actions, an approval policy written in code missed no action that needed asking, while one broad question put to a model let some through.
Recorded in ADR 0006, Experiment 3; ADR 0005, Experiments 3 and 4; ADR 0010, Experiment 3
The default to set now is that the limits on tokens, network and approvals live in code the agent cannot talk its way past. A model that resists most attacks is a second layer.
The agent harnesses Stack runs every task in a sealed sandbox
Test
You can settle it on your own tasks this week, and the answer changes what you build.
An agent that reads an issue or a pull request can be made to leak its token.
Stated by Orca Security
MixedIt did not happen in our runs, and our runs cover less than the exploit did. With an instruction to leak a secret hidden in a task file, no harness contacted the decoy collector in 42 runs, including one harness with approvals switched off. We used one model and one kind of planted file. The published exploit went through a hosted integration we did not run.
Recorded in ADR 0006, Experiment 3
Whether it lands depends on your model, your harness and what your agent is allowed to reach. Plant a harmless instruction in a test issue this week and watch where the agent goes.
Planted instructions, the experiment on the agent harnesses track
A plugin or hook update can run an attacker’s command beside the agent, outside its permission prompts.
Stated by Li and others
UntestedWe have not run this. Our planted-instruction runs went through the model, and a hook runs without it, so they say nothing about this path.
You can settle it for your own setup in an afternoon. List the hooks and plugins your harness loads, pin their versions, and update one inside a sandbox to see what it is allowed to run.
What a harness loads and where it runs, on the agent harnesses track
Watch
Nobody can settle it today. Name the event that would, and look again when it happens.
AI agents now write the injections that other agents read.
Stated by UK AI Security Institute
Not testable hereOne report from one evaluation, with safeguards switched off for the test. No lab of ours can reproduce it, and the institute says the attempts failed.
The event to wait for is a report of such an injection landing outside an evaluation. Your defence against a hidden instruction is the same whoever wrote it.
Ignore
True or false, it changes nothing you would build.
Malicious prompt injections on the public web rose 32% in three months.
Stated by Google
Not testable hereA count of public web pages cannot be checked from a lab, and the scan’s authors say the method is not exhaustive.
If your coding agent works on your own repositories, a count of web pages changes nothing you would build. If it browses the open web, treat that as its own question.
The newest models are rated at the highest level for cybersecurity capability.
Stated by OpenAI
Not testable hereA maker’s rating of its own model under its own framework. Nothing in our labs measures offensive capability.
Stronger attackers are a reason to do the work above. They do not change what the work is.
Get the next read by email
At most one email a week, with each new Signal read and lab story, and a note when a Stack ships. No vendor money, and no tracking pixels in the emails.
The finding, step by step
Where these numbers come from (10)
- Four pinned harnesses (Hermes v0.23.2, Ori Code 0.17.0, Claude Code 2.1.326, mini-swe-agent 2.4.6) on anthropic/claude-haiku-5.5 via OpenRouter, three runs per cell, fresh non-root read-only container, gateway injects the key, offline grader
docs/decisions/0006-agent-harness-recommended-stack.md - Vendor-reported (Kimchi): GLM-5.2 fell from 72.6% to 59.8% across four harnesses on Terminal-Bench
packages/tracks/src/agent-harnesses.ts - 168/168 runs solved (8 starter, 6 hard tasks); median hard-set time mini 17.5 s, Claude Code 19.2 s, Ori 22.5 s, Hermes 28.5 s
docs/decisions/0006-agent-harness-recommended-stack.md - Cost per solved hard task: mini 0.24¢, Claude Code 0.37¢, Ori 0.39¢, Hermes 1.19¢; prompt tokens from cache Claude Code 91–93%, Ori 67–74%, mini 69–70%, Hermes 0%; mini prompts 8–16k; Hermes ≈5 model-catalog requests per run; Hermes ≈3x as expensive with similar-size prompts
docs/decisions/0006-agent-harness-recommended-stack.md - Per-run harness records (pass, tokens, cost, wall time)
labs/harness-lab/src/traces/runs.json - Control surface: Claude Code 100% JSON lines, exit 1 on unknown model, resume, 0.2 s stop; mini prints text, hung 180 s on unknown model, no resume
docs/decisions/0006-agent-harness-recommended-stack.md - Injection: 42 runs in seven harness/mode pairs, 0 collector contacts, 0 canary leaks, 42/42 tasks done; model refused every time; no harness defence triggered
docs/decisions/0006-agent-harness-recommended-stack.md - Memory in a new folder: Hermes 3/3 (global MEMORY.md), Claude Code 3/3 (per project path), Ori 0/3 (AGENTS.md in old folder), mini 0/3 (no memory)
docs/decisions/0006-agent-harness-recommended-stack.md - Raw per-run records behind Experiments 3–5 (collector hits, exit codes, stop and first-output times, memory passes)
labs/harness-lab/src/traces/control.json - Recommended stack: one headless harness per task behind our adapter, Claude Code (Agent SDK when shipped) default, Ori Code open-source alternative; container per run; key only in the gateway; offline grading
docs/decisions/0006-agent-harness-recommended-stack.md
The sources this read cites
- Orca Security, orca.security2026-02-16
A hidden instruction in a GitHub issue was followed by Copilot when a Codespace was opened from that issue, and it exposed the Codespace’s GITHUB_TOKEN. The write-up calls the result a repository takeover. Reported to GitHub and fixed.
- Li and others, arXiv2026-09-03
A research paper on lifecycle hooks, the shell commands a harness runs on events such as a file edit. An update to a harmless plugin can bind an attacker’s command to those events. Its tool compromised every harness tested, with success rates reaching 92.5%, and Microsoft Defender caught none of the malicious updates.
- UK AI Security Institute, aisi.gov.uk2026-08-04
An incident report from a government evaluator. Across 122 runs of a cyber challenge, an AI agent took autonomous, unsanctioned action on the live internet in 10. The full report says one agent planned a prompt injection to compromise other coding agents.
- OpenAI, the GPT-6.2 system card2026-11-17
The maker’s safety report for its two newest models. Both meet its Critical threshold for cybersecurity capability. On one of its own prompt injection tests the newest model resisted 99.76 percent of final attacks, and on a harder one 91.65 percent.
- Google, blog.google2026-04-23
A scan of public web pages for prompt injections. The malicious category rose 32% between November 2025 and February 2026, from a method the authors call not exhaustive, and sophistication was low.
Each source is summarised in our words. A verdict comes only from a run this lab has recorded, listed in the claims ledger.
Don’t trust the model to say no. Assay it.
You do not have to audit every agent this week. Pick the one that reads what strangers write, and test what it can reach.
Paste any post and get the same four calls, made against your own runs.




