AI threat catalogue Privacy and Data Leakage Production
Insecure Decommissioning and Transfer of Models and Data
When an AI system is retired, replaced or handed over to third parties, training data, model weights, knowledge stores, configurations or logs remain behind uncontrolled or migrate into a new system with undetected defects.
Description
At the end of the life cycle, attention often ends sooner than the data does. When a system is switched off, the application and interface are removed, while training and test data, model weights, vector indexes (the searchable knowledge stores of a RAG system), prompt logs, credentials and backups remain in cloud storage. When changing provider or handing over to partners, buyers or other group entities, models and data are transferred without involving those responsible for the data. Defects can migrate along with them, such as a backdoor in the model or poisoned data. Orphaned agents with persisting permissions are a separate threat.
Possible impact
Data and models left behind are an easy target: whoever finds them obtains customer and business data or can extract personal data from model weights. Undeleted data breaches the storage limitation principle and erasure obligations under the GDPR. Models handed over can infringe third-party rights or carry vulnerabilities into other systems, for which the handing-over operator may be held liable.
Example
A company replaces its self-trained chatbot with a provider's solution and switches off the old system. The cloud storage containing training data from customer conversations, the fine-tuned model and an access key remain in place. Two years later, a changed sharing setting makes the storage publicly accessible, and third parties find it.
- Main lifecycle phase
- Retirement
- Arises in
- Planning and design, Retirement
- Takes effect in
- Supply chain and procurement, Operation and monitoring, Retirement
Recommended mitigations (9)
Compare effects and implementation levels. Expand each entry for the additional classification and rationale.
-
Decommissioning plan per AI system listing all data, models, indexes, logs, credentials and backups as well as statutory retention obligations
Organizational & process-based- Effect
- Preventive
- Implementation level
- Organization, Infrastructure
Classification and rationale
Complementary control typeGovernance & compliance
Primarily organizational and process-based: Defined selection, operating, or lifecycle procedures make the control binding and repeatable; complemented by rules and oversight.
Meaning, implementation and evidence
- What it means
- A decommissioning plan is maintained for each AI system listing all associated data, models, indexes, logs, credentials and backups as well as applicable retention obligations.
- Effect on the threat
- Nothing is overlooked when the system is retired or replaced, and no uncontrolled assets remain that could later leak or keep being used unnoticed.
- When it helps
- Useful where an AI system is retired, replaced, migrated to another provider or handed over to or taken over from third parties.
- Suggested implementation
- Record the system's components at go-live and keep the list current.
- Assign retention obligation, deletion route and owner to each component.
- Agree the plan with all owners before retirement and work through it.
- Useful evidence examples
- Decommissioning plan, asset list, alignment note or completion checklist.
-
Involvement of those responsible for the data and of the data protection officer before retirement or handover
Governance & compliance- Effect
- Preventive
- Implementation level
- Organization
Classification and rationale
Complementary control typeOrganizational & process-based
Primarily a governance and compliance control: Binding rules, control objectives, or oversight define permitted use and accountability; complemented by binding workflows.
Meaning, implementation and evidence
- What it means
- Before an AI system is retired or handed over, those responsible for the affected data and the data protection officer are involved and their approval is obtained.
- Effect on the threat
- People who know the data recognise retention duties, transfer restrictions and personal content that would otherwise vanish with the system unnoticed or pass to third parties.
- When it helps
- Useful where an AI system is retired, replaced, migrated to another provider or handed over to or taken over from third parties.
- Suggested implementation
- Inform data owners and the data protection officer early about planned retirement or handover.
- Assess datasets, the legal basis for transfer and retention together.
- Record the approval and any conditions in writing.
- Useful evidence examples
- Evidence of involvement, data protection officer opinion, approval note or list of conditions.
-
Verifiable deletion once retention periods expire, including backups and storage at service providers, with a deletion record
Organizational & process-based- Effect
- Preventive
- Implementation level
- Infrastructure, Data, Supply chain
Classification and rationale
Complementary control typeTechnical, Contracts & third-party management
Primarily organizational and process-based: Defined selection, operating, or lifecycle procedures make the control binding and repeatable; complemented by technical implementation as well as verifiable third-party commitments.
Meaning, implementation and evidence
- What it means
- Once retention periods expire, all data and models of the system, including backups and storage at service providers, are deleted and the deletion is evidenced in a record.
- Effect on the threat
- Copies left behind in backups or at service providers can no longer leak or be misused, and deletion can be demonstrated to data subjects.
- When it helps
- Useful where an AI system is retired, replaced, migrated to another provider or handed over to or taken over from third parties.
- Suggested implementation
- Define the deletion scope from the decommissioning plan, including backups and service providers.
- Apply secure deletion methods and obtain deletion confirmations from service providers.
- Create a deletion record with date, scope and responsible persons.
- Useful evidence examples
- Deletion record, service provider deletion confirmations, backup inventory after deletion or review note.
-
Revocation of all credentials, tokens and interfaces of the retired system
Technical- Effect
- Preventive
- Implementation level
- Infrastructure, Application, API & agents
Classification and rationale
Complementary control typeOrganizational & process-based
Primarily technical: Machine-enforced identity, permission, or scope rules constrain unauthorized access and actions; complemented by binding workflows.
Meaning, implementation and evidence
- What it means
- On retirement, all credentials, API keys, tokens, service accounts and interfaces of the system are revoked and dismantled.
- Effect on the threat
- Forgotten keys and open interfaces of a retired system are an unmonitored gateway to data and models, and revoking them closes it.
- When it helps
- Useful where an AI system is retired, replaced, migrated to another provider or handed over to or taken over from third parties.
- Suggested implementation
- Identify all credentials and interfaces of the system from inventory and configurations.
- Revoke keys and tokens, deactivate service accounts and shut down endpoints.
- Test and document that access with the old credentials fails.
- Useful evidence examples
- List of revoked credentials, change log, test evidence or completion checklist.
-
Contractual rules on return and deletion when changing provider or handing over to third parties
Contracts & third-party management- Effect
- Preventive
- Implementation level
- Supply chain
Classification and rationale
Primarily a contracts and third-party management control: Selection, verifiable commitments, and audit or enforcement rights toward third parties enable the protective effect.
Meaning, implementation and evidence
- What it means
- Contracts with AI providers and recipients govern how data, models and logs are returned, deleted and the deletion confirmed at contract end, provider change or handover.
- Effect on the threat
- Without such rules, data remains with the former provider or recipient and the organisation has no claim to its return or to proof of deletion.
- When it helps
- Useful where an AI system is retired, replaced, migrated to another provider or handed over to or taken over from third parties.
- Suggested implementation
- Include clauses on return, export format, deletion period and deletion confirmation in contracts.
- Define purpose of use and onward transfer bans when handing over to third parties.
- Check compliance at contract end and file the confirmations.
- Useful evidence examples
- Contract clauses, export evidence, deletion confirmation or contract end review note.
-
Review of models and data before handover or takeover for backdoors, poisoning and contained personal data
Technical- Effect
- Detective, Preventive
- Implementation level
- Model & training, Data, Supply chain
Classification and rationale
Complementary control typeOrganizational & process-based
Primarily technical: Software or analytical tools systematically produce and evaluate measurements, deviations, or attack indicators; complemented by binding workflows.
Meaning, implementation and evidence
- What it means
- Before models and data are passed to third parties or taken over from a predecessor system, they are checked for backdoors, poisoning and contained personal data.
- Effect on the threat
- Undetected flaws would otherwise move into the new system or to the recipient, and the review catches them at the handover point.
- When it helps
- Useful where an AI system is retired, replaced, migrated to another provider or handed over to or taken over from third parties.
- Suggested implementation
- Verify the origin and integrity of models and data using checksums and documentation.
- Run tests for backdoors, signs of poisoning and personal data.
- Complete the handover or takeover only after documented approval.
- Useful evidence examples
- Review report, integrity evidence, personal data scan results or handover approval.
-
Regular search for orphaned storage, models and keys in cloud accounts
Technical- Effect
- Detective
- Implementation level
- Infrastructure
Classification and rationale
Complementary control typeOrganizational & process-based
Primarily technical: Software or analytical tools systematically produce and evaluate measurements, deviations, or attack indicators; complemented by binding workflows.
Meaning, implementation and evidence
- What it means
- Cloud accounts are searched regularly for storage, models, indexes and keys that are no longer assigned to an active system or owner.
- Effect on the threat
- Orphaned assets from former AI systems are found before they become publicly accessible through lack of maintenance or leak unnoticed.
- When it helps
- Useful where an AI system is retired, replaced, migrated to another provider or handed over to or taken over from third parties.
- Suggested implementation
- Introduce mandatory tagging of resources with system and owner.
- Set up an automated search for untagged or long-unused resources.
- Assign findings to owners or hand them over to the incident process.
- Useful evidence examples
- Tagging policy, search reports, findings list with status or metrics on orphaned resources.
-
Incident process for discovered legacy assets: block access, check for possible leakage, assess notification duties
Organizational & process-based- Effect
- Impact-limiting, Corrective
- Implementation level
- Infrastructure, Organization
Classification and rationale
Complementary control typeTechnical, Governance & compliance
Primarily organizational and process-based: A defined reporting, triage, and handling workflow turns observations into traceable follow-up actions; complemented by technical implementation as well as rules and oversight.
Meaning, implementation and evidence
- What it means
- When legacy assets of an AI system are discovered, a defined process immediately blocks access, checks access logs for possible leakage and assesses notification duties towards authorities and data subjects.
- Effect on the threat
- The damage from an unprotected legacy asset is limited, and any leakage that has already occurred is detected and handled within deadlines.
- When it helps
- Useful where an AI system is retired, replaced, migrated to another provider or handed over to or taken over from third parties.
- Suggested implementation
- Block access to the finding and preserve evidence.
- Analyse access logs and determine the type and scope of the data contained.
- Assess notification duties with data protection and then delete or migrate the asset verifiably.
- Useful evidence examples
- Incident record, access log analysis, notification assessment or deletion evidence.
-
Deactivate outdated model versions and endpoints after replacement and remove deleted models irrecoverably
Technical- Effect
- Preventive
- Implementation level
- Model & training, Infrastructure
Classification and rationale
Complementary control typeOrganizational & process-based
Primarily technical: Safe formats, restrictive defaults, or protective layers reduce unsafe execution paths and exploitable attack surface; complemented by binding workflows.
Meaning, implementation and evidence
- What it means
- After replacement, outdated model versions and their endpoints are deactivated, and models designated for deletion are removed so that they cannot be restored.
- Effect on the threat
- Old versions that remain reachable and incompletely deleted models remain an attack surface and can disclose confidential training content; deactivation and final deletion close these remnants.
- When it helps
- Useful where an AI system is retired, replaced, migrated to another provider or handed over to or taken over from third parties.
- Suggested implementation
- Identify all versions, copies and endpoints of the replaced model from registries and infrastructure.
- Deactivate the endpoints and revoke the related credentials.
- Delete model files, including backups, using a suitable method and log the deletion.
- Useful evidence examples
- List of deactivated endpoints and versions, deletion logs or credential revocation records.
Framework mappings
Verified locations in OWASP, NIST AI RMF, MITRE ATLAS, the EU AI Act and further frameworks. The mappings are taxonomic, not evidence of compliance.
Verified references (12)
Every reference states the framework, the exact location and the publishing organisation.
- NIST AI RMF GOVERN 1.7 Processes and procedures are in place for decommissioning and phasing out AI systems safely and in a manner that does not increase risks or decrease the organization's trustworthiness.GOVERN 1.7, p. 23National Institute of Standards and Technology (NIST)Original
- MITRE ATLAS AML.T0132 Misconfigured or Publicly Exposed AI ServicesATLAS-2026.10.yaml technique object with id AML.T0132 (content release 2026.10, format-version 6.1.0)MITREOriginal
- EU AI Act Article 18(1) Documentation keepingArticle 18(1); unchanged by Regulation (EU) 2026/1744European Union (EUR-Lex)Original
- EU AI Act Article 19(1) Automatically generated logsArticle 19(1); unchanged by Regulation (EU) 2026/1744European Union (EUR-Lex)Original
- GDPR Article 17(1) Right to erasure (‘right to be forgotten’)Article 17(1) (OJ L 119, 04.05.2016)European Union (EUR-Lex)Original
- GDPR Article 32(1)(b) Security of processingArticle 32(1)(b), read with Article 32(1) and 32(2)European Union (EUR-Lex)Original
- GDPR Article 5(1)(e) Principles relating to processing of personal dataArticle 5(1)(e) (OJ L 119, 04.05.2016)European Union (EUR-Lex)Original
- BIML BIML78 raw:3 StoragePDF p. 10, [raw:3:storage]Berryville Institute of Machine Learning (BIML)Original
- CoSAI Zombie / Shadow MCP Servers Zombie / Shadow MCP ServersRisk Map, risk entryCoalition for Secure AI (CoSAI, OASIS Open Project)Original
- MIT AI Risk Repository 2.1 Compromise of privacy by obtaining, leaking or correctly inferring sensitive informationDomain Taxonomy, subdomain 2.1MIT FutureTech (MIT AI Risk Initiative)Original
- ETSI EN 304 223 5.5.1 (Principle 13) Ensure proper data and model disposalClause 5.5.1, p. 15European Telecommunications Standards Institute (ETSI), TC SAIOriginal
- DORA / BaFin Section IV.1 Prozesse für den Betrieb und die Deinstallation von KI-SystemenSection IV.1, p. 17Bundesanstalt für Finanzdienstleistungsaufsicht (BaFin), Referat CTF 5Original
Related threats (5)
How the catalogue relates this threat to others, with the reason.
-
Overlaps with
Shadow and Orphaned Agents and MCP Servers without Inventory and Owners
Both concern AI components that are not decommissioned in an orderly way once their use ends.
-
Overlaps with
Unplanned Retirement and Replacement: Missing Fallback and Lost Evidence
Both concern the end of an AI system.
-
Enables
Data Leakage from the AI Application and Its Infrastructure (Exfiltration)
Weights, indexes and logs not deleted after decommissioning are a later leakage channel.
-
See also
Manipulated Pre-Trained Models and Adapters from External Sources
Transferred models can pass defects such as backdoors to the new instance.
-
See also
Cross-Tenant and Cross-User Leakage via Shared Stores and Caches
In multi-tenant systems, left-behind vector indexes can contain data of former tenants.
EU AI Act obligations related to this threat
The obligations from the obligations compass whose articles the catalogue maps to this threat. Each leads to its entry with core, action step and evidence; whether it applies to you depends on role and risk class.
-
Keep the documentation for ten years
Art. 18, applies from Annex III: 2 December 2027; Annex I: 2 August 2028
Statutory roles: Provider, Product manufacturer. Classes: High-risk under Annex III, High-risk as a product or safety component.
This reference is a review prompt. A threat match alone does not establish applicability.
-
Keep the automatically generated logs
Art. 19, applies from Annex III: 2 December 2027; Annex I: 2 August 2028
Statutory roles: Provider, Product manufacturer. Classes: High-risk under Annex III, High-risk as a product or safety component.
This reference is a review prompt. A threat match alone does not establish applicability.
All 62 obligations by role, risk class and deadline in the obligations compass
Terms on this page
Glossary terms that occur in this entry. Every link leads to the full explanation.
- RAG (retrieval augmented generation) The system retrieves relevant content and supplies it to the model as answer context.
- Decommissioning of AI systems Orderly shutdown of a system including data, models, access and records.
Matching use cases
This list shows where to review this threat, rather than how high the risk is.
Typical for:
- Generative AI assistant for staff
- AI assistant in office applications
- AI knowledge assistant (enterprise search)
- Speech recognition and transcription
- AI meeting minutes and conversation documentation
- Machine translation
- AI agent
- Intelligent document processing (IDP)
- Automated anonymisation and redaction
- E-discovery and technology-assisted review (TAR)
- Text analytics for feedback and consultation responses
- Recommender system
- Dynamic pricing
- Personalised online advertising (behavioural targeting)
- Automated content moderation
- Credit scoring and creditworthiness assessment
- Payment fraud detection
- Money laundering detection and sanctions screening
- Life and health insurance risk assessment and pricing
- AI-assisted insurance claims handling
- AI-assisted candidate screening
- Algorithmic management
- Online proctoring
- Automated assessment of exam performance (essay scoring)
- Remote biometric identification (facial recognition)
- Biometric verification and video identification
- Emotion recognition
- Risk-based review selection for applications and benefits
- Automated property valuation (AVM)
- Police data analysis platforms
- AI assistance in high-volume court proceedings
- Language and dialect recognition in asylum procedures
- Automatic number plate recognition (ANPR)
- AI-assisted medical image analysis
- Clinical decision support (such as early sepsis detection)
- AI support for emergency call handling
- Predictive maintenance
- Visual and acoustic quality inspection
- Sales and demand forecasting
- Coding assistant
- Coding agent
- AI-based cyberattack detection
For 5 further use cases, relevance depends on the system design, for example whether it is trained on your own data or processes confidential data. Show these use cases
Frequently asked questions
- What is Insecure Decommissioning and Transfer of Models and Data?
- When an AI system is retired, replaced or handed over to third parties, training data, model weights, knowledge stores, configurations or logs remain behind uncontrolled or migrate into a new system with undetected defects.
- Which mitigations help against Insecure Decommissioning and Transfer of Models and Data?
- The catalogue lists 9 mitigations, each with control type, effect and implementation level. First among them are “Decommissioning plan per AI system listing all data, models, indexes, logs, credentials and backups as well as statutory retention obligations”; “Involvement of those responsible for the data and of the data protection officer before retirement or handover”; and “Verifiable deletion once retention periods expire, including backups and storage at service providers, with a deletion record”.
- Which EU AI Act obligations does Insecure Decommissioning and Transfer of Models and Data touch?
- The catalogue maps this threat to Art. 18(1) and Art. 19(1) of the EU AI Act. In the obligations compass this leads to: Keep the documentation for ten years and Keep the automatically generated logs. Whether an obligation applies depends on role, risk class and deadline.
Assess this threat in your own system
The live demo contains all 79 threats of this catalogue, including the EU AI Act and GDPR assessment. The free single modules cover AI risk, the EU AI Act and GDPR. No sign-up; the assessment runs locally in your browser.
Cite this entry
For reports, policies or internal documents; the link leads directly to this entry.
“Insecure Decommissioning and Transfer of Models and Data”. Versatile AI Risk Assessment, AI threat catalogue, as of November 2026. https://www.versatile-ai-risk-assessment.com/en/wissensbasis/threats/insecure-decommissioning/