Engineering a Secure Execution Environment for AI-Generated Artifacts

In September I wrote about three security boundaries for hosting untrusted, AI-generated HTML. That one was about the browser. A page nobody reviewed runs in the browser of someone who is signed in to our platform, and the work was making sure it can't act as them. At the end I said the part where our assistant writes those pages on its own hadn't shipped yet.It does now. And a month later it went one step further: the agent writes programs, and we run them on our own servers. This is how we set that up, how we check it, and what it cost us. Why the agent writes a program People kept taking what our assistant produced and hand-formatting it into slides. So we let the assistant build an
…