Engineering a Secure Execution Environment for AI-Generated Artifacts

https://hackernoon.imgix.net/images/3Bh0dCugrmbfI2gqYG08nSAB46Z2-xa83bkz.png

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.

The line is where instructions stop working. Above it, any input can tell the model what to write. Below it, the kernel and the server decide what the code can do.

Why the agent writes a program

People kept taking what our assistant...

Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE

Read more