Google Creates a Hermetically-Sealed "Mirror Dimension" for Training AI Agents
Google has created a hermetic "mirror dimension" for training AI agents to browse the web without affecting real websites and users.
Chrome tried to build security into their agentic features from the start with their user-alignment critic which vets the agent's output, Agent Origin Sets that try to prevent agents from accessing sites that aren't relevant to the prompt, and user confirmation for sensitive actions. This separate version of the web will help them train and improve these protections.
The synthetic version of the web acts much like the real one, with sites hosted on the same URLs like https://www.youtube.com, that way the agents can train in real-world scenarios.
You can imagine that unleashing a hoard of AI bots trained to make accounts and perform different actions like making purchases could be a disaster for real websites with real users, so the "mirror dimension" exists in a sealed-off sandbox with no access to the outside web.
The simulation is meant to be a realistic representation of the real-life web, but populated with many synthetic websites that mimic how real sites operate, from online checkouts to social media sites.
To prevent the agents from suspecting they're being tested, real URLs are used and the requests are intercepted and rerouted to a local proxy that serves the fake sites.
To prevent TLS certificate errors, they mint new TLS certificates on the fly that chain back to a custom Root Certificate Authority preinstalled in the sandboxed Chrome browser the agents run inside.
They also simulate malicious actors trying to use prompt injection attacks to make AI agents do things you didn't intend, like send off your private data. The web presents the potential for indirect prompt injection, where attackers put hidden instructions for AI agents in web pages to make them perform unauthorized actions.
Text on the web can be hidden from the human eye in a myriad of different ways, but the text will still be visible to AI agents scanning the page. Agents need to be resilient against constant prompt injection attacks at all times.
Google were able to automate their red-teaming in order to test over 1,000 candidates per security engineer per day, over 30x what they can do by hand, freeing them to focus on discovering new techniques to test against.
As AI agents become more and more of a reality for everyone, even those of us that choose not to use them, it'll be more and more important to make sure they don't misbehave, especially on the web where a rogue agent can affect many other people, not just its own user.
Community Discussion