Back

Introducing WebSec: The first benchmark of how secure are web search providers for agents

Introducing WebSec: The first benchmark of how secure are web search providers for agents

AI agents search the web while they work and act on what comes back. To see how safe that is, AIR ran thousands of real agent searches through popular search APIs built for agents and checked more than 282,000 results. Every engine returned malicious content: agents were served malicious or risky content 1,026 times. The WebSec Index ranks the engines on one score, and the gap between the safest and the riskiest is more than fourfold.

Shahar Levy
,
Shay Lempert
,
Niv Hoffman
November 23, 2026
Share

Search is the new attack surface

The web is becoming agentic. Bots and AI agents now make 57% of requests to websites, more than people do (Cloudflare, June 2026). Some are agents working for a user: they search, read pages, install packages and run commands. Others are crawlers that build the search indexes and datasets those agents rely on. The share keeps rising, and as agents take on more of the work people used to do themselves, it will only grow.

That gives attackers a new way in. Instead of tricking a person into clicking a link, they only need a page that an agent will find and trust. Agents find pages through search, so poisoned results, lookalike domains and fake packages are now aimed at them, and malicious prompt injections rose 32% in just three months (Google Threat Intelligence and DeepMind, 2026).

How a search result can hijacks an AI agent

AIR Research Lab has already shown how this plays out:

  • Web Hole: abandoned domains that still sit in top search results can be registered by anyone and filled with instructions that agents will follow.
  • SolanaCry: a fake Solana starter kit on GitHub ranked first in search. Its install step put a remote access trojan on the machine of any agent that ran it, giving the attacker control.

Both attacks started with a search result. That raised the question behind WebSec: how often do the search APIs that agents rely on hand them something dangerous, and which ones do it most?

WebSec Benchmark

We tested eight search APIs with 4,719 ordinary queries and scanned more than 282K results. Not one query mentioned anything malicious, yet no API came back clean. Malicious documentation, hijackable domains and dangerous commands showed up across all of them.

The gap between providers was real, and now it’s measurable. Firecrawl, Tavily and Perplexity came out on top, while Brave (which powers Claude’s web search) and You ranked last.

Explore the rankings and methodology:

WebSec Benchmark
Table of Contents