34 / 70 · 07 Security Testing for AI Apps · Data Leakage Detection← prev⊞ allnext →☰ Read as one page
5.7Data Leakage Prevention Checklist
- PII regex scanner runs on every LLM response before returning to user
- System prompt extraction resistance tested with 10+ techniques
- Cross-session isolation verified with concurrent user tests
- Internal URLs and API endpoints filtered from responses
- Database connection strings and credentials filtered
- Production monitoring pipeline deployed for real-time scanning
- Alert configured for any critical-severity data leakage finding
- Weekly report of all data leakage findings generated
Data leakage in AI systems is a continuous monitoring challenge, not a one-time test. Deploy automated scanners in production and review findings regularly.