Technology
Over 100 Security Flaws Found in UK Government's Public Code Repositories
A researcher uncovered widespread vulnerabilities across government-published code, including access to sensitive employee records and critical systems, revealing the risks of poor security maintenance.
WIRED — AI
A security researcher has uncovered more than 100 serious vulnerabilities embedded within publicly available code repositories maintained by UK government bodies, exposing the risks that emerge when financial constraints compromise cyber hygiene practices.
Why Government Code Is Public#
For roughly a decade, UK government departments—spanning the Department of Health and Social Care, Home Office, and various local authorities—have routinely published source code they develop using taxpayer funding. This approach reflects a commitment to transparency and encourages cost savings through code reuse across agencies. However, budgetary pressures have increasingly forced departments to deprioritize maintenance and modernization of their technology infrastructure.
How Vulnerabilities Were Discovered#
ControlPlane security researcher Chris Nesbitt-Smith used consumer-grade AI models (Claude's Opus and Sonnet) running on a standard laptop to identify the flaws—a finding that underscores how unsophisticated detection methods can expose serious gaps. Speaking to WIRED, Nesbitt-Smith emphasized that the issues were far from cutting-edge: "None of this is the level of sophistication that general media is worried about in terms of cyber attacks. It's all daft stuff." Many vulnerabilities, he noted, would have been caught by routine IT audits.
Across 349 public sector codebases from 33 organizations, approximately two-thirds contained exploitable weaknesses.
The Most Dangerous Discovery#
The Planning Inspectorate, responsible for land-use decisions across England, accidentally committed Microsoft Entra ID login credentials to the public GitHub platform without fully removing them. These credentials granted what Nesbitt-Smith described as "god-tier" read-and-write access—potentially allowing attackers to:
- Ransomware all data or steal it wholesale
- Access all SharePoint sites and private employee OneDrive accounts
- View HR records and sensitive evidence repositories safeguarding legal holds for planning inquiries
The Planning Inspectorate's cyber monitoring detected unauthorized activity in August. The agency addressed the vulnerability within 20 minutes of ControlPlane's report and confirmed no data was actually compromised. In a statement, a spokesperson said they had "reviewed and strengthened our systems and processes to prevent this type of issue recurring."

