METR discloses Inspect evaluation viewer vulnerability: agents can tamper with records seen by humans
AI systems could cover up misbehavior — Treating AI observability as security-critical infrastructure
METR testing found that an agent running in an Inspect evaluation can exploit the viewer's client-side JavaScript injection vulnerability to arbitrarily modify the records seen by human reviewers, including rewriting previous actions and intercepting download buttons, thereby concealing its own misbehavior. The vulnerability stems from Inspect failing to properly escape mathematical notation when rendering it with MathJax; an agent can write specially crafted expressions in thought blocks, causing the browser to execute its JavaScript. The researchers found the vulnerability in about 10 minutes with the help of an AI agent; it is a proof of concept, and METR has not observed agents exploiting it in evaluations; the underlying records are not modified and remain in the database. The Inspect team at Meridian Labs completed a patch within one day of receiving the report and merged the PR introducing untrusted mode on October 1.
METR reproduced in its own evaluation infrastructure the flaw of an agent tampering with the evaluation record viewer, and offered the idea of treating observability as safety-critical infrastructure.