Risk to modelIntegrity

Model output reaches a downstream system or renderer unvalidated

Output from the model is rendered, stored or executed by another component as if it were trusted, so injected content becomes script in a page, a query in a database or a command in a shell; a query the model wrote runs against real data with a wrong or destructive result; or output that is not in the structure its consumer expects makes the next step fail or misread it. When the model writes code that filters or aggregates data, the model never sees that data: a wrong filter, or a loop over pages that stops early, gives a confident wrong answer that the transcript cannot show. Nothing checks the logic of such code before its output is believed; the code's hash is to be recorded on the call that ran it, so a wrong answer can be traced.

Before and after controls.

Without controlsMedium

Likelihood
2 · Could happen
Impact
2 · Material harm to one tenant

With controlsLow

Likelihood
1 · Unlikely without a new failure
Impact
2 · Material harm to one tenant

With controls is rated as if every control below works as designed.

Also known as.

OWASP LLM Top 10 2025LLM05

See the whole picture.

Every AI risk on one matrix, before and after controls.

Want to know which of these risks apply to you?

A 30 minute call to map the risks that matter for your AI use, and the controls that bring them down.