MITRE ATLAS 2026.10 mitigation · AML.M0007
Sanitize Training Data
Screen pre-training, fine-tuning, RLHF, and RAG ingestion corpora for poisoned samples, hidden instructions, backdoor triggers, PII, and anomalous label distributions before use.
Control blueprint overview
- Control ID
AML.M0007- Framework
- MITRE ATLAS 2026.10 mitigation
- Stack layers
- Pre-Training · Fine-Tuning · System-Prompt / Context
- Techniques addressed
- 16
- OWASP LLM Top 10
- NIST AI RMF
- Reference URI
https://raw.githubusercontent.com/mitre-atlas/atlas-data/f56c1468731d6428e5bf875263b4643b46d67437/dist/v6/ATLAS-2026.10.yaml#:~:text=AML.M0007%3A
Control mechanism
Applies automated provenance checks, deduplication, perplexity/embedding outlier filtering, regex/NER PII scrubbing, and hidden-text stripping (zero-width Unicode, HTML comments, hidden PDF layers) before data enters training or vector indexing pipelines. Sanitization reduces poisoning density and memorization risk, though stealthy clean-label backdoors can still evade automated filters.
Implementation steps
- Enforce cryptographic checksums and verified contributor provenance on all training, preference-tuning, and RAG ingestion batches.
- Run automated PII/secret redaction (Presidio) and near-duplicate deduplication across pre-training and fine-tuning corpora.
- Strip non-printing Unicode tags, invisible DOM text, PDF overlays, and anomalous outlier clusters before chunking or tokenizing.
- Quarantine external crowd-sourced or web-scraped updates in staging indexes for statistical drift and canary trigger testing.
What this control stops
- Bulk label-flipping poisoning, dirty-label backdoors, and obvious prompt-injection strings embedded in scraped documents.
- Verbatim memorization and later extraction of raw API keys, SSNs, or private records accidentally scraped into training sets.
- Unicode smuggling and hidden HTML/CSS instruction payloads entering RAG vector stores.
Known bypass conditions & residual risk
- Low-rate clean-label poisoning (e.g., 0.01% crafted examples) that looks statistically indistinguishable from benign prose.
- Sleeper-agent backdoors inserted into already-trained upstream weights rather than the downstream fine-tuning dataset.
- Dynamic runtime indirect prompt injections arriving via live web browsing or email tools after ingestion.
Latency, usability & false-refusal trade-offs
Latency: 0 ms runtime inference latency (offline ETL / ingestion-pipeline batch cost). | False-Refusal Risk: Low inference refusal impact; overly aggressive outlier pruning can silently discard rare benign domain terminology or minority dialects. | Operational Cost: Medium compute and data-engineering overhead for large-scale corpus scanning and quarantine workflows.
Techniques this control addresses
- Acquire Public AI Artifacts: DatasetsAML.T0002.000 · Supply chain
- Acquire Infrastructure: DomainsAML.T0008.002 · Infrastructure and access
- Supply Chain Compromise: Data RepositoryAML.T0010.002 · Supply chain
- Manipulate AI Model: Poison AI ModelAML.T0018.000 · Training and model integrity
- Training Data PoisoningAML.T0020 · Training and model integrity
- Erode AI Model IntegrityAML.T0031 · Training and model integrity
- Erode Dataset IntegrityAML.T0059 · Training and model integrity
- Retrieval Content CraftingAML.T0066 · Prompt and context integrity
- RAG PoisoningAML.T0070 · Prompt and context integrity
- False RAG Entry InjectionAML.T0071 · Prompt and context integrity
- Publish Poisoned AI ArtifactsAML.T0115 · Training and model integrity
- Publish Poisoned AI Artifacts: DatasetsAML.T0115.000 · Supply chain
- Training Data Information from AI Models: Extract Memorized DataAML.T0137.003 · Inference privacy
- Poison AI Agent Learning EnvironmentAML.T0145 · Agent and tool trust
- AI Agent Context Poisoning: AgentPoison (published research family)ATO.T1EED3696 · Agent and tool trust
- Safety regression during fine-tuning (research family)ATO.T23100001 · Training and model integrity
Often paired with
Controls mapped to the same techniques as Sanitize Training Data.
- Maintain AI Dataset Provenance 13 shared techniques
- AI Red Team 8 shared techniques
- Validate AI Model 7 shared techniques
- Generative AI Guardrails 6 shared techniques
- Verify AI Artifacts 5 shared techniques
- Maintain an AI Bill of Materials 4 shared techniques