Back to Frameworks

UK AI Cyber Security Code of Practice

United Kingdom
vCode of Practice (January 2025), read with the DSIT Implementation Guide (January 2025)
5 domains
50 controls

The UK Government's voluntary code of baseline cyber security provisions for AI systems: 13 principles across secure design, development, deployment, maintenance and end of life, on developers, system operators and data custodians, with the DSIT Implementation Guide's example measures informing the evidence.

Verified

UK AI Cyber Security Code of Practice is a compliance framework from United Kingdom with 5 domains and 50 controls. The largest domains are Secure development (Principles 5 to 9) – UK AI Cyber Security Code of Practice (21 controls), Secure design (Principles 1 to 4) – UK AI Cyber Security Code of Practice (18 controls), Secure maintenance (Principles 11 and 12) – UK AI Cyber Security Code of Practice (6 controls). Every control below carries what it requires and what an assessor expects to see.

Maintained by Gerard Blokdyk

Framework summaries on this platform are interpretations grounded in the published source, for educational and compliance planning purposes. They do not reproduce or replace the official standards. Refer to the authoritative source for the definitive text. Framework names and trademarks belong to their respective organisations.

Framework Domains (5)

Secure deployment (Principle 10) – UK AI Cyber Security Code of Practice

3 controls
Controls in the Secure deployment (Principle 10) – UK AI Cyber Security Code of Practice domain of UK AI Cyber Security Code of Practice: 3 controls
CodeTitle
uk-ai-cyber-security-code-of-practice::10.1Tell end-users where and how their data is used, accessed and stored
uk-ai-cyber-security-code-of-practice::10.2Accessible guidance for end-users, including limitations and security updates
uk-ai-cyber-security-code-of-practice::10.3Support end-users and affected entities through incidents

Secure design (Principles 1 to 4) – UK AI Cyber Security Code of Practice

18 controls
Controls in the Secure design (Principles 1 to 4) – UK AI Cyber Security Code of Practice domain of UK AI Cyber Security Code of Practice: 18 controls
CodeTitle
uk-ai-cyber-security-code-of-practice::1.1AI security content in the cyber security training programme
uk-ai-cyber-security-code-of-practice::1.2Ongoing staff awareness of AI threats, with secure AI coding training for developers
uk-ai-cyber-security-code-of-practice::2.1Assess the need, the risks and the mitigations before building an AI system
uk-ai-cyber-security-code-of-practice::2.2Design for resilience against adversarial attack, unexpected input and failure
uk-ai-cyber-security-code-of-practice::2.3Create an audit trail for the AI system
uk-ai-cyber-security-code-of-practice::2.4AI-specific risk assessment and due diligence for external components
uk-ai-cyber-security-code-of-practice::2.5Match intended use to data sensitivity, and encourage staff to report AI security risks
uk-ai-cyber-security-code-of-practice::2.6Least-privilege, risk-assessed permissions for the AI system on other systems
uk-ai-cyber-security-code-of-practice::2.7Due diligence on external providers
uk-ai-cyber-security-code-of-practice::3.1Threat modelling and risk management for AI systems
uk-ai-cyber-security-code-of-practice::3.2Pass unresolved AI threats down the chain to operators and end-users
uk-ai-cyber-security-code-of-practice::3.3Assurance over external parties responsible for AI risks
uk-ai-cyber-security-code-of-practice::3.4Continuous monitoring and review of system infrastructure against risk appetite
uk-ai-cyber-security-code-of-practice::4.1Build in and maintain capabilities for human oversight
uk-ai-cyber-security-code-of-practice::4.2Make outputs easy for responsible humans to assess
uk-ai-cyber-security-code-of-practice::4.3Technical measures where human oversight is a risk control
uk-ai-cyber-security-code-of-practice::4.4Verify the data custodian's specified controls are implemented
uk-ai-cyber-security-code-of-practice::4.5Tell end-users which uses of the system are prohibited

Secure development (Principles 5 to 9) – UK AI Cyber Security Code of Practice

21 controls
Controls in the Secure development (Principles 5 to 9) – UK AI Cyber Security Code of Practice domain of UK AI Cyber Security Code of Practice: 21 controls
CodeTitle
uk-ai-cyber-security-code-of-practice::5.1Comprehensive asset inventory including interdependencies
uk-ai-cyber-security-code-of-practice::5.2Processes and tools to track, authenticate, version and secure AI assets
uk-ai-cyber-security-code-of-practice::5.3Disaster recovery plans tailored to attacks on AI systems
uk-ai-cyber-security-code-of-practice::5.4Protect sensitive data and sanitise inputs, with proportionate protection of weights
uk-ai-cyber-security-code-of-practice::6.1Evaluate access control frameworks for APIs, models, data and pipelines
uk-ai-cyber-security-code-of-practice::6.2Controls on externally offered APIs against attacks on the AI system
uk-ai-cyber-security-code-of-practice::6.3Dedicated, segregated environments for development and model tuning
uk-ai-cyber-security-code-of-practice::6.4Publish a clear vulnerability disclosure policy
uk-ai-cyber-security-code-of-practice::6.5AI system incident management plan and recovery plan
uk-ai-cyber-security-code-of-practice::6.6Cloud service contracts that support these requirements
uk-ai-cyber-security-code-of-practice::7.1Secure software supply chain processes for AI development
uk-ai-cyber-security-code-of-practice::7.2Justify, mitigate and disclose use of poorly documented or unsecured components
uk-ai-cyber-security-code-of-practice::7.3Re-run evaluations on released models before use
uk-ai-cyber-security-code-of-practice::7.4Tell end-users before models are updated
uk-ai-cyber-security-code-of-practice::8.1Document system design and maintenance plans, and publish component hashes
uk-ai-cyber-security-code-of-practice::8.2Record the provenance and use of public training data
uk-ai-cyber-security-code-of-practice::8.3Audit log of changes to system prompts and model configuration
uk-ai-cyber-security-code-of-practice::9.1Security assessment testing before release of models, applications and systems
uk-ai-cyber-security-code-of-practice::9.2Operator testing before deployment, using independent skilled testers
uk-ai-cyber-security-code-of-practice::9.3Share testing and evaluation findings with system operators
uk-ai-cyber-security-code-of-practice::9.4Evaluate outputs for leakage of model internals and unintended influence

Secure end of life (Principle 13) – UK AI Cyber Security Code of Practice

2 controls
Controls in the Secure end of life (Principle 13) – UK AI Cyber Security Code of Practice domain of UK AI Cyber Security Code of Practice: 2 controls
CodeTitle
uk-ai-cyber-security-code-of-practice::13.1Secure disposal when training data or a model is transferred
uk-ai-cyber-security-code-of-practice::13.2Secure deletion when a model or system is decommissioned

Secure maintenance (Principles 11 and 12) – UK AI Cyber Security Code of Practice

6 controls
Controls in the Secure maintenance (Principles 11 and 12) – UK AI Cyber Security Code of Practice domain of UK AI Cyber Security Code of Practice: 6 controls
CodeTitle
uk-ai-cyber-security-code-of-practice::11.1Provide security updates and patches, with contingency where updates are impossible
uk-ai-cyber-security-code-of-practice::11.2Treat major updates as a new version and support operators through model changes (11.2 and 11.3)
uk-ai-cyber-security-code-of-practice::12.1Log system and user actions
uk-ai-cyber-security-code-of-practice::12.2Analyse logs for anomalies, breaches and unexpected behaviour
uk-ai-cyber-security-code-of-practice::12.3Monitor internal states of the AI system where useful for security
uk-ai-cyber-security-code-of-practice::12.4Monitor model and system performance over time for security-relevant change

What is UK AI Cyber Security Code of Practice and who does it apply to?

UK AI Cyber Security Code of Practice is a compliance framework from United Kingdom with 5 domains and 50 controls. The UK Government's voluntary code of baseline cyber security provisions for AI systems: 13 principles across secure design, development, deployment, maintenance and end of life, on developers, system operators and data custodians, with the DSIT Implementation Guide's example measures informing the evidence. It is used by organisations to establish and maintain compliance with industry standards and regulatory requirements.

What does UK AI Cyber Security Code of Practice actually require?

UK AI Cyber Security Code of Practice has 50 controls organised across 5 domains. The largest domains are Secure development (Principles 5 to 9) – UK AI Cyber Security Code of Practice (21 controls), Secure design (Principles 1 to 4) – UK AI Cyber Security Code of Practice (18 controls), Secure maintenance (Principles 11 and 12) – UK AI Cyber Security Code of Practice (6 controls). Each control defines specific requirements that organisations must implement to achieve compliance.

If I already comply with another framework, how much of UK AI Cyber Security Code of Practice do I already cover?

UK AI Cyber Security Code of Practice does not currently have cross-framework mappings in our system. Check back as we continuously expand our mapping database.

How do I implement UK AI Cyber Security Code of Practice?

Start your UK AI Cyber Security Code of Practice compliance journey by running a self-assessment on our platform to identify your current compliance posture. Our AI advisory can answer specific questions about UK AI Cyber Security Code of Practice requirements, and cross-framework mapping helps you leverage existing controls from other frameworks you may already comply with. Create a free account to access all 50 controls and track your progress.

Start Your Compliance Journey

Create a free account to run self-assessments, get AI advisory, and track your compliance progress across 1,248 frameworks.

Get Started Free →

Free forever, no credit card required