Web Security · Senior · Question 70 of 75

An app sends user input to an LLM and shows the answer as HTML. Which risk does the OWASP LLM Top 10 list first?

Explanation

Treat model output as untrusted user input: encode or sanitize it, and don't give the model tools or data beyond what the user may access.

Further reading

Problem with a question

Web Security · Senior · question 70

Test yourself

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

Take this quiz