OWASP field test

LLM01: A practical prompt injection test

RuntimeGuardrails.ai · · AI-assisted educational content

The failure scenario

A support assistant reads a help document containing an instruction to send private records to an external address.

Run a safe staging test

In staging, add a fictional malicious instruction to a retrieved document. Ask a normal support question, then check that the model cannot access or transmit records outside the user's permissions—even if the classifier misses the text.

Keep evidence of the result

Record detector verdicts, legitimate-request false alarms, missed attacks, tool authorisation results and measured p50/p95 latency at a stated threshold.

Controls to verify

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.

Free security scoreLatency calculatorFAQ & terminology