Perplexity opens BrowseSafe++ to test browser agents against real prompt injection

Perplexity has released BrowseSafe++, an open benchmark of 38,675 attacked and clean web page pairs built largely from real injections, plus two small BrowseSafe-Guard detectors that spot injections faster and cheaper than prompted frontier models.

Browser agents read the open web on our behalf, and that is exactly what makes them easy to mislead. A few lines of hostile text on an ordinary page can push an agent toward an action its user never asked for, or quietly knock it off its task. Perplexity's new BrowseSafe++ benchmark is built to measure that risk with evidence from the real web, not with made-up attacks.

The benchmark holds 38,675 pairs of pages. Each pair contains an attacked page and its clean twin, identical except for the injection itself. Most pairs come from injections that Comet's detector flagged on real sites between September 2025 and September 2026, a pool of 1.15 million flagged injections, with 6,488 pairs carried over from the original BrowseSafe benchmark. To protect privacy, the surrounding page content was rewritten with fictional details while the injection itself was kept verbatim. Every page is supplied in the four forms a browser agent actually reads: HTML, Markdown, an accessibility tree, and a screenshot.

Alongside the benchmark, Perplexity trained BrowseSafe-Guard, two detectors of just 0.8 billion parameters each, one for text and one for screenshots, fine-tuned from Qwen3.5-0.8B. Because Guard trains on pairs that differ only by the injection, it learns to react to the attack rather than to the page around it. On the benchmark it reaches about 95% F1 across the text views and about 93% F1 on screenshots, ahead of every prompted model Perplexity tested, while flagging only about one clean page in twenty. It is also cheap enough to run everywhere: roughly 0.15 seconds of GPU time per text page, or about $0.18 per 1,000 pages on a rented H200, against $18.95 to $180.61 for the frontier API models in the comparison.

The most sobering finding is that spotting an attack is not the same as resisting one. When Perplexity gave models the same attacked page twice, once to judge it and once to complete the task, every model still followed some injections it had flagged. A second test, BrowseSafe-Adapt, let an attacker model rewrite failed injections and try again, and success rates climbed sharply: at least 79% of tasks fell against five of seven agents within 64 attempts. Screening pages with Guard first blocked 94.5% of the original injections and nearly doubled the attempts attackers needed, yet it did not make agents invulnerable. Perplexity's conclusion is plain: a fast, dedicated detector belongs in front of the agent, inside a layered defence, not as a replacement for one.

BrowseSafe++ is open for research. The project site links the gated dataset, the evaluation SDK, the paper, and a public leaderboard where teams can score detectors on held-out test pages. For anyone building or deploying a browsing agent, it is now the most realistic public yardstick for a threat that grows with every new tool agents are given. Read the official announcement

Read the original · perplexity.ai

Share