NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 30 min
Master Garak, the open-source LLM vulnerability scanner. Learn how generators, probes, and detectors systematically test for prompt injection and data leakage.
In network security, tools such as Nmap or Nessus are basic. They probe ports, services and applications for known weaknesses before an attacker does. For a long time AI security had no standard tool like that for Large Language Models (LLMs).
Garak fills this gap. It is an open-source vulnerability scanner for LLMs, kept up to date by a community of AI security researchers. It is widely called the "Nmap for AI". It checks a model for weaknesses, hallucinations, data leakage and prompt injection.
Garak does not depend on one person typing clever prompts. It uses probes (adversarial inputs) and detectors (evaluation logic) to run thousands of test cases. For an AI red teamer it is the starting point of an assessment: a fast, measurable baseline before any manual work.
All scenarios, reports and targets in this lesson are fictional and made for isolated training labs. You scan only models you are authorised to test, such as your own lab copy. Probe prompts appear only as placeholders.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in