🪞 Google built a sealed copy of the web with thousands of fake sites to test its AI agents against prompt injection
In brief
- 🌐 Google created "Mirror Dimension", an isolated test environment with thousands of artificial websites, to confront browser agents with realistic attacks.
- 📜 Chrome runs in isolation and a proxy with its own certificate authority serves fake versions of real addresses such as youtube.com.
- 🧪 The pipeline yields over 1,000 attack candidates per security engineer a day, more than 30 times manual work; it does not address criminals using agents.
🛡️ When AI agents visit websites on their own, collect information, fill in forms and make purchases, they have to cope with hostile content. The main risk is prompt injection: attackers hide instructions on a website to steer an agent away from its task, for instance to leak confidential user data or perform unwanted actions. To find such weaknesses, Google has built "Mirror Dimension", a test environment sealed off from the real internet and populated with thousands of artificial websites, heise reports, citing Google and Wired. Testing on the open internet would be risky because agents could trigger real actions. The environment is meant to look real enough that a model does not notice it is being tested. Google plants manipulated content in the fake sites and measures whether its agents resist.
🎭 **How Google makes the fake web convincing.** AI models sometimes notice that they are being tested and change their behavior, and unusual web addresses or weak-looking sites can give the test away. So Google lets the agents call real addresses such as youtube.com. Chrome runs in an isolated environment that intercepts all of the browser's network traffic and redirects it to a local proxy server, which delivers artificial versions of the sites instead of the real ones. To stop Chrome from blocking the redirection for security reasons, Google stored its own certificate authority in the test browser as trusted, so the local server can issue matching HTTPS certificates.
🏗️ **AI builds the sites.** The websites are created by AI agents: a research agent determines the requirements, a development agent programs the sites, and further agents check the results and suggest improvements. Hidden instructions can appear in text, images and other page elements. According to Google, the automated test pipeline produces more than 1,000 attack candidates per security engineer a day, over 30 times as many as manual work.
**Limits.** heise points out that the approach covers only part of the security risks of autonomous agents. It centers on protection against manipulation by third-party websites, not on the problem that criminals can deploy agents for cyberattacks. It will probably benefit Google most at first, because the environment was built for Chrome's browser agents; Google discloses its method, but has not announced that the infrastructure will be released to other browser makers. According to Wired, Google plans to make the test environment available to further teams inside the company, and to improve the simulation and expand its security tests.