Most organisations govern AI with a management system and a risk process but still build it with a software lifecycle that has no place for training data, model drift or retraining. ISO/IEC 5338:2023 fills that gap: it defines the processes for the whole life cycle of AI systems by extending the systems and software engineering standards ISO/IEC/IEEE 15288 and 12207. This guide explains what the standard covers, which processes are new for AI, where security controls belong at each stage, and how 5338 works with ISO/IEC 42001, ISO/IEC 23894 and the NIST AI RMF. It is written for AI engineering leads, platform owners and governance teams who need a lifecycle that auditors and engineers can both follow. The standard is paywalled, so this guide paraphrases from ISO's public pages and official previews and does not reproduce clause text.
Key takeaways
- A lifecycle standard, not a management system: 5338 describes engineering processes for AI systems; it is not certifiable on its own and pairs with ISO/IEC 42001, which is.
- Built on what engineers already use: it reuses the process groups of ISO/IEC/IEEE 15288 and 12207 and classifies each process as generic, modified or AI-specific.
- Three processes have no traditional namesake: knowledge acquisition, AI data engineering and continuous validation are the lifecycle points that ordinary SDLC controls miss.
- Security belongs in every process group: supplier checks in acquisition, data provenance in data engineering, adversarial testing in verification, drift and abuse monitoring in continuous validation.
- Use it as the "how" under the "what": 42001 Annex A says what to control, 23894 how to assess risk, the NIST AI RMF how to organise trustworthiness outcomes, and 5338 where those activities happen in engineering.
What ISO/IEC 5338 is
ISO/IEC 5338:2023, Information technology, Artificial intelligence, AI system life cycle processes, was published in December 2023 by ISO/IEC JTC 1/SC 42. It is a first edition of 39 pages, and ISO lists it as a published International Standard. According to ISO's abstract, it defines a set of processes and associated concepts for describing the life cycle of AI systems based on machine learning and heuristic systems, building on 15288 and 12207 with AI-specific processes drawn from ISO/IEC 22989 (AI concepts and terminology) and ISO/IEC 23053 (framework for AI systems using machine learning).
The introduction gives a simple reason for a separate standard: AI systems behave differently from conventional software over time. A machine learning model may need retraining on newer, more representative data, which has no clean equivalent in a traditional maintenance process. The standard also points to ISO/IEC TR 5469 for the extra considerations that safety-related AI systems need.
- Who uses it: organisations or projects that develop, acquire, operate or retire AI systems, to define, control, manage, execute and improve lifecycle processes.
- What it covers: machine learning models, which learn behaviour from data, and heuristic models, which are engineered from human knowledge. The standard treats data as the main input for the first and knowledge for the second, while noting that both need some of each.
- What it does not cover: where part of an AI system is conventional software or hardware, the existing 12207 and 15288 processes apply to that part unchanged.
- Annex A: an informative annex of observations drawn from the use cases in ISO/IEC TR 24030.
For how governance and engineering security divide the work, see AI Governance vs AI Security.
How it extends ISO/IEC/IEEE 12207 and 15288
ISO/IEC/IEEE 15288 sets out system life cycle processes and 12207 software life cycle processes. Both group processes into agreement, organisational project-enabling, technical management and technical processes. 5338 keeps those four groups and sorts each of its processes into one of three types, defined in clause 5.1:
| Process type | Meaning in 5338 | What it means for your SDLC |
|---|---|---|
| Generic | The same as the 15288 and 12207 process | Keep your existing procedure; no AI change needed |
| Modified | Elements added, changed or removed relative to 15288 and 12207 | Extend the existing procedure with AI-specific activities and outputs |
| AI-specific | Not directly based on a 15288 or 12207 process | Create a new procedure, owner and evidence trail |
The standard's own figure assigns every process to a type. Organisations adopting 5338 should take that assignment from the purchased text rather than guess, because a process you treat as generic may carry AI additions you are expected to implement.
AI-specific lifecycle processes
The table lists all processes in clause 6, by group. The column on security touchpoints is NHI Mgmt Group's guidance on where security activities fit, not text from the standard.
| Group (clause) | Processes | Security touchpoints |
|---|---|---|
| Agreement (6.1) | Acquisition; Supply | Supplier assurance for models, datasets, labelling services and hosting; contract terms on training data rights, retention and incident notification |
| Organisational project-enabling (6.2) | Life cycle model management; Infrastructure management; Portfolio management; Human resource management; Quality management; Knowledge management | Hardened training and inference infrastructure, separate environments, secrets handling for pipelines, AI security skills in teams |
| Technical management (6.3) | Project planning; Project assessment and control; Decision management; Risk management; Configuration management; Information management; Measurement; Quality assurance | AI threat modelling inside risk management; versioning of data, models, prompts and configurations; security metrics |
| Technical: definition (6.4.1 to 6.4.6) | Business or mission analysis; Stakeholder needs and requirements definition; System requirements definition; System architecture definition; Design definition; System analysis | Security and abuse-case requirements, autonomy limits, model access design, trust boundaries around the model |
| Technical: AI inputs (6.4.7, 6.4.8) | Knowledge acquisition; AI data engineering | Data provenance and licensing, poisoning checks, segregation of training data, privacy filtering, integrity of knowledge bases |
| Technical: build and assure (6.4.9 to 6.4.13) | Implementation; Integration; Verification; Transition; Validation | Model scanning, secure integration of tools and APIs, adversarial and prompt injection testing, release approval gates |
| Technical: run and retire (6.4.14 to 6.4.17) | Continuous validation; Operation; Maintenance; Disposal | Drift and abuse monitoring, retraining controls, incident response, secure deletion of models, data and credentials |
The three processes ordinary SDLCs lack
Comparing names with 15288 and 12207, three 5338 processes have no traditional namesake. They are where existing secure development programmes most often have no owner.
- Knowledge acquisition (6.4.7): gathering and structuring the human knowledge a heuristic system relies on, and the knowledge used to test and support ML systems. Security concern: integrity and authorship of rules, ontologies and retrieval sources, which an attacker can alter as easily as training data.
- AI data engineering (6.4.8): acquiring, preparing, labelling and managing the data that trains and evaluates models. Security concern: provenance, poisoning and privacy. MITRE ATLAS lists AML.T0020 Training Data Poisoning, and the OWASP Top 10 for LLM Applications 2025 lists LLM04 Data and Model Poisoning.
- Continuous validation (6.4.14): checking in operation that the system still performs as validated, because data and context drift. Security concern: drift caused deliberately, model abuse, and retraining triggered on poisoned feedback.
Where security fits
5338 is not a security standard, but its process structure tells you where to place controls so they are owned and evidenced. The touchpoints below follow the AI lifecycle and draw on the OWASP AI Exchange, whose founder led the authoring of 5338, and on NIST SP 800-218A, the SSDF community profile for generative AI and dual-use foundation models published in July 2024.
| Lifecycle stage | Threat to plan for | Control examples | Reference |
|---|---|---|---|
| Acquisition and supply | Compromised pretrained models or datasets | Model and dataset provenance checks, signed artefacts, supplier review | ATLAS AML.T0010; OWASP LLM03; SP 800-53 SR-3 |
| Requirements and design | Excessive autonomy, prompt injection paths | Abuse cases, least privilege for model tools, trust boundaries | ATLAS AML.T0051; SP 800-53 SA-8 |
| Knowledge acquisition and data engineering | Poisoning, sensitive data in training sets | Segregated data stores, data quality control, privacy filtering | ATLAS AML.T0020; OWASP LLM04 |
| Implementation and integration | Tampered models, leaked pipeline secrets | Model integrity checks, secret managers, pipeline identity per job | ATLAS AML.T0018; SP 800-53 CM-3 |
| Verification and validation | Untested adversarial behaviour | Adversarial, jailbreak and data leakage testing before release | SP 800-53 SA-11 |
| Continuous validation and operation | Drift, model extraction, abuse at runtime | Usage monitoring, rate limits, alerting on output anomalies | ATLAS AML.T0024; SP 800-53 SI-4 |
| Maintenance and disposal | Unsafe retraining, orphaned models and credentials | Change control for retraining, secure deletion, credential revocation | SP 800-53 CM-3 |
For the threat side in more depth, see the AI Data Poisoning and Backdoors Guide and the AI Supply Chain and AI-BOM Guide.
Where identity fits
AI pipelines run on machine identities: service accounts for training jobs, tokens for data stores and model registries, API keys for hosted models and credentials held by agents in production. Infrastructure management (6.2.2) and configuration management (6.3.5) are the natural owners for giving each pipeline stage its own scoped identity, and disposal (6.4.17) for revoking them when a model is retired. See AI Agent Identity vs Service Account.
Rolling 5338 into an existing SDLC
- Inventory AI systems: list each system, whether it is ML or heuristic, and its current lifecycle stage.
- Gap the process map: compare your SDLC procedures with the 5338 process list and its generic, modified and AI-specific classification; record missing owners.
- Start with the three new processes: write procedures for knowledge acquisition, AI data engineering and continuous validation first, since nothing in a traditional SDLC covers them.
- Pilot on one system: run the extended lifecycle on a single model, collect the evidence each process should produce, and adjust before rolling out.
- Add release gates: make verification and validation evidence, including adversarial tests, a condition of transition to production. Keep the previous model version deployable for rollback.
- Connect to the management system: map each process to the 42001 Annex A controls and to your risk register, so audits draw evidence from engineering records.
Choosing the right depth
A small team consuming a hosted model mainly needs the agreement, requirements, integration, validation and continuous validation processes; data engineering may be limited to retrieval sources. An organisation training or fine-tuning its own models needs the full set, including knowledge acquisition and AI data engineering. Safety-related systems need the additional considerations the standard points to in ISO/IEC TR 5469.
Relationship to ISO 42001 and 23894
ISO/IEC 42001:2023 specifies a certifiable AI management system; see the ISO/IEC 42001 Guide. ISO/IEC 23894:2023, published in February 2023, gives guidance on managing AI-specific risk and integrating it into AI activities; see the ISO/IEC 23894 AI Risk Management Guide. The NIST AI RMF 1.0, released on 26 January 2023, organises outcomes under Govern, Map, Measure and Manage, and NIST states it is being revised; see the NIST AI RMF Guide.
| 5338 process area | ISO/IEC 42001 Annex A | ISO/IEC 23894 role | NIST AI RMF function |
|---|---|---|---|
| Acquisition and supply | A.10.3 Suppliers | Supplier risk identification | Govern, Manage |
| Human resource and infrastructure management | A.4.4 Tooling resources, A.4.5 System and computing resources, A.4.6 Human resources | Resources for risk management | Govern |
| Risk management | A.5 Assessing impacts of AI systems | Core: risk assessment and treatment across the lifecycle | Map, Measure, Manage |
| Requirements and design definition | A.6.1.2, A.6.1.3, A.6.2.2, A.6.2.3 | Risk criteria into requirements | Map |
| Knowledge acquisition and AI data engineering | A.7.2 to A.7.6 (data for development, acquisition, quality, provenance, preparation) | Data-related risk sources | Map, Measure |
| Verification, validation and transition | A.6.2.4 Verification and validation, A.6.2.5 Deployment | Risk evaluation before release | Measure |
| Continuous validation and operation | A.6.2.6 Operation and monitoring, A.6.2.8 Event logs | Monitoring and review | Measure, Manage |
| Information management | A.6.2.7 Technical documentation, A.8 Information for interested parties | Recording and reporting | Govern |
The mapping is NHI Mgmt Group's interpretation for planning purposes. For control detail see the ISO/IEC 42001 Annex A Controls Guide.
Measuring adoption
- Process coverage: percentage of production AI systems with a named owner and evidence for each applicable 5338 process.
- Data provenance: percentage of training and fine-tuning datasets with recorded source, licence and integrity check.
- Release gate compliance: percentage of model releases with adversarial test results attached.
- Continuous validation: time from drift or abuse alert to triage, and number of models without active monitoring (target zero).
- Retirement hygiene: credentials and endpoints revoked within an agreed period of model retirement.
Common failure patterns
- Treating AI as ordinary software: the SDLC has no data engineering or continuous validation process, so retraining happens outside change control.
- Claiming 5338 certification: 5338 is a process standard; certification claims belong to 42001.
- Quoting the standard without owning it: teams work from summaries and miss modified processes they are expected to extend.
- Validation stops at release: models are tested once and never re-checked, so drift or deliberate manipulation goes unseen.
- Shared pipeline credentials: one powerful service account runs data, training and deployment, so a single leak compromises the whole lifecycle.
Practitioner checklist
- Buy and read the 5338 text, and record which processes it classifies as generic, modified and AI-specific.
- Map your SDLC procedures to the four 5338 process groups and assign an owner to each process.
- Write procedures for knowledge acquisition, AI data engineering and continuous validation.
- Add supplier assurance for models, datasets and labelling services to acquisition.
- Make adversarial and data leakage test evidence a release gate, with a rollback path.
- Monitor production models for drift and abuse, and put retraining under change control.
- Give each pipeline stage its own scoped machine identity and revoke it on disposal.
- Map every process to 42001 Annex A controls and your 23894 risk register.
Standards and references
- ISO: ISO/IEC 5338:2023 AI system life cycle processes
- IEC Webstore: ISO/IEC 5338:2023 preview
- ISO: ISO/IEC 23894:2023 Guidance on risk management
- ISO: ISO/IEC 22989:2022 AI concepts and terminology
- NIST: AI Risk Management Framework
- NIST: SP 800-218A Secure Software Development Practices for Generative AI and Dual-Use Foundation Models
- OWASP: AI Exchange, AI security overview
- MITRE: ATLAS
Related NHI Mgmt Group resources: ISO/IEC 42001 Guide · ISO/IEC 23894 AI Risk Management Guide · NIST AI RMF Guide · ISO/IEC 42001 Annex A Controls Guide. This guide summarises ISO/IEC 5338 and is not legal advice.