Engineering teams across the public sector are adopting AI-assisted coding tools at pace. Today, we are sharing a proposed open standard to govern how these tools are deployed, isolated, and verified in government software development: the Government Standard repository on GitHub.
The Core Premise
Most guidance on artificial intelligence asks organisations to place trust in the safety claims of model providers. In public sector engineering, unverified trust is not an acceptable operational posture. Public services handle sensitive citizen data, statutory obligations, and critical national infrastructure.
The foundational principle of the proposed standard is direct: Don’t ask an organisation to trust your AI. Show them how you’ve constrained it.
Rather than evaluating whether a model is inherently safe, the standard focuses entirely on operational controls that engineering leads can enforce, observe, and evidence. If an agentic coding assistant or conversational tool cannot breach its execution boundary, cannot exfiltrate unredacted data, and cannot commit unverified code past a human approval gate, the security posture of the service remains intact.
What the Standard Covers
The draft specification (v0.1.0) defines 21 concrete operational controls organised across ten core domains:
- Approval and Oversight: Clear institutional sign-off, risk assessment, and defined accountability for all AI engineering tools.
- Model and Provider Governance: Restricting development workflows to vetted model providers that commit to zero data retention for model training.
- Information Handling: Hard classification boundaries preventing protectively marked material (OFFICIAL-SENSITIVE and above) and personal data from entering prompt payloads.
- Tool Permissions and Execution Boundaries: Enforcing least privilege on filesystems, local networks, and shells using rootless containers, disposable microVMs, or sandboxed developer environments.
- Human Approval Gates: Mandatory human sign-off before executing destructive commands, modifying production state, or dispatching external actions.
- Deterministic Code Verification: Automated static analysis, injection prevention, automated unit testing, and accessibility checking independent of an agent’s self-reported success.
- Supply Chain Hygiene: Automated vulnerability checking and dependency pinning to prevent poisoned packages or unvetted third-party libraries.
- Audit Logging and Traceability: Maintaining auditable records of prompts, code modifications, and agent tool execution to support transparency frameworks.
- Incident Response: Prescribed procedures for handling prompt injection attempts, credential exposures, or model hallucinations.
- Continuous Review: Regular re-evaluation of model risks, tool capabilities, and platform guardrails as technologies evolve.
Verification and Platform Profiles
To ensure the standard remains actionable rather than theoretical, the repository provides domain-specific verification profiles alongside concrete platform execution guides:
| Profile Domain | Verification Focus | Technical Baseline |
|---|---|---|
| Frontend | Accessibility & UI Integrity | Automated WCAG 2.2 Level AA checks and semantic markup validation |
| Backend & API | Security & Authorisation | SAST scanners, SQL prepared statements, and object-level permission gates |
| DevOps & Platform | Infrastructure & Supply Chain | Policy-as-code linting, container hardening, and dependency CVE audits |
| Full-Stack | Boundary Isolation | Secret leak interception and end-to-end integration contracts |
Platform execution guides detail how to establish strict isolation boundaries across Linux microVMs, macOS developer setups, and Windows Sandbox environments.
Alignment with Public Sector Standards
The proposed standard is designed to operate in harmony with established UK Government guidance, bridging the gap between high-level policy and everyday terminal execution:
- CDDO Generative AI Framework for HMG: Implementing practical controls for safe, transparent, and ethical adoption.
- Algorithmic Transparency Recording Standard (ATRS): Providing the audit logs and procedural evidence required to document automated workflows.
- GDS Service Standard: Enforcing Point 6 (evaluate technologies), Point 9 (create a secure environment), and Point 10 (respect user privacy).
- NCSC Principles for AI Security: Hardening software engineering environments against prompt injection, model extraction, and supply chain compromise.
Open for Public Review
This draft standard is an independent, community-led initiative. It is not an official accreditation scheme or formal government endorsement. Its goal is to provide software engineers, technical architects, and delivery leads with a practical, common baseline that can be referenced, implemented, and improved collaboratively.
We invite software engineers, security professionals, contractors, and civil servants across the public sector to review the repository, test the controls, and help shape the standard:
You can read the v0.1.0 specification, inspect the conformance checklist, and contribute your feedback by opening an issue or submitting a pull request on GitHub.
