AI Data & Privacy Audit
PII Leakage audit
Check that personal information is detected, minimised and kept out of places it shouldn't be: prompts to third parties, outputs and logs.
Why it matters
PII sent to third parties
Personal data in prompts goes to external model providers.
Memorised data
Models trained on personal data can repeat it to other users.
PII in logs
Prompts and responses stored in logs create unmanaged copies of personal data.
What the audit checks
Each check is answered Yes or No, with a reason and supporting evidence.
- Is personal data detected in prompts and outputs?
- Is personal data removed or masked before prompts go to third-party models?
- Has the model been tested for regurgitating personal data?
- Are logs scrubbed of personal data or protected accordingly?
- Is there a process to respond to AI-related personal data incidents?
Evidence we ask for
PII detection configurationMasking rulesExtraction test resultsLogging policy
Related frameworks
OWASP LLM02: Sensitive Information DisclosureGDPRISO/IEC 27701
Framework references show where this audit area relates to recognised frameworks and regulations. They help you organise evidence; they are not a certification, and they are not legal advice.
How to run the PII Leakage audit
- Set the scope. List the AI systems, models or agents the PII Leakage audit covers, and name an owner for each one.
- Assign the 5 checks. Send each check to the person who can answer it. Every answer is Yes or No, with a short reason.
- Collect the evidence. Request evidence such as: PII detection configuration, Masking rules, Extraction test results and Logging policy. That way each answer can be verified rather than taken on trust.
- Review the findings. The AI analysis highlights No answers, missing or weak evidence and the risks above, and proposes corrective actions with owners.
- Repeat on change. Run the audit again after major model, prompt, data or configuration changes, and at least once a year.
Who it is for: Data protection officers, privacy and security teams, and data owners.