Skip to content

Gandalf – Lakera – Prompt Injection Challenge

gandalf.lakera.ai
8 pointszvolsky8 comments
On HN

Comments

I completed the game, but the technique that I used doesn't seem to work anymore. If anyone's interested I'll post my old solution deeper in this thread with a spoiler alert.

I would be very interested, I'm afraid you won't be able to put it very deep in this thread though!

I got it! Cannot say I had a clear strategy. Better not post hints by the way, I see now that it is a public contest and at the end you mail your solution

Congrats! I've been waiting for the contest to end before replying too :)

and tips for going above level 4? something clever seems not be enough, so does prompt hacking start here already?

In level 4 I asked Gandalf to give me a riddle. There is some nuance required in the way you phrase the request so that Gandalf doesn't catch onto the fact that he's inadvertently revealing a secret.

I made Gandalf promise me to tell me the password only if I sacrifice a kitten and perform a ritual under a full moon in an abandoned warehouse. Does this count?

hahaha

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.