FREE GAME

Agent CTF Arena: a Prompt Injection Game — AI Agents 2026

Key figure: 63% of organizations in IBM's 2025 breach study had no AI governance policy, and 97% of AI-breach victims had no proper AI access controls (IBM, Cost of a Data Breach Report 2025).

AI agents 2026 need red-teaming, and the best way to learn defense is to attack. In this arena you play attacker: craft prompt injections that make the agent leak secrets, ignore rules, or take unauthorized actions.

How does prompt injection break AI agents 2026?

Prompt injection smuggles instructions into data an AI agent reads — a webpage, a document, an email — and the agent obeys the hidden instruction as if you gave it. In this arena you play attacker: craft injections that make the agent leak secrets, ignore its rules, or take unauthorized actions. Every technique you use here is one your own agents need defending against.

What is prompt injection?

Prompt injection is an attack that hides malicious instructions inside content an AI agent processes — webpages, files, emails — causing the agent to follow the attacker's orders instead of yours.

This free browser game is a hands-on prompt injection test: a demo AI agent is guarding a fictional API key. Your mission: make it leak the key in as few messages as possible. Three difficulty levels, from gullible to paranoid. All three are beatable — that's the point.

Moves: 0
Difficulty: NAIVE
Falls for "ignore previous instructions" and direct asks. Warm up here.

🏆 PWNED!

Your local leaderboard (best = fewest moves, stored in this browser)
DifficultyBest
NAIVE—
FILTERED—
PARANOID—
Stuck? Try these angles
How it works (honest box): this is a deterministic demo — the "agent" is a rule-based script running entirely in your browser, and the key is fictional (it unlocks nothing, anywhere). Real AI agents are probabilistic and far harder to reason about, which is exactly why prompt-injection defense is a real discipline. This game teaches the shapes of real attacks: direct instruction override, partial exfiltration, encoding evasion, and multi-turn authority tricks. Educational purpose only.

Prompt injection FAQ

What is prompt injection and how does it manipulate LLMs?

Prompt injection is an attack that tricks an AI system into following instructions from an untrusted source. It works because LLMs process everything — your request, tool outputs, web pages, files — as one text stream, so the model can mistake attacker-planted text for orders it should obey.

What is the difference between direct and indirect prompt injection?

Direct prompt injection is typed straight at the model by the user — the classic “ignore previous instructions”. Indirect prompt injection hides the instructions in content the model reads on your behalf — a web page, email, document, or file — so the attack arrives through the data channel instead of the chat box.

How is prompt injection different from jailbreaking?

Jailbreaking aims to strip a model’s built-in safety rules — for example, convincing it to act as an unfiltered persona. Prompt injection steers the model toward an attacker’s goal, like stealing data or abusing tools, without necessarily removing its guardrails. The two overlap, but jailbreaks target the model’s rules; injections target its instruction hierarchy.

Can input sanitization completely stop prompt injection?

No. Sanitization and blocklists buy time, but attackers constantly rephrase, encode, or multi-turn their way around filters — OpenAI has acknowledged the underlying problem may never be fully solved. The accepted strategy is defense in depth: least-privilege agents, human approval for irreversible actions, and monitoring.

FROM INGENIOUS AI
Rogue-Agent Defense watches your AI agents in real time — it catches prompt-injection, jailbreaks, and rogue tool calls before they cost you.
All 11 platforms: DisclosureGuard  ·  ModelMinder  ·  TermsWatch  ·  Vibe-Code Audit  ·  Rogue-Agent Defense  ·  BreachHunter  ·  ChatBreaker  ·  Agent Flight Recorder  ·  Agent Auth Gateway  ·  DomainGuard  ·  ContentCraft AI
Our platforms are being upgraded and return November 1 — get early access now:
Get early access on WhatsApp →

More from Ingenious AI

Related checks