The short version: A UK Government case study describes a GitHub Actions workflow behind a live public digital service in which a specially structured comment on an open pull request could reach code execution on the build runner. That runner held secrets and tokens, including an automation GitHub token. The pilot behind the case study logged 407 findings across nine government organisations in about a month, found no evidence that any of them was exploited, and says every critical weakness was remediated.
Forget the number for a moment. Look at the mechanism, because the mechanism is the story. A stranger — no relationship with the team, no contributor agreement, no merge rights — leaves a comment on a pull request. In most repositories that comment is decoration. Here, the legacy workflow was listening for the comment event rather than the pull request event, so the usual protections for unknown contributors never fired. The comment's text then flowed through deployment parameters and an environment-substitution step and arrived on the runner as something to execute.
That is a route to code execution. It is not a record of an attack, and the difference is the whole point. The June case study says the flaw was found and fixed, and that the Government identified no evidence of exploitation for any finding in the exercise. Hold both sentences at once: a serious exposure does not become harmless because nobody walked through the door, and it must not be written up as a breach when the source says no breach was found.
Why a comment could reach the build runner at all
The word "legacy" is doing heavy lifting in that description. The workflow listened to the comment event rather than the pull request event, which meant the checks that normally stand between an unknown contributor and the machinery never got a turn. Comment content was passed along as a deployment parameter, run through an environment-substitution step, and handed to the runner as executable text. And the runner was not an empty sandbox: it carried secrets and tokens, including an automation GitHub token. The Government's assessment is that the path could potentially expose those credentials and support wider compromise of the repository.
407 findings across nine organisations in one month
A month of work, nine government organisations, 407 findings. Some were already understood and already mitigated by other controls — the boring, healthy kind of finding. Others were new. The critical set covered authentication bypass, data exposure and remote code execution, and all of it was remediated; critical and high-risk issues assessed as exploitable were patched through existing processes rather than a parallel panic pipeline bolted on for the exercise.
The human in the loop was not a formality
AI did not certify the flaw and it did not authorise the patch. Teams ran the problem differently: one built a six-stage agent pipeline in which later stages were allowed to challenge earlier results, while another started with deterministic scanners and pointed models at the leads. In the workflow case that made the case study, a human reviewer went through the finding line by line, re-verified that the exposure was real, and cleared the false positives. The agents surfaced candidates faster than anyone could validate them — which is a throughput problem wearing a triumph's clothing.
The result that mattered was the hand-off into security review and remediation, not the size of the machine's output.
1,000 is not 407 plus anything
The October announcement carries a bigger, looser number: two pilots had identified and addressed more than 1,000 potential vulnerabilities across government systems. It supplies no shared denominator, and it does not reconcile that total with the June case study's 407. So do not add them, do not average them, and do not let a press release's arithmetic harden into a fact. The same announcement sets out a second phase: more departments, more models, and a move from public repositories into closed-source estates.
Closed source changes what has to be protected
Public repositories are the easy half. Move inside and the boundary shifts: access permission, confidential code and review records become part of what must be defended, not just the vulnerabilities themselves. The Government is also working through how to respond to incidents involving AI agents, and whether serious incidents and near misses should be identified and reported. Those are works in progress, not a reporting duty the announcement created — a distinction that will matter the first time somebody needs the record.
What to watch next
For the next phase, stop counting what the agent produced and start counting what survived. Track how many candidate findings pass human validation, how fast confirmed critical issues reach a fix, whether a compensating control is temporary or permanent, and whether a service owner can show, in writing, what changed. Inside closed-source repositories, add who authorised access, what code left its original environment, and how long the review evidence is kept. A jump in candidate findings without a matching jump in reviewer capacity does not shorten exposure — it lengthens the queue and calls it progress.
Which leaves the practical test this case study hands to everyone else: can you show the chain from a proposed finding, through a human confirmation, to an authorised fix, to the evidence that the service was never known to be compromised? A comment box that can run code is a good story. A record that proves what you did about it is the only thing that survives the audit.
Sources
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






