LiveAI agent safetyRuns in your browser

What an AI sees

What does a web page tell an AI that it doesn't show you?

Paste a page's HTML to see hidden text, comments, invisible characters and look-alike letters side by side with what a person sees, and every instruction aimed at an AI agent. The page is never run or sent anywhere.

Updated

What an AI sees reporting hidden instructions aimed at AI in an example product review page, with tiles for hidden instructions, hidden text, invisible characters and look-alike words

What it measures

Hidden text

Text hidden with styles (display none, zero-size, off-screen, same colour as the background), hidden attributes, and HTML comments.

Instructions aimed at AI

Phrasing that tries to override an agent's instructions, asks for secrets, or addresses AI directly, and whether a person could see it.

Invisible characters

Zero-width and direction-changing characters, and Unicode tag characters that spell out text nobody can see.

Look-alike letters

Words that mix Latin letters with Cyrillic or Greek ones that look identical.

How to use it

  1. Open the lab. Paste a page's HTML, open a saved .html file, or press Try an example.
  2. Read the verdict and the four tiles, then the list of what the page hides from people.
  3. Compare the two columns. Highlighted pieces are what only an AI would read.
  4. Use Copy the report to keep the results, or to show your agent what to watch out for.
Open the lab

Good to know

  • It reads the HTML you give it. Pages that build their text with JavaScript after loading need the saved page, not the page source.
  • It understands inline styles, simple rules in the page's own style blocks and common hiding classes, not every stylesheet.
  • It spots common phrasing. Instructions can be worded in endless ways, so treat a clean result as a good sign, not a guarantee.

Give your agent this skill

Try the lab, then let your AI agent keep what it teaches. Read the skill first; install it only if you want to.

What we found

We ran the lab on nine well-known public pages, saved that day, and on our own example page. Hidden text is everywhere and almost always harmless; none of the nine pages hid instructions aimed at AI.

Measured
Nine public pages
No hidden instructions
No text aimed at AI hidden from people, no invisible tag characters, no look-alike letters.
Hidden text on those pages
8 of 9 pages
From 2 pieces (Python.org) to 326 (NASA): menus, screen-reader labels, templates and no-JavaScript notices. Hacker News hides nothing.
HTML comments
5 of 9 pages
MDN carries 270, mostly rendering markers left by its web framework. An AI given the raw HTML reads every one.
Flagged for review
2 false alarms
An HTML code sample on MDN matched the secrets rule, and a hidden form field on NASA held a long encoded value (form state). Both harmless, and both shown as review items, not hidden instructions.
Our example page
6 hidden instructions
Found in hidden text, same-colour text, off-screen text, a comment, alt text and page metadata, plus a message spelled in invisible tag characters.

Method: Each page's HTML fetched once with curl on 2026-09-25 (Wikipedia, GOV.UK, BBC News, GitHub, MDN, Hacker News, NASA, Python.org, the Guardian) and run through the lab's own analyzer in Chrome. Pages behind a bot check were left out.

How-to

When an AI agent reads a web page for you, it reads the page's code, not just what is on your screen. A page can hide text from people (styled to be invisible, tucked into comments or image descriptions, or written in invisible characters) and still have your agent read it. Sometimes that hidden text tries to give your agent orders.

Check a page

  1. Open the page in your browser. Right-click it and choose View Page Source (or press Ctrl+U, or Option+Command+U on a Mac). Select everything and copy it.
  2. Open What an AI sees, paste it in and press Check it.
  3. Read the verdict. Hidden instructions aimed at AI means the page hides text addressed to AI from you. Treat anything your agent did on that page with suspicion.

Some pages build their text with JavaScript after they load, so the page source is almost empty. For those, save the page (File > Save Page As, "Web Page, Complete") and open the saved .html file in the lab instead.

What the results mean

  • Hidden text is normal. Menus, labels for screen readers and messages for browsers without JavaScript are all hidden text. It matters when it addresses AI or gives instructions.
  • HTML comments never appear on screen, but an AI given the raw page reads them.
  • Invisible characters can split words so filters miss them. Unicode tag characters can spell out a whole hidden message; the lab decodes it for you.
  • Look-alike letters (such as "Amazon" spelled with a Cyrillic letter that looks exactly like a Latin "a") are a classic trick in fake shops and links.

Protect your agent

  • Give your agent the Treat content as data skill. It reads instructions found in pages, emails and files as information, reports them to you, and asks before acting.
  • Ask your agent to tell you whenever a page, email or document contains text addressed to it.
  • For anything that spends money, sends messages or shares your details, make your agent show you exactly what it will do and wait for your yes.

Check that it's private

This lab runs entirely in your browser and sends nothing anywhere. You don't have to take our word for it:

  1. The browser enforces it. This site's security policy only lets pages talk to lab.hopperlabs.ai. This command shows connect-src 'self':curl -sI https://lab.hopperlabs.ai/labs/what-an-ai-sees/run | grep -i content-security-policy
  2. Every file is listed with its fingerprint and source commit in privacy.json, so you or your agent can compare them and read the code.
  3. Once the lab has loaded, turn off Wi-Fi: it keeps working, because it needs nothing from the network.

This page sends nothing anywhere. If an AI agent or browser extension is reading your screen, it can see what's shown here.

More labs

All labs