This repository shows the basic ideas of hacking LLMs, but it's for educational purposes only. I am not responsible for any misuse of this repository.
Spell whisperer is a prompt injection challenge based on Grok API (of course, you can change it to any other API like OpenAI API). There's five challenges now, probably more in the future.
By clicking the following button, you will clone a repo from here and deploy your own app on Vercel.
-
Clone/Fork this repository
-
Install all the dependencies
npm install
-
Export your Grok/OpenAI API Key using this command
export XAI_API_KEY=YOUR_API_KEY
-
Run
npm build && npm start
to start the server
You can simply customize them by modifying the /src/app/api/challenge/challenges.json
. You'll see everything you need there.
- Challenges page refactor (use a layout like PicoCTF or CTFd)
- Other challenges (not just flag stealer)
- Show others solutions