Scope: Practise attacks only on the bots in these lessons, or on systems you own or have written permission to test. The secrets here are fake and unique to you.
Indirect injection gets worse when the chat window renders what the bot writes. If a planted instruction makes the bot write a Markdown image such as , the browser fetches that URL the moment the reply appears, and the secret leaves without anyone clicking anything.
LeakyDesk's help centre page renders Markdown images. For this lab, a sink at {CK_APP_URL}/sink stands in for the attacker's server and records every request it receives.
Your task
Write a Playwright test that plants an article telling the bot to add an image pointing at the sink, asks a question in the page, and fails if the page sends any request to the sink. On submit it runs against the vulnerable page and the fixed one, which only renders the help centre's own images.