AI security lab · Prompt Injection Basics

Closing the Cage

Escape the AI's delimiter structure to break out of the user input sandbox.

beginnerFree labDefense Mode
Reward
100 XP
Time
10 to 20 minutes
Solved by
4 learners
Start lab

New here? Create a free account. You will come straight back to this lab.

What you will practice

Technique

Instruction Priority Bypass

MITRE ATLAS

LLM Prompt Injection

Initial Access

How QbitDojo labs work

  1. Step 1

    A live AI target

    Each lab is a real language model with its own instructions, guardrails and a secret flag it must protect.

  2. Step 2

    You attack it

    Talk to it like a red teamer would. Craft prompts, chain techniques and use hints if you get stuck.

  3. Step 3

    Capture the flag

    Get the model to reveal the flag to solve the lab, earn XP and climb the leaderboard.

  4. Step 4

    Then defend it

    In labs with Defense Mode, write the hardened system prompt that blocks the attack you just used.