Skip to content
The Injection_
LIVE
LIVElast sweep next in--:--:--

[ RSS ][ JSON ][ llms.txt ]

WebSec: AIR scores eight search APIs that feed AI agents

WebSec is AIR Security's benchmark for how much malicious or risky content web search APIs serve to AI agents.

· AIR Security · Research by Shahar Levy, Shay Lempert, Niv Hoffman

Firecrawl
WebSec benchmark announcement header image
INFOBenchmark

AIR Security tested eight web search APIs built for AI agents and reports that every one returned malicious or risky content to ordinary coding queries, 1,026 times across more than 282,000 results.

01What happened

AIR Security published WebSec on 23 November 2026, a benchmark by Shahar Levy, Shay Lempert and Niv Hoffman that AIR says is the first to measure how safe agent search APIs are. The team sent 4,719 real coding-agent queries to eight search APIs and scanned more than 282,000 results. Agents were served malicious or risky content 1,026 times.

02How it works

Each result page is fetched twice, once as an AI agent and once as a browser, so content shown only to agents is caught, and the pages then pass through risk detectors. Two scores come out of that: a Risk Index, the average severity served per query, and a WebSec Index, where a higher number is safer. AIR points to two attack patterns from its earlier work: Web Hole, where an abandoned domain that still ranks in search is re-registered and filled with instructions, and SolanaCry, a fake Solana starter kit that ranked first in search and installed a remote access trojan.

03Who is affected

Any agent that reads search results from one of these APIs is in scope. AIR reports that no query in the set mentioned anything malicious, and that no API returned clean results. Scores and the ranking gap are listed below, and AIR notes that Brave powers Claude's web search.

04What to do

Treat search results reaching an agent as untrusted input, and check which search API your agent stack uses against the rankings on AIR's benchmark site. AIR reports that 534 searches surfaced known-malicious content, at exposure rates from 0.8% to 2.2%, so changing provider alone does not remove the need to check what an agent reads before it acts.

Questions people ask

Which search API scored best on the WebSec benchmark?
Firecrawl scored highest on AIR Security's WebSec Index at 21.59, followed by Tavily at 18.59, with Perplexity also named among the top performers. You.com ranked last at 5.02. AIR describes the distance between the safest and riskiest provider as more than fourfold. A higher WebSec Index means safer, because it is derived from the average severity served per query.
Does a good WebSec score mean an agent search API is safe?
No. AIR Security reports that none of the eight search APIs returned clean results, even though no benchmark query mentioned anything malicious. Malicious documentation, hijackable domains and dangerous commands appeared across all of them. The WebSec Index ranks relative exposure, so a top score means less risky content than rivals, not an absence of risky content.
How did AIR Security test the search providers?
AIR Security generated 4,719 queries from 850 real coding-agent sessions, filtered them with two judge models, and sent them to eight search APIs. Each returned page was fetched twice, once as an AI agent and once as a browser, to catch content shown only to agents. Results then passed through risk detectors, covering more than 282,000 results in total.

Sources 2 links, all fetched

  1. 1air.securityAIR Research
  2. 2websec.air.securityWebSec Benchmark