Skip to main content
Mallory
← Back to News
leaked-secret-api-keygovernment-diplomatic-threatidentity-authentication-vulnerabilitycloud-misconfiguration

AI-Assisted Review Finds 100-Plus Serious Flaws in UK Government Code

Breach & Incident Intelligence · 4 sources · Updated 4d ago · First seen Nov 10, 2026

AI-Assisted Review Finds 100-Plus Serious Flaws in UK Government Code

ControlPlane researcher Chris Nesbitt-Smith identified more than 100 serious vulnerabilities while reviewing 349 publicly available codebases across 33 UK public-sector organisations using consumer versions of Anthropic’s Claude Opus and Sonnet models. The most serious finding was an exposed Planning Inspectorate application credential that could provide tenant-wide read-write access to SharePoint and access to employees’ private OneDrive accounts, although the integration needed only a single HR file. The credential remained usable for approximately 18 months after its removal from a repository branch. The agency said it revoked the credential within 20 minutes of receiving the report and found no evidence of a data breach.

Other findings included authentication and authorisation weaknesses in Department for Education services and an exposed administrator token on a Scottish Government portal. All highlighted issues were disclosed and addressed. Nesbitt-Smith said routine IT health checks could have detected the weaknesses and warned that withdrawing public source code would hinder researchers without protecting against adversaries who had already copied it. Security experts recommended least-privilege access, stronger identity controls, secret scanning and secure development practices, rather than closing public repositories; exposed credentials must be revoked, not merely removed from source code.

Is this vendor in your chain?See attribution, scope, and your downstream exposure.
Check the blast radius
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

14 events
  1. Reported Nov 11, 20266d ago

    Microsoft reports an AI-assisted campaign harvesting GitHub secrets

    In a separate campaign reported on November 5, Microsoft described threat actors using an agentic AI framework to search GitHub for secrets, often by organisation name. The actors authenticated as applications whose credentials had been exposed.

    Open code isn’t the problem: experts on the “god-tier” flaws exposed across UK government repositories - IT Security Guru
  2. Reported Nov 11, 20266d ago

    Huntress confirms Microsoft 365 intrusions through one backup-app credential

    In a separate incident cited as context, Huntress confirmed unauthorised sign-ins to at least 162 Microsoft 365 tenants in October through a single compromised backup-application credential.

    Open code isn’t the problem: experts on the “god-tier” flaws exposed across UK government repositories - IT Security Guru
  3. Reported Nov 11, 20266d ago

    Critical PHP vulnerability discoveries force public-sector websites offline

    An AI-assisted discovery of critical PHP vulnerabilities in October forced dozens of public-sector websites offline.

    Open code isn’t the problem: experts on the “god-tier” flaws exposed across UK government repositories - IT Security Guru
  4. Reported Nov 11, 20266d ago

    Scottish Government portal exposes an administrator token and is decommissioned

    A Scottish Government open data portal exposed a long-lived administrator token in public JavaScript, potentially allowing visitors to read administrative account information and change site configuration. The portal was subsequently decommissioned.

    Open code isn’t the problem: experts on the “god-tier” flaws exposed across UK government repositories - IT Security Guru
  5. Reported Nov 11, 20266d ago

    Teacher application service account-linking weakness is identified and addressed

    Nesbitt-Smith identified an account-linking flaw in the Department for Education’s teacher application service that could overwrite an existing login association. The sources state that the affected education-service issues were subsequently addressed.

    Open code isn’t the problem: experts on the “god-tier” flaws exposed across UK government repositories - IT Security Guru
  6. Reported Nov 11, 20266d ago

    Planning Inspectorate detects researcher activity and revokes exposed credential

    The Planning Inspectorate said its monitoring detected the researcher’s activity in August and it was treating it as a cyber incident when contacted. It revoked the credential approximately 20 minutes after receiving the report on August 26 and reported no evidence of a data breach.

    Open code isn’t the problem: experts on the “god-tier” flaws exposed across UK government repositories - IT Security Guru
  7. Reported Nov 11, 20266d ago

    Education department fixes training-provider register authorisation flaws

    The Department for Education fixed two authorisation flaws in its training-provider register in July. Low-privileged staff could soft-delete providers and staff accounts, while a separate user-editing policy flaw allowed standard staff to deactivate an administrator.

    Open code isn’t the problem: experts on the “god-tier” flaws exposed across UK government repositories - IT Security Guru
  8. Reported Nov 11, 20266d ago

    Education department fixes unauthenticated school-procurement request changes

    The Department for Education fixed its Get Help Buying for Schools vulnerability on July 10. Anyone with a valid request identifier could previously change request details, including the contact email, and submit the request without signing in.

    Open code isn’t the problem: experts on the “god-tier” flaws exposed across UK government repositories - IT Security Guru
  9. Reported Nov 11, 20266d ago

    AI-assisted review uncovers more than 100 serious government-code vulnerabilities

    ControlPlane researcher Chris Nesbitt-Smith examined 349 public-sector codebases across 33 UK organisations using consumer Claude Opus and Sonnet models. He found more than 100 serious vulnerabilities, with weaknesses affecting roughly two-thirds of the codebases.

    Open code isn’t the problem: experts on the “god-tier” flaws exposed across UK government repositories - IT Security Guru
  10. Reported Nov 11, 20266d ago

    Government hackathon identifies 407 public-repository findings

    The Government Cyber Coordination Centre published internal hackathon results in June identifying 407 findings across public repositories belonging to nine departments.

    Open code isn’t the problem: experts on the “god-tier” flaws exposed across UK government repositories - IT Security Guru
  11. Reported Nov 11, 20266d ago

    Deleted Planning Inspectorate credential remains retrievable and valid

    The credential was removed from the repository branch without being revoked in Microsoft Entra ID. An orphaned commit remained accessible through GitHub’s raw-content infrastructure for approximately 18 months while the credential remained usable.

    Open code isn’t the problem: experts on the “god-tier” flaws exposed across UK government repositories - IT Security Guru
  12. Reported Nov 11, 20266d ago

    Planning Inspectorate publishes an overprivileged application credential

    The Planning Inspectorate accidentally exposed a Microsoft Entra ID application credential in an Azure Synapse notebook on GitHub. Although the integration needed only one HR file, its permissions could enable tenant-wide SharePoint read-write access and access to employees’ private OneDrive accounts.

    Open code isn’t the problem: experts on the “god-tier” flaws exposed across UK government repositories - IT Security Guru
  13. Reported Nov 10, 20267d ago

    Planning Inspectorate strengthens systems following credential exposure

    The Planning Inspectorate said it reviewed and strengthened its systems and processes to prevent a recurrence of the credential exposure.

    Security Flaws Across UK Government Sites Exposed ‘God-Tier’ Information | WIRED
  14. Reported Nov 10, 20267d ago

    NHS reportedly orders teams to move away from open-source code

    The NHS reportedly instructed technology teams in May to transition away from open-source code amid concerns about AI-assisted vulnerability discovery.

    Security Flaws Across UK Government Sites Exposed ‘God-Tier’ Information | WIRED
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

4 linked
OnedriveMicrosoft Entra IdSharepointMicrosoft 365

Organizations

4 linked
Scottish GovernmentDepartment for EducationGovernment of the United KingdomPlanning Inspectorate
Do you run this?See attribution, scope, and whether this vendor sits anywhere in your supply chain.
Get the Full Incident Picture
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.