When AI Leaves the Lab: Testing Frontier Models in Government Cyber Defence
This government case study details a pilot project where frontier AI models were tested in hackathons to scan public code repositories across UK government sectors for cybersecurity vulnerabilities. Led by the Government Cyber Coordination Centre with support from DSIT, AISI, and NCSC, participants used AI agent pipelines and traditional scanners to identify and remediate critical weaknesses. The initiative demonstrated the effectiveness of structured AI components in vulnerability management while emphasizing the necessity of human oversight and triage.
Summary and content fields are drawn from the document text and are pending editorial review.
Who issued it
Who it governs
Public sector leaders, security practitioners, and AI researchers interested in practical applications and testing methodologies for frontier AI in government cybersecurity.
What the document contains
This case study covers a pilot project applying frontier AI models to government cyber defence by scanning code repositories for vulnerabilities. It details the methodologies used, such as multi-stage AI agent pipelines and deterministic scanners, outlines specific findings like legacy GitHub Action flaws, and shares lessons learned regarding architectural design, triage, and human oversight.
The text does not provide binding regulatory requirements, legal definitions for AI systems, formal enforcement mechanisms for non-compliance, or a comprehensive breakdown of technical code for every single vulnerability found.
- The Government Cyber Coordination Centre led a pilot project using frontier AI models to scan public code repositories for vulnerabilities across government.
- Participants identified 407 findings, including critical weaknesses involving authentication bypass and remote code execution, all of which were successfully remediated.
- The strongest security results came from using frontier models as tightly scoped components inside a structured pipeline with human experts keeping in the loop.
- Careful upfront scoping and structured internal filtering are essential to manage AI-generated candidate findings and avoid overwhelming security teams.
- A second phase of the pilot will expand to more departments, additional models, and an extension from public code to closed-source estates.
· From frontier models to front-line impact · What we did · What we found · Identifying Critical vulnerabilities · What we learnt · What next
How it scores
Each score is backed by a quote verified against the document text. Editorial review has not yet confirmed them.
Accountability
2/5Clear responsibility for AI outcomes
a human expert kept in the loop on anything that mattered
What we learnt
screening score · 2026-11-26
Fairness
0/5Non-discrimination and equitable treatment
screening score · 2026-11-26
Human Dignity
0/5Respect for the inherent worth of persons
screening score · 2026-11-26
Human Oversight
4/5Humans remain in control of consequential decisions
The pipeline was agentic, but the escalation was manual. This means a member of the team checked every line, re-verified exposure, and handled false positives.
An adversarial chain that challenges itself.
screening score · 2026-11-26
Privacy
0/5Protection of personal data and private life
screening score · 2026-11-26
Transparency
3/5Openness about how AI systems work and are used
The UK Government encourages new source code to be open by default, with specific and justified exceptions.
What we did
screening score · 2026-11-26
Enforcement
0/5Consequences and compliance mechanisms with real force
screening score · 2026-11-26
Impact Assessment
3/5Required assessment of an AI system's risks/impacts before or during use
exploring how frontier AI can be applied safely to cyber defence across government
Case study
screening score · 2026-11-26