Join our Newsletter — 33% off our NHI Course
Home› Guides› Guidelines for Secure AI System Development: The Four…
Guide AI Governance & Risk

Guidelines for Secure AI System Development: The Four Lifecycle Stages Explained

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 13 min read
On this page

Most AI systems are built by teams that know how to ship models but have never been asked to prove those models, their data and their pipelines are secure. The Guidelines for Secure AI System Development, published by the UK National Cyber Security Centre (NCSC) and the US Cybersecurity and Infrastructure Security Agency (CISA) with international partners, set out what "secure" should mean across four lifecycle stages: design, development, deployment, and operation and maintenance. This guide explains each stage, turns the recommendations into controls you can implement and test, highlights the points where AI agents and non-human identities need attention, and maps the guidelines to the NIST AI RMF, the OWASP Top 10 for LLM Applications and NIST SP 800-53. It is written for AI engineers, ML platform owners and security architects.

Key takeaways

  • Broad international backing: published on 27 November 2023 and endorsed or co-sealed by agencies from 18 countries, the guidelines are the most widely backed baseline for building AI systems securely.
  • Secure by default, owned by the provider: the guidelines put the burden on the provider of the AI system, including providers that build on hosted models or external APIs, to ship secure settings as the default.
  • AI assets are crown jewels: models, weights, training data, prompts and logs must be inventoried, version-controlled, hashed or signed, and protected like source code and secrets.
  • Restrict what AI components can do: limiting the actions models and agents can take, with least privilege and fail-safes, is a design requirement, not an afterthought.
  • Still current, now supplemented: the guidelines remain at version 1.0, and later joint publications on AI data security and agentic AI build on them rather than replace them.

Origin and status of the guidelines

The NCSC published the guidelines on 27 November 2023 as version 1.0, and as of 26 November 2026 the NCSC collection page shows no later revision. The document lists 21 international partner agencies alongside the NCSC and CISA. The NCSC announcement states that agencies from 18 countries endorsed or co-sealed them:

CountryAgency
AustraliaAustralian Signals Directorate's Australian Cyber Security Centre (ACSC)
CanadaCanadian Centre for Cyber Security (CCCS)
ChileGovernment CSIRT
CzechiaNational Cyber and Information Security Agency (NUKIB)
EstoniaInformation System Authority (RIA) and National Cyber Security Centre of Estonia (NCSC-EE)
FranceFrench Cybersecurity Agency (ANSSI)
GermanyFederal Office for Information Security (BSI)
IsraelIsraeli National Cyber Directorate (INCD)
ItalyNational Cybersecurity Agency (ACN)
JapanNational Center of Incident Readiness and Strategy for Cybersecurity (NISC) and the Secretariat of Science, Technology and Innovation Policy, Cabinet Office
New ZealandNational Cyber Security Centre
NigeriaNational Information Technology Development Agency (NITDA)
NorwayNorwegian National Cyber Security Centre (NCSC-NO)
PolandNASK National Research Institute
Republic of KoreaNational Intelligence Service (NIS)
SingaporeCyber Security Agency of Singapore (CSA)
United KingdomNational Cyber Security Centre (NCSC)
United StatesCISA, National Security Agency (NSA) and Federal Bureau of Investigation (FBI)

The guidelines are voluntary. Their main audience is providers of AI systems, whether they train their own models or build on hosted models and external APIs, but the NCSC asks everyone involved to read them: data scientists, developers, managers, decision-makers and risk owners. They follow a "secure by default" approach and align with the secure by design principles published by CISA, the NCSC and partners, which prioritise taking ownership of customers' security outcomes, radical transparency and accountability, and leadership that makes secure by design a business priority.

Later joint publications supplement rather than replace them. The May 2025 AI data security information sheet goes deeper on training and operational data; see the CISA AI Data Security Guidance Guide. The May 2026 Five Eyes guidance on agentic AI covers agents specifically; see Careful Adoption of Agentic AI Services. In the UK, the AI Cyber Security Code of Practice builds on the same foundations; see the ETSI EN 304 223 and UK AI Cyber Security Code of Practice Guide.

The four stages at a glance

StageRecommendationsKey controls to implement
Secure designRaise staff awareness; model the threats; design for security as well as function and performance; weigh security trade-offs when selecting a modelAI threat model, build-or-buy assessment, action restrictions, secure defaults
Secure developmentSecure the supply chain; identify, track and protect assets; document data, models and prompts; manage technical debtModel and data provenance, AI asset inventory, model cards and SBOMs, signed artefacts
Secure deploymentSecure infrastructure; protect the model continuously; develop incident management procedures; release responsibly; make it easy for users to do the right thingsPipeline access control, environment separation, hashes and signatures, red teaming before release
Secure operation and maintenanceMonitor system behaviour; monitor inputs; follow a secure by design approach to updates; collect and share lessons learnedOutput and drift monitoring, prompt logging, versioned updates, vulnerability disclosure

Secure design

Design decisions set the ceiling for everything that follows. The guidelines make four recommendations.

  • Raise staff awareness: system owners and senior leaders should understand AI threats and mitigations; data scientists and developers should know AI failure modes and help risk owners decide; developers should be trained in secure coding and responsible AI practice.
  • Model the threats: assess AI-specific threats as part of risk management, including the impact on users, organisations and society if an AI component is compromised or behaves unexpectedly, and document the decisions. The guidelines point to OWASP and MITRE ATLAS; see the MITRE ATLAS Guide and the AI Model Threat Model Template.
  • Design for security, not just performance: first confirm AI is the right tool. Then decide whether to build or use external models, libraries or APIs, assess providers, and scan and sandbox third-party models and serialised weights. Sanitise inputs, user feedback and continuous learning data. Restrict what AI components can do, such as changing files or sending output to other systems, and add fail-safes. Ship the most secure settings enabled, apply least privilege and make riskier features opt-in.
  • Choose models with security in mind: weigh complexity, interpretability, training data quality and sensitivity, hardening and privacy-enhancing options, and the provenance of components, and revisit the choice as research and threats change.

Where AI agents and non-human identities fit

The guidelines predate today's agent frameworks, but their design principles apply directly to the credentials agents use. "Restrict actions" means each agent, tool connector and pipeline job needs its own identity with narrowly scoped permissions, not a shared API key with broad rights. "Secure defaults and least privilege" means short-lived, federated credentials rather than long-lived secrets in configuration files, and human approval for irreversible actions. The OWASP risk LLM06:2025 Excessive Agency describes the failure that follows when this is skipped. See the Agent Identity and Access Guide and the AI Agent Credential Lifecycle and Rotation Guide.

Secure development

Development is where most of the AI-specific supply chain and asset risk sits.

  • Secure the supply chain: monitor supply chain security for the system's whole life and hold suppliers to your own software standards; handle suppliers who fall short under existing risk policy. Prefer well-documented components from verified sources, keep alternatives for mission-critical systems, and use SLSA and NCSC supply chain guidance to track attestations. See the Model Supply Chain Guide.
  • Identify, track and protect assets: treat models, data, prompts, logs and assessments as valuable assets. Treat logs as sensitive. Know where assets are stored, and track, authenticate and version-control them so you can restore a known good state after compromise. Control what data AI systems can access.
  • Document data, models and prompts: record training data sources, intended scope and limits, guardrails, cryptographic hashes or signatures, retention periods, review schedules and known failure modes, using model cards, data cards and SBOMs. See AI BOM vs Model Card vs Datasheet.
  • Manage technical debt: AI projects accumulate shortcuts quickly. Track them from the start and include decommissioning in lifecycle plans.
AI assetMain threatsProtection
Model weights and serialised filesTheft, tampering, malicious serialised codeSigning and hash verification, scanning before load, restricted storage access
Training and fine-tuning dataPoisoning, leakage of sensitive dataProvenance records, integrity checks, access control, sanitisation
System prompts and configurationLeakage, unauthorised changeVersion control, change review, no secrets in prompts
Inference and interaction logsExposure of user data and promptsClassify as sensitive, encrypt, retention limits
Pipeline and API credentialsAbuse to alter models or exfiltrate dataPer-workload identities, short-lived tokens, secrets manager

Secure deployment

  • Secure the infrastructure: apply infrastructure security at every lifecycle stage, including research and development. Control access to APIs, models, data, and training and processing pipelines, and separate environments that hold sensitive code or data.
  • Protect the model continuously: defend against direct access, such as stolen weights, and indirect access through queries to the application, as well as tampering with models, data or prompts. Monitor query interfaces for extraction attempts. Compute and share hashes or signatures for model files and datasets as soon as training finishes, and manage the signing keys securely. See the Model Signing and OpenSSF Model Signing Guide.
  • Develop incident management procedures: assume AI incidents will happen, with response, escalation and remediation plans for different scenarios, offline backups of critical resources and trained responders. Providers should give customers high-quality audit logs and security information at no extra cost.
  • Release responsibly: test models, applications and systems before release using methods such as benchmarking and red teaming, and be open about known limitations. See the AI Red Teaming Guide.
  • Make it easy to do the right thing: where possible, make the most secure setting the only option; set defaults that protect against common threats; explain which security responsibilities fall to users and how user data is used, for example for retraining or human review.

Phased implementation

  1. Baseline: inventory AI systems, models, datasets, prompts and the identities that reach them; record owners.
  2. Gap assessment: score each system against the four-stage table above; prioritise internet-facing and agentic systems.
  3. Quick wins: separate training and production environments, move pipeline secrets into a secrets manager, and start hashing or signing model artefacts.
  4. Release gate: add threat model, documentation and red team evidence as release criteria; pilot on one product team before making it mandatory.
  5. Operate: turn on output, input and drift monitoring, connect alerts to the SOC, and rehearse an AI incident.
  6. Rollback: keep the previous signed model and prompt version deployable so a bad update can be reversed quickly.

Secure operation and maintenance

  • Monitor behaviour: track outputs and performance to spot sudden or gradual changes that affect security, including signs of compromise and natural data drift.
  • Monitor inputs: log inference requests, queries and prompts in line with privacy and data protection rules to support compliance, audit and investigation, and detect out-of-distribution or adversarial inputs.
  • Update securely: make automated updates the default, delivered through secure, modular procedures. Treat changes to data, models or prompts as changes in behaviour, handle major updates like new versions, and help users evaluate them with preview access and versioned APIs.
  • Share lessons: take part in information-sharing communities, keep feedback channels open including for security researchers reporting vulnerabilities, publish advisories with complete vulnerability identifiers and fix issues quickly.

Metrics that show it is working

  • Asset coverage: percentage of production models with a recorded owner, provenance and verified signature or hash.
  • Release gate compliance: percentage of releases with a threat model, documentation and red team evidence attached.
  • Credential hygiene: number of AI pipelines and agents using long-lived static secrets, trending to zero.
  • Detection: mean time to detect anomalous outputs, extraction-style query patterns or drift beyond threshold.
  • Update control: percentage of model and prompt changes deployed through versioned, reviewed releases.

Common failure patterns

  • Treating a hosted model as someone else's problem: the guidelines put responsibility on the provider of the AI system, including one built on external APIs.
  • Loading unscanned third-party models: serialised weights from public hubs loaded straight into production without scanning, sandboxing or signature checks.
  • Prompt and model changes outside change control: a system prompt edited in production alters behaviour with no review or rollback point.
  • One credential for everything: a single API key shared by the agent, the pipeline and developers, so compromise of any one reaches all.
  • No logs when it matters: prompts and outputs not logged, or logged without protection, leaving nothing to investigate or exposing user data.

Mapping to other AI frameworks

The guidelines do not include a formal crosswalk. The mapping below is NHI Mgmt Group's editorial alignment to help teams reuse existing evidence. The NIST AI RMF (NIST AI 100-1, released 26 January 2023) organises risk work into Govern, Map, Measure and Manage; see the NIST AI RMF Guide and the OWASP Top 10 for LLM Applications Guide.

StageNIST AI RMF functionOWASP LLM Top 10 (2025)NIST SP 800-53 Rev 5MITRE ATLAS
Secure designGovern, MapLLM06 Excessive Agency, LLM01 Prompt InjectionRA-3, SA-8AML.T0051 LLM Prompt Injection
Secure developmentMap, ManageLLM03 Supply Chain, LLM04 Data and Model PoisoningSR-3, SR-4, CM-8AML.T0010 Supply Chain Compromise, AML.T0020 Training Data Poisoning
Secure deploymentMeasure, ManageLLM02 Sensitive Information Disclosure, LLM07 System Prompt LeakageSA-11, CA-8, IR-8AML.T0018 Manipulate AI Model, AML.T0024 Exfiltration via AI Inference API
Secure operation and maintenanceMeasure, ManageLLM10 Unbounded Consumption, LLM09 MisinformationSI-4AML.T0024 Exfiltration via AI Inference API

In NIST CSF 2.0 terms, supply chain work sits under GV.SC-01, vulnerability handling under ID.RA-01, configuration and update practice under PR.PS-01, and runtime monitoring under DE.CM-09.

Choosing a framework: use the guidelines as the engineering baseline for teams building AI systems, the NIST AI RMF for organisation-wide AI risk governance, and the OWASP Top 10 for LLM Applications as the test list for LLM applications. A small team can start with the four-stage table and the OWASP list; a large organisation should anchor governance in the AI RMF or ISO/IEC 42001 and use the guidelines as the control set for engineering teams.

Practitioner checklist

  • Record an AI threat model for each system, citing MITRE ATLAS techniques and OWASP LLM risks, and keep the decisions documented.
  • Assess every external model, library, dataset and API supplier against your software security standards.
  • Scan and sandbox third-party models and serialised weights before loading them.
  • Inventory models, datasets, prompts and logs with owners, versions and hashes or signatures.
  • Give every agent, pipeline and tool connector its own scoped, short-lived identity, and restrict the actions each can take.
  • Separate training, evaluation and production environments, and control access to pipelines and model storage.
  • Require red team and benchmark evidence before release, and publish known limitations.
  • Log prompts, inputs and outputs in line with privacy rules, and monitor for drift, extraction and adversarial inputs.
  • Ship model and prompt changes as versioned, reviewed releases with a rollback path.
  • Publish a vulnerability disclosure route and an AI incident response plan, and rehearse it.

Standards and references

Related NHI Mgmt Group resources: NIST AI RMF Guide · OWASP Top 10 for LLM Applications Guide · Model Supply Chain Guide · Agent Identity and Access Guide · CISA AI Data Security Guidance Guide

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.