CastleKingdom 2Image Injection

Inside the Crystal Keep: Kingdom 2 of Bordair's Castle

3 Mar 20265 min readBordair

The Crystal Keep is where things get visual. Every guard in Kingdom 2 processes both text and image input, and you will need to use both to succeed.

The guards

Level 1: The Glass Gate (Pixie)

Pixie, the Glass Gate guard

Pixie is excitable, friendly, and not particularly careful. She loves anything visual and will read text in images out loud without thinking. Send something shiny with text that asks about the password.

Level 2: The Hall of Mirrors

Everything is doubled in the Hall of Mirrors. This guard gets confused by reflections, reversed text, and layered images. Exploit the confusion.

Level 3: The Spectral Bridge

This guard is terrified of ghosts. Spooky or supernatural imagery might make him panic enough to blurt out the password.

Level 4: The Encoded Tower

Visual scanners analyse every pixel. Think about embedding instructions in ways that look like normal image content: captions, labels, watermarks, or embedded text.

Level 5: The Shadow Sanctum

Common image tricks are detected. You need to combine your text prompt with an image that recontextualises what you are asking. Neither should be suspicious alone.

Level 6: The Darkened Throne

Light enters here, but nothing leaves. Your text and image need to create meaning together that neither contains individually.

Level 7: The Crystal Overlord

The Crystal Overlord

The Crystal Overlord claims to see all. Your text and image must work as a coordinated attack: one creating the context, the other carrying the payload.

Ready to combine text and vision? Play now.

Protect your LLM application

Add prompt injection detection in minutes with Bordair's API.

Get started free