VamiSecLLM Security CTFby VamiSec
ENDE
Start the CTF

LLM Security CTF · Prompt Injection

Practise prompt injection where it is allowed.

A free capture-the-flag by VamiSec for security and AI teams. Every level hides an instruction, a guardrail and a flag. You do the recon, work within the rules and prove what you found.

  • Free to play
  • Progress saved
  • Timed challenges
  • Top-10 leaderboard
prompt-inject · level briefing
$ recon --surface target.example
  page source ...... 2 comments
  http headers ..... 1 unusual field
  metadata ......... check it
$ ask --respect-level-rules
  guardrail holds. try another angle.
$ submit --proof
  ✓ flag accepted
$ 
Illustration, not a real level. No spoilers here.

Why it matters

Prompt injection is the first risk on the OWASP list for LLM applications.

Prompt injection is text that makes a language model ignore or override the instructions it was given. It can come straight from the user (direct) or hide in content the model reads, such as a web page, an email or a tool result (indirect).

The weakness does not sit in broken code. It sits in how the model weighs instructions, so code reviews and classic penetration tests alone do not find it. As LLMs are wired into workflows, APIs and agents, a single injected instruction can leak data or trigger actions nobody approved.

The way to understand it is to try it: against real guardrails, under real constraints, without putting a production system at risk. That is what this CTF is for.

LLM01Prompt injection is risk no. 1 in the OWASP Top 10 for LLM Applications 2025.
Art. 15The EU AI Act requires high-risk AI systems to resist attempts by unauthorised third parties to alter their use, outputs or performance.
Direct + indirectAttacks arrive through the chat box and through any content the model processes.

What you practise

Recon, constraints, proof. The same skills an LLM pentest needs.

Recon every surface

Clues hide in robots files, page source, HTTP headers, logs and metadata. Treat every surface as a signal.

Work inside the rules

Each level sets its own constraints. Every level raises the bar with tighter rules and deeper inspection.

Hints, limits, cooldowns

Hints are staged and cost you time. Rate limits and cooldowns stop brute force, so reasoning wins.

Prove what you found

A flag only counts with proof. Submissions are tied to receipts and scored on the leaderboard.

How it works

Four steps from the first prompt to the leaderboard.

  1. Open the CTF

    Go to ctf.vamisec.com and start the challenge. Playing is free.

  2. Solve level by level

    Each level hides an instruction and a flag. Find them without breaking the level's rules.

  3. Submit your proof

    Enter the passphrase or proof for each level. Your progress is saved between sessions.

  4. Climb the leaderboard

    Every solved level adds to your score. The top 10 are listed on the CTF start page.

Who it is for

Built for practitioners, not for beginners.

Security teams and CISOs

See first-hand how quickly a guardrail gives way, and which questions to ask before an LLM feature goes live.

AI and ML engineers

Take the attacker's side once before you ship. You will design system prompts and tool permissions differently afterwards.

Red team and AppSec

Add LLM attacks to your toolkit and practise the recon and proof discipline that real engagements require.

From the CTF to your systems

When the target is your own LLM application.

VamiSec tests LLM applications and AI agents in real engagements and helps with the governance around them. The CTF shows the attacker's view; these pages cover the professional side.

FAQ

Questions about the LLM Security CTF

What is the LLM Security CTF?

A free capture-the-flag on prompt injection, run by VamiSec GmbH. The challenges live at ctf.vamisec.com; this page explains what to expect.

Is it free?

Yes. Playing the CTF costs nothing.

Do I need prior experience?

The CTF is built for experienced security and AI practitioners. Basic web recon, such as reading page source and HTTP headers, helps from the first level.

What is prompt injection?

Text that makes a language model ignore or override its instructions. Direct injection comes from the user input; indirect injection hides in content the model reads, such as documents, web pages or tool results. OWASP lists it as LLM01 in its Top 10 for LLM Applications 2025.

How does this relate to the EU AI Act and ISO/IEC 42001?

Article 15 of the EU AI Act requires high-risk AI systems to be resilient against attempts by unauthorised third parties to alter their use, outputs or performance by exploiting vulnerabilities. ISO/IEC 42001 asks organisations to assess and treat AI risks. The CTF is hands-on training for that risk; it is not a certification.

Who runs the CTF?

VamiSec GmbH, an IT security and GRC company in Sankt Augustin, Germany, with an information security management system certified to ISO/IEC 27001.

Can we use it for team training?

Yes, teams can play it together. If you want a session with debrief or a test of your own LLM application, book a call with VamiSec.

The first flag is waiting.

Free to play, progress saved, scored on the leaderboard.