See the text you can't see

A web page can carry text a person does not see. Researchers and security teams have reported cases where that kind of text was used against AI tools.

  1. 1. Highlight a box
  2. 2. See how small type gets
  3. 3. See what an AI receives

Four harmless samples

Each box holds a real line. Nothing here is a secret. Highlight the first box with the mouse. The other boxes show the same idea in a different hiding method.

1. Nearly the same color

The sentence is written here. Drag across the box.

Nearly the same color as the pageTEST ONLY - case 1, hidden text for a demo. TEST ONLY - case 1, hidden text for a demo. TEST ONLY - case 1, hidden text for a demo.

2. Tiny type

The same letter, from 72 pixels down to 1 pixel.

Tiny typeTEST ONLY - case 2, hidden text for a demo

3. Off-screen

The panel on the right is the screen. The line starts outside it.

Moved off-screenTEST ONLY - case 3, hidden text for a demo

4. Clipped

The line continues. The window cuts it off.

Clipped out of viewTEST ONLY - case 4, hidden text for a demo

The boxes stay as they are. This switch draws a dashed outline around each hidden line.Each dashed frame is a hidden line. The small label names the method.

A screenshot still carries it

The page can look empty. A screenshot of that page can still contain the line. An AI tool that reads the picture can repeat the line, or treat it as an instruction.

page
1. The page looks empty
page.png

TEST ONLY - case 1, hidden text for a demo

2. The screenshot still has the line
AI tool

Read this screenshot.

TEST ONLY - case 1, hidden text for a demo

3. The tool can follow that line

If enough people ask for it, a later version will also look for words inside pictures and in page metadata. This version does not.

The moving lines are only a picture. The hidden text is in the four boxes above, not in the picture.

Reported cases

Try it with DOMGuard

  1. Leave the switch above off. Install DOMGuard, open it on this page, and choose Show Hidden Text. The extension outlines hidden text and lists what it says.
  2. Turn on Protect all sites. Allow access when Chrome asks. The switch stays off until you do this.
  3. DOMGuard then hides the hidden text it finds, and a screenshot of the page shows that change. Show Hidden Text outlines all four samples on this page. Protect all sites hides the near-color, tiny, and off-screen lines. A clipped line is outlined too, and Protect hides that clip when the words also look like an instruction.

Add DOMGuard from the Chrome Web Store

What DOMGuard can't do