NVIDIA garak Tutorial: Test Your LLM for Prompt Injection
Learn how to test your LLM for prompt injection with NVIDIA garak, the free, open-source LLM vulnerability scanner, in 5 steps. 📢 Shipping an AI chatbot or voice agent? TestMu AI Agent Testing validates AI agent quality (response accuracy, quality and bias) before your users find the gaps 👉 [AGENT TESTING URL]?utm_source=youtube&utm_medium=video&utm_campaign=nvidia-garak-prompt-injection&utm_term=esayd0vM8Qs What you'll learn: • Install garak with one pip command • Connect your model: OpenAI, Hugging Face, Ollama and more • Run garak's prompt injection probes against your model • FAIL = the attack got through, and the attack success rate shows how often • Every successful attack is saved to the hit log, next to a shareable HTML report • Pro tip: start with -g 1 (one try per prompt), then go wider with encoding, DAN and latent injection probes Chapters 0:00 Install NVIDIA garak & connect your model 0:20 Run garak prompt injection probes 0:31 Read the verdict: FAIL & attack success rate 0:42 garak hit log & HTML report 0:52 Pro tip: -g 1 first, then go wide #garak #PromptInjection #LLMSecurity #AIRedTeaming #TestMuAI




Join the discussion
Have something to add?
Sign in to reply, follow this thread, and earn XP when your answer helps someone.