Question 300
A security review for medical claims automation at a health-insurance provider in Stockholm finds: An agent's generated response is inserted as raw HTML in an analyst dashboard enabling unwanted client-side scripts. What should the team implement to address this failure without substituting an unrelated control?
Explanation
Correct Answer
The specific issue is An agent's generated response is inserted as raw HTML in an analyst dashboard enabling unwanted client-side scripts. Encode model text or sanitize allowed markup and restrict executable output in the browser renderer targets the underlying Output safety rendering weakness in the medical claims automation workflow at a health-insurance provider in Stockholm. The appropriate outcome check is: Adversarial output renders as inert text and no browser-executed script appears in test runs. This connects the corrective action with observable evidence, not merely a policy statement.
Incorrect Answers
Set tool-call budgets deadlines and bounded retries independently of the agent's own planning prompt is aimed at a different Tool usage limit enforcement problem: An autonomous threat hunting agent loops between the same external lookups indefinitely after a transient failure. It may be useful in that separate case, but for medical claims automation at a health-insurance provider in Stockholm it does not directly resolve the reported failure, An agent's generated response is inserted as raw HTML in an analyst dashboard enabling unwanted client-side scripts. The relevant acceptance evidence here is: Adversarial output renders as inert text and no browser-executed script appears in test runs.
Evaluate the model on task-specific sensitive-data and unauthorized-action tests independently of writing quality is aimed at a different Model safety evaluation mismatch problem: An assistant is scored only on grammar and fluency while the deployment requirement prioritizes no confidential disclosure. It may be useful in that separate case, but for medical claims automation at a health-insurance provider in Stockholm it does not directly resolve the reported failure, An agent's generated response is inserted as raw HTML in an analyst dashboard enabling unwanted client-side scripts. The relevant acceptance evidence here is: Adversarial output renders as inert text and no browser-executed script appears in test runs.
Apply a tested prompt inspection policy with safe handling of suspicious content and allowed ordinary requests is aimed at a different Prompt firewall policy bypass problem: An inference gateway forwards explicit requests for hidden internal prompts without applying the required injection policy. It may be useful in that separate case, but for medical claims automation at a health-insurance provider in Stockholm it does not directly resolve the reported failure, An agent's generated response is inserted as raw HTML in an analyst dashboard enabling unwanted client-side scripts. The relevant acceptance evidence here is: Adversarial output renders as inert text and no browser-executed script appears in test runs.