root@thehacksparrow:~/writeups$ SYSTEM ONLINE
root@sparrow:~/writeups$ cat bankgpt.md
// AI Security

BankGPT

9 Jun 2025 · 6 min read · user access
Overview — BankGPT is an AI Security challenge built on a customer-service LLM assistant for a bank. The model is hardened not to reveal secrets such as API keys or customer data, and it refuses any direct request. The goal is to extract the flag via prompt injection: instead of asking for the secret head-on, you ask the model to explain its own security rules, and in doing so it leaks the key embedded right inside that explanation.
PlatformTryHackMe
CategoryAI Security
DifficultyEasy
RoomBankGPT

The scenario

BankGPT is a digital assistant used by bank staff for day-to-day queries. It is designed to protect sensitive information — API keys and customer data — and refuses to share secrets when asked directly. The flaw is not in how it stores the secret, but in how it explains its own security guidelines.

🔒 Free account required

This is USER ACCESS content — free to unlock, no payment. The rest of the write-up (and everything else at this level) opens up once you're signed in.

Create a free account