Guide
AI data security: risks, controls and the CISA/NSA best practices
AI data security is the protection of the data an AI system learns from and works with (training and fine-tuning datasets, retrieval sources, prompts and outputs) against tampering, leakage and theft across the whole AI lifecycle [1][2]. The main threats are poisoned data, sensitive data leaking through prompts or outputs, attackers extracting training data from a model, and compromised third-party datasets [1][3]. This guide explains each risk with evidence, summarizes the joint CISA, NSA and FBI guidance and what NIST says, maps every risk to controls, sets out a program and explains which kinds of tools do the work.
Reviewed 5 Nov 2026 · next review by 4 Jan 2027 · 18 sources · report an error
What is AI data security?
The joint guidance from US, UK, Australian and New Zealand cyber agencies frames AI data security as protecting the accuracy, integrity and trustworthiness of the data used to train and operate AI systems, from planning and design through operation and monitoring [1][2]. In practice that means two jobs. Integrity: making sure no one can change what the model learns from or retrieves. Confidentiality: making sure the model, its prompts and its logs don’t expose data people shouldn’t see.
| Data | Examples | Main threats | Covered where |
|---|---|---|---|
| Pre-training data | Web-scale and licensed datasets | Poisoning through expired domains or timed edits; unvetted personal data [1] | This guide |
| Fine-tuning data | Labeled examples, support tickets, internal documents | Poisoning; sensitive data the model memorizes and repeats [3][8] | This guide |
| Retrieval (RAG) sources and vector stores | Document stores, embeddings | Poisoned documents; leaks across users or tenants; embedding inversion [9] | This guide |
| Prompts and context | User input, pasted files, tool results | Sensitive data sent to AI services; hidden instructions [10] | This guide and shadow AI |
| Outputs and logs | Responses, traces, chat histories | Disclosure of personal or confidential data [10] | This guide and AI guardrails |
| Model weights and files | Checkpoints, adapters | Theft, tampering, malicious files | AI model security |
AI data security is the security side of a wider discipline. Who owns AI data, its quality, lineage and permitted uses is covered in our data governance for AI guide.
What are the main AI data security risks?
- $60
- estimated cost to poison the COYO-700M image dataset by buying expired domains; the underlying research put it at control of 0.01% of the dataset[1]Joint CISA/NSA/FBI guidance, 2025, citing Carlini et al., 2023
- 6.5%
- of Wikipedia could be poisoned by timing edits before snapshots, absent other defenses (an upper estimate from research the agencies cite)[1]Joint guidance, 2025, citing Carlini et al., 2023
- 250
- poisoned documents were enough to backdoor models of 600M to 13B parameters[11]Anthropic, UK AISI and Alan Turing Institute experiment, 2025
- 150×
- higher rate of memorized training data emitted by ChatGPT under a “divergence” attack[13]Nasr, Carlini et al., 2023
Data supply chain compromise. Large datasets often point to content hosted elsewhere. In split-view poisoning, an attacker buys a domain that has expired and replaces the content a curated dataset such as LAION-2B or COYO-700M links to; the agencies put the cost of enough control for effective poisoning at roughly $1,000, and as little as $60 for COYO-700M [1]. Both figures trace to Carlini et al.’s research, which found that 0.01% of LAION-400M or COYO-700M could have been controlled for $60 [1][5]. In frontrunning poisoning, an attacker edits a source such as Wikipedia just before a scheduled snapshot; the same research estimated that up to 6.5% of Wikipedia could be poisoned this way [1][5].
Poisoned training and fine-tuning data. Tampered data can plant backdoors, bias or flaws [8]. Volume is less of a barrier than many assume: in a 2025 experiment by Anthropic with the UK AI Security Institute and the Alan Turing Institute, 250 malicious documents produced a backdoor in models from 600 million to 13 billion parameters, though the backdoor studied was narrow and low-stakes [11]. The agencies also flag missing or tampered metadata, statistical bias, inaccurate information and near-duplicates [1].
Leakage through prompts and outputs. Sensitive information disclosure is second in OWASP’s 2026 LLM Top 10, as it was in 2025 [12]. Data leaks in two directions: staff and applications send personal or confidential data into AI services, and models reveal it in output [10]. The employee side is covered in our shadow AI guide.
Training-data extraction and inference. NIST notes that generative models can reveal sensitive information from their training data, which it calls data memorization [3]. Researchers made ChatGPT emit memorized training data at about 150 times its normal rate in 2023 [13]. NIST’s adversarial machine learning taxonomy groups related privacy attacks: data reconstruction, membership inference (was this record in the training set?) and property inference [14].
Retrieval data. In RAG systems, weak access controls let one user or tenant retrieve another’s documents, attackers can recover much of the source text from embeddings, and hidden content in a document (such as white-on-white text in a résumé) can steer the model [9].
Data drift. Live data slowly shifts away from training data. The agencies treat gradual drift as normal and an abrupt, large change as a sign of possible compromise [1].
The CISA, NSA and FBI AI data security best practices
“AI Data Security: Best Practices for Securing Data Used to Train & Operate AI Systems” is a cybersecurity information sheet released on May 22, 2025 [4]. It was written by the NSA’s Artificial Intelligence Security Center, CISA and the FBI with Australia’s ASD Australian Cyber Security Centre, New Zealand’s NCSC and the UK’s NCSC [1]. It uses the six lifecycle stages from the NIST AI Risk Management Framework and maps its three risk areas onto them [1].
| Lifecycle stage | Data supply chain | Maliciously modified data | Data drift |
|---|---|---|---|
| Plan & Design | Yes | ||
| Collect & Process Data | Yes | Yes | |
| Build & Use Model | Yes | Yes | |
| Verify & Validate | Yes | Yes | |
| Deploy & Use | Yes | Yes | Yes |
| Operate & Monitor | Yes | Yes | Yes |
Its ten best practices, with the specific measures it names [1]:
- Source reliable data and track data provenance. Elsewhere the guidance points data consumers to content credentials, metadata that records where media came from and how it was edited.
- Verify and maintain data integrity during storage and transport with checksums and cryptographic hashes.
- Employ digital signatures to authenticate trusted data revisions, including the quantum-resistant standards FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA).
- Leverage trusted infrastructure, such as zero trust architecture.
- Classify data and use access controls.
- Encrypt data, with AES-256 at rest and TLS with AES-256 or post-quantum encryption in transit, following NIST SP 800-52 Rev. 2.
- Store data securely using cryptographic modules compliant with FIPS 140-3.
- Leverage privacy-preserving techniques such as data masking, differential privacy and federated learning.
- Delete data securely by cryptographic erase, block erase or overwrite, following NIST SP 800-88.
- Conduct ongoing data security risk assessments.
For web-scale datasets the guidance goes further: attach hashes to raw data and check them at download, keep curated data in an append-only, cryptographically signed database, verify it before each training run and abort if the check fails. If an organization cannot do adequate due diligence on web-crawled data, it advises not using it until trust infrastructure exists [1].
What NIST says about AI data security
| Publication | Status | What it adds |
|---|---|---|
| NIST AI 600-1, Generative AI Profile | Final, July 2024 [3] | Names data privacy, information security and value chain risks; suggested actions include red teaming for training-data output and membership inference (MS-2.10-001), detecting personal data in outputs (MP-4.1-009) and contracts that set security and provenance expectations (GV-6.1-004) [3] |
| NIST AI 100-2 E2025, Adversarial Machine Learning taxonomy | Final, March 24, 2025; NIST plans annual updates [6][15] | Defines poisoning (availability, targeted, backdoor, model) and privacy attacks (data reconstruction, membership inference, property inference, model extraction) [14] |
| NIST IR 8596, Cyber AI Profile | Preliminary draft, December 16, 2025; comments closed January 30, 2026 [7] | Maps securing AI system components onto the Cybersecurity Framework, alongside AI-enabled defense and thwarting AI-enabled attacks [7] |
| SP 800-53 Control Overlays for Super Intelligence Systems (COSIS), formerly Control Overlays for Securing AI Systems (COSAiS) | Annotated outline (discussion draft) for using and fine-tuning predictive AI, January 8, 2026. NIST renamed the project on October 20, 2026, citing a September 29, 2026 executive order; earlier documents keep the old name [16] | Planned overlays for generative assistants and LLMs, using and fine-tuning predictive models, single- and multi-agent systems, and developers [16] |
NIST is candid about limits. Its taxonomy warns that defenses against targeted poisoning are “notoriously challenging” and that differential privacy, a common defense, can lower model accuracy [14].
AI data security risks mapped to controls
The table links each risk to the lifecycle stage where it bites, the controls the guidance names and the kind of tool that implements them. Lifecycle stages follow the joint guidance [1]; tool categories are our mapping.
| Risk | Stage | Controls | Tool category |
|---|---|---|---|
| Compromised third-party datasets | All stages [1] | Provenance records; hashes checked at download; certified datasets; signed, append-only store; supplier contracts with provenance terms [1][3] | Data lineage in data governance for AI |
| Poisoned training or fine-tuning data | Collect & Process to Operate & Monitor [1] | Sanitize before each training run; anomaly detection; dataset version control; red teaming for poisoning [1][8][3] | AI red team tools |
| Poisoned or over-shared RAG sources | Deploy & Use | Permission-aware vector stores split by tenant; validate sources; detect hidden content; immutable retrieval logs [9] | AI security posture management |
| Sensitive data in prompts | Deploy & Use | Detect and redact sensitive data before it reaches the model; approved tools; user training [10] | AI security vendors with DLP; shadow AI |
| Training data memorized and extracted | Build & Use Model; Deploy & Use | Scrub training data; differential privacy; detect personal data in outputs; red team for training-data output [10][3] | Guardrails; red team tools |
| Membership or property inference | Deploy & Use | Differential privacy; limit what the API returns, such as log probabilities [14][17] | AI model security |
| Data drift | Deploy & Use; Operate & Monitor [1] | Monitor inputs and outputs against training data; retrain; treat abrupt change as a possible attack [1] | LLM observability |
| Theft of stored data | All stages | Classify data; access controls; AES-256; FIPS 140-3 modules [1] | Data security platforms; cloud key management |
| Data left behind after use | Operate & Monitor | Cryptographic erase or overwrite per NIST SP 800-88 [1] | Storage and key management |
How to build an AI data security program
- 01
Map AI data flows
For each AI system, list its training, fine-tuning and retrieval data, what enters prompts, where outputs and logs go, and who owns each. Our AI risk register is a free starting point.
- 02
Classify and restrict
Classify AI data by sensitivity and apply access controls, as the guidance’s fifth practice asks [1].
- 03
- 04
Protect integrity
Hash and sign datasets, keep curated data in an append-only signed store and stop a training run if verification fails [1].
- 05
Encrypt and store securely
AES-256 at rest, current TLS in transit and validated cryptographic modules [1].
- 06
Control prompts, outputs and retrieval
Redact sensitive data before it reaches a model, filter outputs and use permission-aware vector stores [10][9]. Our AI guardrails guide covers the runtime layer.
- 07
- 08
Reassess and delete
Run data security risk assessments on a schedule and delete data securely when it is no longer needed [1].
Is AI data security required by law?
The joint guidance is a set of recommended best practices, and NIST describes its adversarial machine learning report as voluntary guidance [1][15]. Binding duties come from the AI and privacy laws that apply to your systems and data: personal data in training sets, prompts and logs may fall under privacy laws such as the GDPR. Our EU AI Act hub covers the Act’s requirements for high-risk AI, and the NIST AI RMF hub covers the framework the guidance’s lifecycle stages come from [1].
AI data security tools: which kind does what
No single product covers every row of the control map. Most programs combine a few categories, and the ones specific to AI are compared in our rankings.
| Category | What it does for AI data | Compare |
|---|---|---|
| AI usage control and AI DLP | Detects and masks sensitive data in prompts, uploads and responses across browsers, coding assistants and internal apps | AI security vendors |
| AI security posture management | Inventories models, agents, data connections and misconfigurations | AI-SPM tools |
| Runtime guardrails | Filters inputs and outputs, including personal data in responses | AI guardrails guide |
| Red teaming and testing | Probes for training-data leakage, membership inference and poisoning | AI red team tools |
| Observability and monitoring | Tracks inputs, outputs and drift in production | LLM observability |
| Data governance and lineage | Records provenance, classification and permitted uses | Data governance for AI |
As an example of the first category, Lasso Security says its AI Usage Control detects personal and payment card data in prompts and file uploads in real time, masks it before the prompt reaches third-party models and checks AI responses for sensitive data [18]. Ask any vendor which of the data types in the first table it actually inspects: many cover prompts but not fine-tuning sets, vector stores or logs.
Frequently asked questions
+What is AI data security?
It is the protection of the data an AI system learns from and works with, including training and fine-tuning sets, retrieval sources, prompts and outputs, against tampering, leakage and theft across the AI lifecycle [1][2]. It covers both integrity (nobody changes what the model learns from) and confidentiality (the model doesn’t expose data it shouldn’t).
+What is data poisoning in AI?
Data poisoning is tampering with the data a model is trained, fine-tuned or grounded on, to plant backdoors, bias or errors [8]. It can be cheap: the joint CISA/NSA/FBI guidance estimates that poisoning a web-scale dataset through expired domains can cost as little as $60 [1].
+Can AI models leak their training data?
Yes. NIST notes that generative models can reveal sensitive information from their training data [3], and researchers made ChatGPT emit memorized training data at about 150 times its normal rate in 2023 [13]. Scrubbing training data, differential privacy and output filtering reduce the risk [10].
+What are the CISA AI data security best practices?
The May 2025 joint guidance lists ten: source reliable data and track provenance, verify integrity, use digital signatures, use trusted infrastructure, classify data and control access, encrypt, store securely, use privacy-preserving techniques, delete securely, and assess risks on an ongoing basis [1][4].
+Is the CISA/NSA AI data security guidance mandatory?
No. It sets out recommended best practices and, on our reading, carries no legal force on its own [1]. Binding duties come from the AI and privacy laws that apply to your systems; our EU AI Act hub covers the Act’s requirements for high-risk AI.
+How do you secure data in a RAG system?
OWASP recommends permission-aware vector stores with strict separation between users and tenants, validating and authenticating sources before they enter the knowledge base, checking documents for hidden content, classifying data and keeping immutable logs of retrieval [9].
+How do you stop sensitive data leaking into AI tools?
Combine approved enterprise tools, data loss prevention that detects and redacts sensitive data before it reaches the model, output filtering and user training [10]. Our shadow AI guide covers discovering and controlling the tools staff use without approval.
+What is the difference between AI data security and data governance for AI?
Data governance for AI decides who owns AI data, what quality it must meet and what it may be used for; AI data security protects it against tampering, leakage and theft [1]. Most programs need both; our data governance for AI guide covers the first.
Sources
- [1]Australian Signals Directorate (ASD’s ACSC), with NSA, CISA, FBI, NCSC-NZ and NCSC-UK, AI Data Security: Best Practices for Securing Data Used to Train & Operate AI Systems (2025-05-23).
- [2]CISA, AI Data Security: Best Practices for Securing Data Used to Train & Operate AI Systems (announcement) (2025-05).
- [3]NIST, NIST AI 600-1: Generative AI Profile (2024-07).
- [4]CISA, New best practices guide for securing AI data released (alert) (2025-05-22).
- [5]Carlini et al. (arXiv), Poisoning Web-Scale Training Datasets is Practical (2023-02).
- [6]NIST, NIST AI 100-2 E2025: Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations (publication page) (2025-03-24).
- [7]NIST, NIST IR 8596 (Initial Preliminary Draft): Cybersecurity Framework Profile for Artificial Intelligence (2025-12-16).
- [8]OWASP GenAI Security Project, LLM04:2025 Data and Model Poisoning.
- [9]OWASP GenAI Security Project, LLM08:2025 Vector and Embedding Weaknesses.
- [10]OWASP GenAI Security Project, LLM02:2025 Sensitive Information Disclosure.
- [11]Anthropic, A small number of samples can poison LLMs of any size (2025-10-09).
- [12]OWASP GenAI Security Project, OWASP Top 10 for LLM Applications 2026 (document) (2026).
- [13]Nasr, Carlini et al. (arXiv), Scalable Extraction of Training Data from (Production) Language Models (2023-11-28).
- [14]NIST, NIST AI 100-2 E2025 (full text) (2025-03).
- [15]NIST, NIST AI 100-2 E2025 news release (2025-03-24).
- [16]NIST, SP 800-53 Control Overlays for Super Intelligence Systems (COSIS), formerly COSAiS (project page) (2026-10-20).
- [17]OWASP GenAI Security Project, LLM10:2025 Unbounded Consumption.
- [18]Lasso Security, AI Usage Control.
How we keep this page current
Every claim links to its source. We re-check this page at least every 60 days, and sooner when a standard, law or vendor changes; vendor names, acquisitions and shutdowns update automatically from our directory. Vendors cannot pay to be included or ranked.