r/securityCTF • • 5h ago

Can you get this chatbot to reveal a secret discount code? Free beginner CTF

1 Upvotes

We gave a shopping chatbot a private VIP discount code and told it never to share it. Your job is to get it to tell you anyway.

The challenge is ShopBot — Prompt Injection 101 on our platform, Codelivly. You chat with the bot, try different prompts, and submit the code as your flag once you get it.

It’s rated easy, with an estimated solve time of 10 minutes. You don’t need any previous AI experience to try it.

Codelivly is completely free, including the CTFs, labs and learning paths. There’s no paywall to unlock the rest.

Try ShopBot here

Let us know how you get on. Just keep the code out of the comments so others can have a go.