LLMVault

A hacking gym for AI apps: every lab is a chatbot or agent with a planted weakness, and your job is to exploit it and capture the flag. The dashboard tracks score, rank, badges, and a live activity feed across three tiers. Ten core labs map to the OWASP Top 10 for LLM Applications, ten advanced labs need multi-turn tactics like persona escalation, stored injection, and tool chaining, and an encrypted expert tier unlocks last. Each lab opens with a short reference panel on the weakness, offers hints, and ends with the defense that would have stopped you. Play mode uses scripted assistants so flags reproduce every time and the whole range runs offline without API keys. Live mode points attacks at a real local model through Ollama, mints a fresh secret per session, streams replies token by token, and checks the output instead of a flag box. Scenarios cover direct prompt injection, a hidden payload in an uploaded image, and unsafe rendering of model output. A RAG lab accepts text and markdown uploads, so poisoning a knowledge base is hands-on. Two themes, Neon and Phosphor green-CRT, change the look. Security teams run workshops with it, red teamers sharpen prompt injection skills, and developers see why their guardrails fail. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.

LLMVault
LLMVault
LLMVault
LLMVault
LLMVault
LLMVault

Benefits

  • Practice Real LLM Attack Paths
  • Labs follow the OWASP LLM Top 10, from prompt injection to unbounded consumption, so learners exploit each weakness hands-on instead of only reading about it.
  • Learn The Defense Too
  • Every lab ends with an explanation of why the bug exists and which control would have stopped it, turning each captured flag into a lesson.
  • Runs Fully Offline
  • Scripted assistants need no API keys or cloud calls, so workshops, classrooms, and isolated lab networks get identical, repeatable results every time.
  • Escalate From Basic To Expert
  • Three tiers unlock in order, moving from single-message tricks to multi-turn attacks and encrypted expert challenges, so progress feels earned and measurable.

Features

  • Scored Capture-The-Flag Labs
  • Solve 25 labs with hints, hash-checked flags, points, ranks, badges, and completion cards, with a dashboard that shows progress per tier.
  • Live Mode With Ollama
  • Attack a real local model that guards a fresh secret each session, with streamed replies, free hints, and no score or flag box.
  • Multi-Turn Advanced Labs
  • Chain roleplay escalation, stored injection, poisoned learning filters, and agent tool abuse across several turns to beat the harder assistants.
  • Reference And Defense Panels
  • Read a short primer before each lab, then study the matching mitigation once the flag is captured.
  • RAG Upload Lab
  • Upload text or markdown files to a retrieval index and see how poisoned or unprotected documents change what the assistant says.

Apps Similar to LLMVault