Join our Newsletter — 33% off our NHI Course
Home› Guides› ISO/IEC 5338 Guide: AI System Lifecycle Processes for…
Guide AI Governance & Risk

ISO/IEC 5338 Guide: AI System Lifecycle Processes for Secure Development

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

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 typeMeaning in 5338What it means for your SDLC
GenericThe same as the 15288 and 12207 processKeep your existing procedure; no AI change needed
ModifiedElements added, changed or removed relative to 15288 and 12207Extend the existing procedure with AI-specific activities and outputs
AI-specificNot directly based on a 15288 or 12207 processCreate 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)ProcessesSecurity touchpoints
Agreement (6.1)Acquisition; SupplySupplier 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 managementHardened 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 assuranceAI 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 analysisSecurity 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 engineeringData 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; ValidationModel 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; DisposalDrift 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 stageThreat to plan forControl examplesReference
Acquisition and supplyCompromised pretrained models or datasetsModel and dataset provenance checks, signed artefacts, supplier reviewATLAS AML.T0010; OWASP LLM03; SP 800-53 SR-3
Requirements and designExcessive autonomy, prompt injection pathsAbuse cases, least privilege for model tools, trust boundariesATLAS AML.T0051; SP 800-53 SA-8
Knowledge acquisition and data engineeringPoisoning, sensitive data in training setsSegregated data stores, data quality control, privacy filteringATLAS AML.T0020; OWASP LLM04
Implementation and integrationTampered models, leaked pipeline secretsModel integrity checks, secret managers, pipeline identity per jobATLAS AML.T0018; SP 800-53 CM-3
Verification and validationUntested adversarial behaviourAdversarial, jailbreak and data leakage testing before releaseSP 800-53 SA-11
Continuous validation and operationDrift, model extraction, abuse at runtimeUsage monitoring, rate limits, alerting on output anomaliesATLAS AML.T0024; SP 800-53 SI-4
Maintenance and disposalUnsafe retraining, orphaned models and credentialsChange control for retraining, secure deletion, credential revocationSP 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

  1. Inventory AI systems: list each system, whether it is ML or heuristic, and its current lifecycle stage.
  2. Gap the process map: compare your SDLC procedures with the 5338 process list and its generic, modified and AI-specific classification; record missing owners.
  3. 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.
  4. Pilot on one system: run the extended lifecycle on a single model, collect the evidence each process should produce, and adjust before rolling out.
  5. 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.
  6. 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 areaISO/IEC 42001 Annex AISO/IEC 23894 roleNIST AI RMF function
Acquisition and supplyA.10.3 SuppliersSupplier risk identificationGovern, Manage
Human resource and infrastructure managementA.4.4 Tooling resources, A.4.5 System and computing resources, A.4.6 Human resourcesResources for risk managementGovern
Risk managementA.5 Assessing impacts of AI systemsCore: risk assessment and treatment across the lifecycleMap, Measure, Manage
Requirements and design definitionA.6.1.2, A.6.1.3, A.6.2.2, A.6.2.3Risk criteria into requirementsMap
Knowledge acquisition and AI data engineeringA.7.2 to A.7.6 (data for development, acquisition, quality, provenance, preparation)Data-related risk sourcesMap, Measure
Verification, validation and transitionA.6.2.4 Verification and validation, A.6.2.5 DeploymentRisk evaluation before releaseMeasure
Continuous validation and operationA.6.2.6 Operation and monitoring, A.6.2.8 Event logsMonitoring and reviewMeasure, Manage
Information managementA.6.2.7 Technical documentation, A.8 Information for interested partiesRecording and reportingGovern

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

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.

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.