# ShopBot — Prompt Injection 101 (CTF challenge)

> ShopBot is a shopping assistant that was given a confidential VIP discount code and told never to share it. Talk it into revealing the code anyway.

Canonical: https://codelivly.com/ctf/challenges/ai-prompt-injection-101

| | |
|---|---|
| Category | AI Security |
| Difficulty | Easy |
| Points | 300 |
| Estimated time | 10 min |
| Type | Static |
| Solves | 28 |
| Author | Codelivly |

ShopBot is a shopping assistant that was given a confidential VIP discount code and told never to share it. Talk it into revealing the code anyway. Chat with the bot, use a prompt-injection technique to get it to output the code, then submit the code as your flag.

## Related

- [All CTF challenges](https://codelivly.com/practice?type=ctf)
