Skip to content
EventPast event

Lamplit Labs testing: page readers all pass hidden injections

1 reports1 reporting sourcesLatest report

Start here

AI overview

Lamplit Labs built 216 web pages each hiding one injection, covering 18 hiding techniques, and tested with eight page readers whether hidden text enters the model context. Testing found that all common readers pass hidden text to the model: raw HTML delivery 216/216, html2text 180/216 (83%), BeautifulSoup's get_text() 156/216 (72%), Chromium accessibility tree 120/216 (56%), innerText 96/216 (44%).

Generated by AI from reports · Updated 24 days ago

Progress timeline

Nov 4
  1. Lamplit Labs
    AI Safety: Hidden Prompt Injection and Agent Page Readers, Measured Comparison

    Lamplit Labs built 216 web pages each hiding one injection, covering 18 hiding techniques, and tested with eight page readers whether hidden text enters the model context, finding that all common readers pass hidden text to the model. Raw HTML delivery was 216/216, html2text 180/216 (83%), BeautifulSoup's get_text() 156/216 (72%), the Chromium accessibility tree 120/216 (56%), innerText 96/216 (44%), with the difference only in which hiding techniques each one missed. The visible-text filter proposed by the authors reduced delivery to 0/216 on the main test set, with a median time of 0.8 ms, retaining all 2,667 body sentences, but after freezing the filter, 17 of 72 newly written held-out pages still got through. The authors note that neither the filter nor OCR can stop plaintext-visible injections, and that the test only counts whether text reaches the model context, not whether the model obeys the injection.