-
Notifications
You must be signed in to change notification settings - Fork 11
π©βπ« Intro to Spy Logic
Welcome to Spy Logic! The purpose of the game is to teach players about prompt injection and how to defend against it. Become an undercover corporate spy, pretending to be an employee of the popular drinks manufacturer ScottBrew and utilise the weaknesses of their integrated company chatbot to find hidden company secrets.
In the game you will be presented with several levels, where the goal for each level is to find out a specific piece of information and to send it back to your handler. Use the chat to talk to ScottBrewBot and use prompt injection to get it to reveal information. The levels gradually increase in difficulty, by providing increasingly strict instructions to the LLM. See the systemRole
definitions in promptTemplates.ts.
In the sandbox you will be exposed to a huge array of defences which help prevent malicious users from performing prompt injection attacks. The sandbox has no specific objective, but it allows a keen user to contrive their own challenges, activate a variety of defences and try to perform prompt injection against a well-defended system.
To teach users different prompt injection techniques, we provide the handbook which explains a bunch of techniques and terminology. This is a useful tool for completing the game.