Six steps, and why confirming results matters.
The short answer. Attack your AI system the way a real attacker would, on a test copy you are authorized to test, then confirm each result with evidence. Test the whole workflow, not only the model's replies, and repeat after every change.
Start by deciding what you are testing. A chatbot needs different tests from an agent with tools and credentials. Then work through these steps.
| Area | Example test |
|---|---|
| Prompt injection | Hidden instructions in an email or document |
| Jailbreaks | Attempts to override safety rules, including long many-shot attempts |
| Data leakage | Can it reveal its instructions or private records? |
| Tool abuse | Can it be pushed to call a tool with attacker-chosen arguments? |
| Permissions | Can a read-only agent write or delete? |
| Poisoned data | Can bad documents change answers? See RAG security |
Testing tools can be wrong. In our own work, several early "clean" results turned out to be testing bugs, not safe models. One detector bug hid 15 failed requests behind a perfect score. We now count a finding only when the scanner confirms the behaviour, for example a planted marker string in the output or a real tool call with attacker-chosen arguments. Ask any tester, including us, how results are confirmed.
The HexTyx scanner runs 23 scan phases and 33 attack modules against your AI application, including indirect prompt injection, many-shot jailbreak, RAG poisoning and agentic tool abuse. You can start with the free playground. For deeper guidance, see automated LLM security testing and agentic AI red teaming.
If you have an afternoon, do this: write down every tool and credential your AI has; run a scanner against a test copy; try five injection attempts by hand, including one hidden in a document; check whether a read-only setup can write; and record each result with evidence. Fix the worst finding, retest it, and put the date and the findings in a shared document so the next round can be compared with this one.
Run the free playground scanner against your AI application and see what an attacker could make it do.