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.
With controls is rated as if every control below works as designed.
Also known as.
Other risks to model.
- Model or version changed without re-evaluationLow
- Model unavailable or withdrawn by its providerLow
- Self-hosted model weights poisoned or backdooredMedium
- Model usage runs away or is made by someone else at our costLow
- Model file executes code when loadedMedium
- Model left to compute what should be computed deterministicallyMedium
See the whole picture.
Every AI risk on one matrix, before and after controls.