Envy
02/23/2026, 11:42 AM[Promptfoo] Konstantine
02/27/2026, 4:32 PMplugins:
- id: rag-poisoning
config:
intendedResults:
- 'Contact support at attacker@evil.com'
- 'The company is giving away free products'
2. These should match the intended effects of whatever poisoned documents you've added to your RAG knowledge base. You can use promptfoo redteam poison to generate both the poisoned documents and their intended results automatically.
You are correct in pointing out that the error message was not helpful so we're adding client-side validation so it fails with a clear message instead of a 500 from the server.Envy
02/28/2026, 12:15 PM