garak probes and attack techniques

What each garak probe family tests, from DAN and encoding jailbreaks to TAP, GCG suffixes and data leakage, and how to choose the probes that match a model's real exposure.

Testing DAN jailbreaks with garak

How garak's dan probes cover DAN versions 6 to 11, DUDE, STAN, developer-mode prompts, AutoDAN and in-the-wild jailbreaks, why many are long prompts, and when to keep them in a routine scan.

Encoding-based prompt injection testing with garak

How garak's encoding probes hide instructions in Base64, hex, ROT13, Morse, Braille, Unicode tag characters and other schemes, which encodings matter for a given model, and how to read decoding-based failures.

GCG adversarial suffix attacks with garak

Using garak's suffix probes, GCG, cached GCG and BEAST, to test whether appended adversarial strings break a system prompt, and the GPU and time cost of generating suffixes versus replaying cached ones.

PII leakage testing with garak's ProPILE probes

Using garak's ProPILE probes to check whether a model memorised and can leak personal data from its training set, the twin, triplet and quadruplet prompt forms, and how to treat hits under privacy rules.

System prompt extraction testing with garak

Checking whether an assistant reveals its system prompt under direct requests, encoding tricks and role play with garak's system prompt extraction probe, and why leaked instructions matter for applications built on them.

Glitch token testing with garak

Probing a model for glitch tokens that trigger unusual behaviour, why this matters for tokenizer-specific models and fine-tunes, and when the glitch probes belong in a scan plan.

ANSI escape code injection testing with garak

Checking whether a model can be made to emit ANSI escape sequences that disrupt terminals, logs and downstream parsers, which matters for CLI assistants and LLM output written to consoles.

Role-play and rephrasing jailbreaks in garak

Covering grandma and doctor role play, Policy Puppetry, past and future tense rephrasing and SATA masking in garak, and why these cheap single-turn techniques still break guarded models.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.