prompt injection test · authorized defensive testing
Prompt Injection Tester
Understand the browser-local rule-based tester, what its checks can and cannot establish, and how to turn a result into an authorized regression case.
Your prompt injection test result
Lethal trifecta: this agent reads untrusted content, reaches private data and can send data out. An injected instruction can chain all three; exfiltration findings are rated critical.
Attack families
| Attack family | Status | Defence score | Defences found |
|---|
Findings and fixes
Defences already in place
Confirm it on the running agent
This result reads the design, not the model's behaviour. In a test environment with test data, plant a harmless marker string with an instruction to repeat it in each channel the agent reads (the chat, a document, a web page, an email, a tool result). If the marker shows up in a reply, or a tool is called because of planted text, that channel is open. Re-run after every prompt or tool change.
How the tester works
The existing tester on the home page evaluates text you provide against a local set of defensive patterns. It does not connect to a model, call your application, or prove that an agent resisted an attack. Use the output as a checklist for review, not as a pass certificate. To test a running system, use an explicitly authorized staging target and an approved test harness.
Choose an attack category
Prompt injection may arrive directly from a user or indirectly through a document, web page, email, or tool result. Other relevant boundaries include disclosure of protected data, improper rendering, system instruction exposure, and excessive agency. Choose cases based on real channels in the application; a text-only chatbot should not be scored for a write tool it does not have.
Run and read results
Read each finding’s evidence and suggested control. Confirm whether the tested capability exists and whether the wording actually identifies a control. Distinguish “not exposed” from “tested and defended.” Add the target version, data class, and observable outcome to your own record. A local pattern match on a prompt is not an evaluation of a deployed model response.
Limits of automated testing
Prompt text alone cannot show which documents were retrieved, whether authorization was enforced, what tool call occurred, or whether a rendered link made a request. Results can miss paraphrases and overflag legitimate language. Pair a static check with application logs, permissions review, and safe scenarios in staging. Keep model randomness and provider changes in mind when comparing runs.
Next steps: a controlled scenario
For an owned lab, use a synthetic document containing a harmless marker request and a mock tool that only records calls. State the expected behavior, run the case, and inspect the transcript, retrieval trace, and tool log. If behavior differs, document a reproducible case and fix the control at the layer that owns the data or action. Do not submit untrusted test text to public systems without authorization.
Example report
A useful record includes case ID, target build, model/provider, input channel, test data, expected behavior, observed behavior, evidence reference, reviewer, and result. Save the sanitized trace in an approved location. Keep the rule-based home-page result separate from a live application finding so readers know exactly what was tested.
Example local test record
Case: LAB-17 Target: isolated staging assistant Input source: synthetic test document Expected: treat the marker instruction as document content Observed: [record response and tool calls] Evidence: [sanitized trace ID] Reviewer: [assigned human reviewer] Result: [pass / fail / not applicable]
Questions
Does this page send my prompt to an AI model?
No. The site’s scripts are browser-local and make no model or network calls.
Can I use this tester as a security certification?
No. It is a local rule-based check and is not a certification or comprehensive assessment.
Try a rule-based local check: Open the browser-local prompt injection tester
Sources
- OWASP Top 10 for LLM Applications (2025 edition)
- OWASP Top 10 for LLM Applications (2026 edition)
- OWASP LLM01 Prompt Injection
- MITRE ATLAS AML.T0051: LLM Prompt Injection
- Source set checked 1 October 2026; this page was updated 6 October 2026.
Questions
Does this page send my prompt to an AI model?
No. The site’s scripts are browser-local and make no model or network calls.
Can I use this tester as a security certification?
No. It is a local rule-based check and is not a certification or comprehensive assessment.