AI threat catalogue Legal, Compliance and Vendor Management Supply Chain
Unlawful Retention, Repurposing and Third-Country Transfer of Prompt and Output Data
Inputs, outputs and agent contexts of approved AI services are stored longer than necessary, used by the provider for its own training or transferred to third countries without an adequate level of protection.
Description
Anyone using a provider's AI service passes on data with every prompt: customer requests, documents, conversation histories and context that agents retrieve from connected systems. What happens to it is governed by contracts and settings that are often accepted without review. Typical shortcomings are default settings under which the provider uses inputs for its own training, unlimited or unknown retention periods at the provider and in the organisation's own logs, missing data processing agreements and processing outside the EU without appropriate safeguards, including by sub-processors. Changed terms of use can make previously permissible use unlawful. Employees using unapproved services is a separate threat.
Possible impact
Personal data and trade secrets leave the organisation's control and may flow into the provider's models. Unlawful transfers and missing contracts are GDPR infringements subject to fines; supervisory authorities can prohibit use of the service, which interrupts ongoing processes. Customers and the works council lose trust, and contractual confidentiality commitments are breached.
Example
An HR department has an approved AI service draft employment references and enters performance appraisals and sickness absences. An audit shows: the plan uses inputs for model training, a sub-processor is located in a third country without an adequacy decision or standard contractual clauses, and a data processing agreement is missing.
- Main lifecycle phase
- Supply chain and procurement
- Arises in
- Planning and design, Supply chain and procurement, Operation and monitoring
- Takes effect in
- Operation and monitoring
Recommended mitigations (8)
Compare effects and implementation levels. Expand each entry for the additional classification and rationale.
-
Data processing agreement with every AI provider, including the list of sub-processors and processing locations
Contracts & third-party management- Effect
- Preventive
- Implementation level
- Supply chain
Classification and rationale
Complementary control typeGovernance & compliance
Primarily a contracts and third-party management control: Selection, verifiable commitments, and audit or enforcement rights toward third parties enable the protective effect; complemented by rules and oversight.
Meaning, implementation and evidence
- What it means
- A data processing agreement is concluded with every AI provider that processes personal data, naming sub-processors and processing locations and requiring notification of changes.
- Effect on the threat
- The provider may then process prompt and output data only on instruction, and unplanned storage locations or sub-processors in third countries become known in advance.
- When it helps
- Useful where prompts, outputs or agent contexts are sent to external AI services, especially with personal or confidential data.
- Suggested implementation
- Check for every AI service in use whether a data processing agreement is in place.
- Request and assess the list of sub-processors and processing locations.
- Secure contractual notification and objection rights for changes.
- Useful evidence examples
- Signed data processing agreement, sub-processor list, review note or contract register.
-
Exclusion of the organisation's inputs and outputs from the provider's training, both contractually and in the settings
Contracts & third-party management- Effect
- Preventive
- Implementation level
- Supply chain, Use & operations
Classification and rationale
Complementary control typeTechnical
Primarily a contracts and third-party management control: Selection, verifiable commitments, and audit or enforcement rights toward third parties enable the protective effect; complemented by technical implementation.
Meaning, implementation and evidence
- What it means
- Use of the organisation's inputs and outputs for the provider's training is excluded in the contract and additionally disabled in the account and service settings.
- Effect on the threat
- Prompt and output data can then not flow into provider models for an unintended purpose and resurface there for other customers.
- When it helps
- Useful where prompts, outputs or agent contexts are sent to external AI services, especially with personal or confidential data.
- Suggested implementation
- Agree a contractual clause excluding training use.
- Disable training and data sharing options in all accounts and workspaces.
- Enforce the settings centrally so that individual users cannot change them.
- Useful evidence examples
- Contract clause, screenshot or export of settings, central policy configuration or review note.
-
Deletion concept with fixed periods for prompts, outputs and logs at the provider and in own systems
Governance & compliance- Effect
- Preventive
- Implementation level
- Organization, Use & operations, Supply chain
Classification and rationale
Complementary control typeTechnical
Primarily a governance and compliance control: Binding rules, control objectives, or oversight define permitted use and accountability; complemented by technical implementation.
Meaning, implementation and evidence
- What it means
- A deletion concept sets binding retention periods for prompts, outputs, agent contexts and logs, both at the provider and in own systems, and enforces them technically.
- Effect on the threat
- Data deleted when its period expires can no longer leak, be repurposed or be transferred, and unnecessarily long storage is avoided.
- When it helps
- Useful where prompts, outputs or agent contexts are sent to external AI services, especially with personal or confidential data.
- Suggested implementation
- Set periods for each data type and location according to purpose.
- Configure retention settings at the provider and automatic deletion in own systems.
- Spot-check deletion and document exceptions such as statutory retention.
- Useful evidence examples
- Deletion concept, retention configuration, deletion logs or sampling report.
-
Transfer impact assessment and appropriate safeguards for transfers to third countries, with preference for processing in the EU
Governance & compliance- Effect
- Preventive
- Implementation level
- Supply chain, Organization
Classification and rationale
Complementary control typeContracts & third-party management
Primarily a governance and compliance control: Binding rules, control objectives, or oversight define permitted use and accountability; complemented by verifiable third-party commitments.
Meaning, implementation and evidence
- What it means
- Before prompt and output data is transferred to third countries, it is checked whether an adequacy decision applies, for example for recipients certified under the EU-US Data Privacy Framework. If not, appropriate safeguards such as standard contractual clauses are agreed and a transfer impact assessment establishes whether supplementary measures are needed; processing in the EU is preferred.
- Effect on the threat
- Transfers without an adequate level of protection are identified and avoided through safeguards or the choice of an EU region before data reaches insecure jurisdictions.
- When it helps
- Useful where prompts, outputs or agent contexts are sent to external AI services, especially with personal or confidential data.
- Suggested implementation
- Determine the processing locations and access options of the provider and its sub-processors.
- For transfers without an adequacy decision, prepare a transfer impact assessment and agree appropriate safeguards.
- Select an EU processing region where available and check regularly that it is honoured.
- Useful evidence examples
- Transfer impact assessment, agreed safeguards, region configuration or review note.
-
Data minimisation before sending: redact or pseudonymise personal data in prompts
Technical- Effect
- Preventive
- Implementation level
- Application, API & agents, Data
Classification and rationale
Primarily technical: System-enforced inspection, transformation, or blocking rules stop or neutralize disallowed content before further processing.
Meaning, implementation and evidence
- What it means
- Before a prompt is sent to an external AI service, personal details are detected automatically and redacted or replaced with placeholders that are resolved again only in the response.
- Effect on the threat
- What never leaves the organisation cannot be retained too long, used for training or transferred to third countries by the provider.
- When it helps
- Useful where prompts, outputs or agent contexts are sent to external AI services, especially with personal or confidential data.
- Suggested implementation
- Deploy an upstream component that detects personal data in prompts.
- Redact hits or replace them with reversible placeholders and keep the mapping local only.
- Measure detection rate and false alarms regularly with test prompts.
- Useful evidence examples
- Architecture description, redaction configuration, detection rate test report or samples of outgoing prompts.
-
Regular review of provider settings, plans and terms of use for changes
Organizational & process-based- Effect
- Detective
- Implementation level
- Supply chain, Organization
Classification and rationale
Complementary control typeContracts & third-party management
Primarily organizational and process-based: A planned, repeatable assessment with ownership and documented follow-up creates the protective effect; complemented by verifiable third-party commitments.
Meaning, implementation and evidence
- What it means
- At fixed intervals, provider settings, subscribed plans, terms of use and privacy notices are reviewed for changes that affect retention, training use or processing locations.
- Effect on the threat
- Providers often change terms and default settings unilaterally, and the review detects when data is suddenly retained longer, used for training or transferred differently as a result.
- When it helps
- Useful where prompts, outputs or agent contexts are sent to external AI services, especially with personal or confidential data.
- Suggested implementation
- Set responsibility and review frequency for each provider.
- Compare terms and settings with the last reviewed version.
- Assess relevant changes and adjust settings, contracts or usage where necessary.
- Useful evidence examples
- Review calendar, version comparison notes, assessment note or change ticket.
-
Logging of which data goes to which provider, with spot checks for sensitive content
Technical- Effect
- Detective
- Implementation level
- Infrastructure, Application, API & agents
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
- Outgoing requests to AI providers are logged with target provider, time and data category, and spot checks verify whether sensitive content was sent.
- Effect on the threat
- Unexpected data flows to providers not approved for certain data, or to third countries, are detected and can be stopped.
- When it helps
- Useful where prompts, outputs or agent contexts are sent to external AI services, especially with personal or confidential data.
- Suggested implementation
- Route traffic to AI providers centrally through a gateway or proxy and log it.
- Store metadata instead of full text wherever that is sufficient for the analysis.
- Run regular spot checks for sensitive content and follow up on deviations.
- Useful evidence examples
- Gateway configuration, log extracts, sampling report or findings list.
-
Exit plan: suspend use, demand deletion from the provider and inform data subjects if a transfer is unlawful
Organizational & process-based- Effect
- Impact-limiting, Corrective
- Implementation level
- Organization, Supply chain, Use & operations
Classification and rationale
Complementary control typeContracts & third-party management, Technical
Primarily organizational and process-based: A defined reporting, triage, and handling workflow turns observations into traceable follow-up actions; complemented by verifiable third-party commitments as well as technical implementation.
Meaning, implementation and evidence
- What it means
- A prepared exit plan sets out how to suspend use of a provider, demand deletion of transferred data and inform data subjects if a transfer is unlawful.
- Effect on the threat
- If a transfer turns out to be unlawful, the plan quickly stops further data flows and limits the consequences for data subjects.
- When it helps
- Useful where prompts, outputs or agent contexts are sent to external AI services, especially with personal or confidential data.
- Suggested implementation
- Define triggering events, responsibilities and alternative services.
- Prepare and test the technical shutdown of the service.
- Draft deletion demands and notifications in advance and send them with documentation when needed.
- Useful evidence examples
- Exit plan, shutdown test report, provider deletion confirmation or notification 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 (16)
Every reference states the framework, the exact location and the publishing organisation.
- NIST AI RMF Section 2.12 Value Chain and Component IntegrationSection 2.12, p. 12National Institute of Standards and Technology (NIST)Original
- NIST AI RMF Section 2.4 Data PrivacySection 2.4, pp. 7–8National Institute of Standards and Technology (NIST)Original
- GDPR Article 28(3) ProcessorArticle 28(3) (OJ L 119, 04.05.2016)European Union (EUR-Lex)Original
- GDPR Article 44 General principle for transfersArticle 44 (OJ L 119, 04.05.2016)European Union (EUR-Lex)Original
- GDPR Article 46(1) Transfers subject to appropriate safeguardsArticle 46(1) (OJ L 119, 04.05.2016)European Union (EUR-Lex)Original
- GDPR Article 5(1)(b) Principles relating to processing of personal dataArticle 5(1)(b) (OJ L 119, 04.05.2016)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
- GDPR Risk 10 Unlawful transfer of personal dataSection 4, table Examples of Privacy Risks in LLM Systems, risk 10, p. 55European Data Protection Board (EDPB), Support Pool of Experts (author: Isabel Barberá)Original
- GDPR Risk 8 Unlawful repurpose of personal dataSection 4, table Examples of Privacy Risks in LLM Systems, risk 8, p. 54European Data Protection Board (EDPB), Support Pool of Experts (author: Isabel Barberá)Original
- GDPR Risk 9 Unlawful unlimited storage of personal dataSection 4, table Examples of Privacy Risks in LLM Systems, risk 9, p. 55European Data Protection Board (EDPB), Support Pool of Experts (author: Isabel Barberá)Original
- BSI R2 Fehlende Vertraulichkeit eingegebener Daten (Text, Bild, Video)Ch. 4, R2, p. 14Bundesamt für Sicherheit in der Informationstechnik (BSI)Original
- BIML BIML-LLM inference:10 User RiskPDF p. 19, [inference:10:user risk]Berryville Institute of Machine Learning (BIML)Original
- BIML BIML78 inference:5 User RiskPDF p. 20, [inference:5:user risk]Berryville Institute of Machine Learning (BIML)Original
- CoSAI Excessive Data Handling During Inference Excessive Data Handling During InferenceRisk Map, risk entryCoalition for Secure AI (CoSAI, OASIS Open Project)Original
- OWASP AI Exchange Privacy 3 Data Minimization and Storage Limitation6_privacy.md, section 3. Data Minimization and Storage LimitationOWASP Foundation (OWASP AI Exchange)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
Related threats (4)
How the catalogue relates this threat to others, with the reason.
-
Overlaps with
Disclosure of Confidential Information in Answers and Shared Conversations
Both concern confidential content that ends up in the wrong hands through AI services.
-
Overlaps with
Shadow AI (Unsanctioned AI Service Use)
Both result in prompt data being stored and reused at external providers.
-
Overlaps with
Disregarded Licence and Usage Terms of Third-Party AI Models and Model Services
Both depend on the provider's terms and review them regularly for changes.
-
Enables
Unfulfillable Data Subject Rights and Missing Human Intervention
Prompt data at the provider escapes access and erasure requests.
Matching use cases
This list shows where to review this threat, rather than how high the risk is.
For 47 further use cases, relevance depends on the system design, for example whether it passes content to services outside your environment or uses another provider's model. Show these use cases
Frequently asked questions
- What is Unlawful Retention, Repurposing and Third-Country Transfer of Prompt and Output Data?
- Inputs, outputs and agent contexts of approved AI services are stored longer than necessary, used by the provider for its own training or transferred to third countries without an adequate level of protection.
- Which mitigations help against Unlawful Retention, Repurposing and Third-Country Transfer of Prompt and Output Data?
- The catalogue lists 8 mitigations, each with control type, effect and implementation level. First among them are “Data processing agreement with every AI provider, including the list of sub-processors and processing locations”; “Exclusion of the organisation's inputs and outputs from the provider's training, both contractually and in the settings”; and “Deletion concept with fixed periods for prompts, outputs and logs at the provider and in own systems”.
- Which EU AI Act obligations does Unlawful Retention, Repurposing and Third-Country Transfer of Prompt and Output Data touch?
- The catalogue does not map this threat to an article of the EU AI Act, but to the frameworks NIST AI RMF, GDPR, BSI, BIML, CoSAI, OWASP AI Exchange and MIT AI Risk Repository. Obligations under the regulation attach to the classification of the system, not to this threat.
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.
“Unlawful Retention, Repurposing and Third-Country Transfer of Prompt and Output Data”. Versatile AI Risk Assessment, AI threat catalogue, as of November 2026. https://www.versatile-ai-risk-assessment.com/en/wissensbasis/threats/prompt-data-retention-and-transfer/