Skip to content
AI security standards · Template

AI Life-Cycle Security Gates (ISO/IEC 5338)

Seven security gates across the AI system life cycle — inception, data, build, verification and validation, deployment, operation and retirement — with concrete pass criteria, so go-live and change decisions rest on evidence rather than optimism.

Template & sample only — a structured starting point with sample content, not legal, audit, certification or investment advice.

Template & sample only. Generated from a PlayCISO template as a starting point: it is not legal, audit, certification, investment or professional advice. Review, adapt and validate it for your organisation before you rely on it.You are looking at sample data. Replace it with your own details below — the document regenerates as you type and your copy is saved in this browser.

Security and assurance gates for each stage of an AI system's life — from inception to retirement — following the life-cycle stages described in ISO/IEC 5338. Mark each gate criterion Met, Partially met, Not met or N/A with evidence. A material criterion that is Not met puts its gate on HOLD; the generated record shows the outcome for every gate and is the evidence trail for go-live and change decisions.

Also as
Gate criteria met (weighted)
73/100
19 of 32 items assessed
Progression
Blocked at Gate 4
Close material criteria before proceeding
Gate 1 — Inception & requirements
Conditional pass
2 criteria open
Gate 2 — Data acquisition & preparation
Conditional pass
2 criteria open
Gate 3 — Design & build
Conditional pass
1 criteria open
Gate 4 — Verification & validation
HOLD
1 material criterion not met
Gate 5 — Deployment
Not assessed
Gate 6 — Operation & monitoring
Not assessed
Gate 7 — Retirement
Not assessed
Material gaps / red flags (1)
  • Adversarial security testing covers direct and indirect prompt injection, jailbreaks, data extraction and evasion; findings are fixed or formally risk-accepted

Your context

Gate 1 — Inception & requirements

Before any data is collected or code written: is this the right problem for AI, and do we know what "safe" means for it?

  • Intended purpose, intended users, and explicitly out-of-scope uses are documented and approved by the accountable business owner5338 / 42001 A.6material

  • Regulatory risk class and internal risk tier are recorded, and an impact assessment is triggered where the tier requires itEU AI Act / 42005material

  • Security and privacy requirements include AI-specific threats: prompt injection, data poisoning, model extraction, evasion and sensitive-data disclosure27090

  • Success metrics and acceptance thresholds (accuracy, error rates by group, latency, cost) are agreed before build starts

  • An initial threat model covers data flows, model supply chain, integrations, tool permissions and the level of autonomy

Gate 2 — Data acquisition & preparation

The data decides the model. Prove you are allowed to use it, that it is fit for purpose and that nobody tampered with it.

  • Rights to use every dataset for this purpose are confirmed: licence terms, lawful basis for personal data, contractual permissions5259 / 8183material

  • Data quality criteria (completeness, accuracy, timeliness, representativeness) are defined and measured, and results recorded5259

  • Personal data is minimised or pseudonymised before use, and a DPIA is completed where requiredGDPR

  • Integrity controls protect training data: authenticated sources, hashes, access-controlled storage, and screening for poisoned or anomalous records27090material

  • Dataset versions and lineage (source → transformations → training set) are recorded so the training set can be reproduced8183

Gate 3 — Design & build

  • Architecture review confirms trust boundaries, least-privilege permissions for tools and agents, and that secrets and sensitive data are never placed in promptsmaterial

  • Third-party models, weights and libraries come from approved sources, are pinned, integrity-checked and scanned (including for unsafe serialisation formats)27090material

  • Training and build environments are segregated from production and hardened, with experiment tracking and access logs

  • Input and output guardrails are designed: content filtering, output encoding, schema validation for structured outputs, rate limits

  • Human oversight, override and escalation are designed in proportion to the impact of outputs42001 A.9

Gate 4 — Verification & validation

Evidence, against the thresholds set at Gate 1, that the system does what it should and resists what it should.

  • Performance meets the agreed thresholds on held-out data that represents production conditionsmaterial

  • Error rates are compared across relevant groups, and any disparity is explained, mitigated or accepted by the owner

  • Adversarial security testing covers direct and indirect prompt injection, jailbreaks, data extraction and evasion; findings are fixed or formally risk-accepted27090material

  • Robustness is tested against distribution shift, edge cases and malformed inputs, and failure behaviour is safe

  • V&V results are signed off by someone independent of the build team

Gate 5 — Deployment

  • Go-live is approved by the accountable owner, with residual risks and open findings explicitly accepted42001 A.6material

  • The deployed configuration matches what was validated: model version pinned, system prompts and guardrail settings under version control

  • A rollback plan and kill switch exist and have been exercised

  • Users and affected people are told they are interacting with AI, with instructions for use and limitations42001 A.8 / EU AI Act

Gate 6 — Operation & monitoring

  • Monitoring covers quality drift, abuse patterns, guardrail hits and cost anomalies, with thresholds, alerts and named respondersmaterial

  • Inputs, outputs and decisions are logged with retention that balances privacy and investigation needs

  • An AI incident playbook covers harmful outputs, data leakage, model compromise and notification duties, and has been exercisedmaterial

  • Changes — retraining, model upgrades, prompt edits — re-enter verification in proportion to their risk

  • Performance and impact are re-assessed on a fixed cadence and when the context of use changes42005

Gate 7 — Retirement

  • Decommissioning is planned: dependent systems and users notified, endpoints removed, credentials and API keys revoked

  • Model artefacts, training data, embeddings and logs are retained or securely deleted according to the retention schedule, with evidence8183material

  • The AI register is updated and lessons learned are recorded

Loading…

Sample report · illustrative data

Sample result: AI Life-Cycle Security Gate Record

Example record for an invented claims-triage assistant that is currently in verification and validation, with each gate criterion marked Met, Partially met, Not met or N/A.

Gate outcomes

GateOutcomeNote
Gate 1: Inception & requirementsConditional passOpen criteria recorded with an owner
Gate 2: Data acquisition & preparationConditional passData rights and integrity controls only partly evidenced
Gate 3: Design & buildConditional passSupply-chain checks partly in place
Gate 4: Verification & validationHOLDAdversarial testing not yet done (a heavily weighted criterion)
Gates 5 to 7: Deployment, operation, retirementNot assessedReached later in the life cycle

Example criterion rows from the record

CriterionStatusNotesOwner
Threat model covers data flows, model supply chain, tool permissions and autonomyPartially metData flows done; tool permissions not modelledSecurity architect
Performance meets agreed thresholds on held-out dataMetPrecision above the agreed thresholdML lead
Adversarial testing covers prompt injection, jailbreaks and data extractionNot metRed-team exercise booked for next sprintAppSec lead

Progression

Do not move the system past a gate on HOLD. For a conditional pass, record each open criterion with an owner and date and confirm it at the next gate.

Made-up example data. Your own run uses your inputs. Downloads of the full report need Pro.

TL;DR

What this template gives you

4 points
  • ISO/IEC 5338 describes the processes of an AI system's life cycle, building on established software life-cycle processes and adding AI-specific ones such as data handling and continuous validation.
  • This template turns those stages into seven gates with 32 concrete criteria — prompt-injection testing, data rights, model supply chain, rollback, monitoring and safe retirement among them.
  • A material criterion marked Not met puts its gate on HOLD; otherwise the gate passes or passes with conditions.
  • The generated record is the evidence trail a reviewer or auditor asks for when a system went live.

Frequently asked questions

What is ISO/IEC 5338?

It is the international standard for AI system life cycle processes. It adapts the familiar system and software life-cycle process model to AI, adding processes for things that are different about AI systems — acquiring and preparing data, building and evaluating models, and continuously validating a system whose behaviour can drift after deployment.

Do I have to use all seven gates?

Use the gates that match how you work, but do not skip the data and verification gates — most AI incidents trace back to data that should not have been used or attacks that were never tested. For a bought-in system, the data and build gates become questions to the supplier.

How does this relate to ISO/IEC 42001?

An AI management system expects responsible design, verification, deployment and monitoring of AI systems. Gate records like these are a practical way to show those activities happen for each system. The template is a starting point, not evidence of conformity on its own.

Is this a finished document I can rely on?

No. Every tool in this suite is a template with sample content. It gives you a structured, editable starting point and generates a document from your own answers, but it is not legal, audit, certification, investment or professional advice. Review and adapt the output, and have it checked by the appropriate specialist before you rely on it.

Who can use it?

The page and sample are public. Customising the template is Pro; a free account gets 3 runs in total, shared across every Pro tool, and the generated document is free to view on the page. Download is Pro: downloading or copying the document (Word, PDF, Markdown, CSV) is never part of the free runs. Pro is $5/month or $40/year. Your work is saved in your own browser.

The tools people use most on PlayCISO.

All tools