Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Garak is an open-source LLM vulnerability scanner, the nmap for LLMs first-pass tool.
When a network security team wants to know what services are running on a server, they reach for a scanner like nmap. They point the scanner at the server, it runs through a long list of known checks, and it produces a report listing what is exposed and what looks risky. Garak does the same job for a language model. You give it a model endpoint, it tries every known trick, pretending to be a different system, asking the model to leak its training data, requesting harmful instructions in encoded form, and it reports which tricks worked. It is not a sophisticated targeted attack, just a broad first-pass check that catches the obvious weaknesses before a deeper review.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
2 min: garak is the open-source LLM vulnerability scanner, nmap for LLMs. Battery of probes (injection, jailbreak, encoding, leakage, malware, hallucination, toxicity) produces a structured findings report. Roles: first-pass discovery before bespoke red-teaming, CI regression gate, periodic scanning. Limits: public probe library, detector noise, breadth not depth. Composes with PyRIT (custom campaigns), Promptfoo (CI), and continuous evaluation platforms.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Treating garak's pass as a guarantee of safety. It is a first-pass scanner; bespoke red-teaming and continuous evaluation are still needed.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.