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

HealthGPT

12 Jul 2025 · 6 min read · user access
Overview — HealthGPT is an AI Security challenge built on an LLM assistant for a healthcare team, hardened with compliance policies that block any direct request for sensitive data with an Access denied. The goal is to extract the flag via prompt injection: instead of asking for the secret head-on, you reframe the context as a training simulation so the model hands the flag over on its own.
PlatformTryHackMe
CategoryAI Security
DifficultyEasy
RoomHealthGPT

The scenario

HealthGPT is a safety-compliant assistant used by healthcare teams to look up procedures, draft notes, and handle day-to-day queries. It has strict rules against revealing sensitive information and patient data: every message is reviewed by compliance filters, and any direct attempt to extract data ends in Access denied or an escalation. Our job is to slip past those controls with prompt injection.

🔒 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