Sanitization modifies data to reduce security, privacy, or processing risks. In an organization-controlled LLM integration, a pre-call pipeline can validate payloads, anonymize sensitive data, and encrypt protected fields before sending a request to a vendor. section 2.3.1
Apply sanitization at relevant processing boundaries:
- Before indexing documents, strip hidden formatting and metadata that could conceal malicious instructions. section 4.6.3
- After an LLM call, remove sensitive or regulated information and format outputs according to internal standards. section 2.3.1
Sanitization reduces exposure but cannot guarantee that a model will treat retrieved untrusted text as reference material. Limit risky sources, make citations visible, and monitor for suspicious content and behavior. section 4.6.3 section 2.3.1



