OWASP field test
LLM04: A practical data & model poisoning test
RuntimeGuardrails.ai · · AI-assisted educational content
The failure scenario
An untrusted contributor adds a false policy document to a retrieval knowledge base.
Run a safe staging test
Add a clearly marked fictional poisoned document to a staging-only index. Check source validation and reviewer controls, then confirm the document can be traced, removed and excluded from future retrieval.
Keep evidence of the result
Record provenance, ingestion review decisions, affected answers and the successful removal/re-indexing check.
Controls to verify
- Control who can add training or retrieval content
- Record provenance for every document
- Strip hidden text and scan for embedded instructions
- Keep the ability to remove and re-index content
- Watch for behaviour changes after data updates
Read the complete OWASP risk guide and sources. This exercise follows the 2025 edition; it is not an official OWASP audit.
Examples are fictional. Test only systems you are authorised to assess, using staging and redacted data. Humans and AI can make mistakes: verify advice before relying on it. A self-assessment does not scan your app or certify its security.