🇺🇸 English 🇰🇷 한국어 🇯🇵 日本語
Home › Developer Tools
Developer Tools

All 8 Search APIs Fed AI Agents Risky Content

AIR Research Lab said on Nov. 23 that all eight web search APIs it tested for AI agents returned malicious or risky content. Its WebSec benchmark ran 4,719 ordinary queries, scanned more than 282,000 results and logged 1,026 dangerous hits, ranking Firecrawl, Tavily and Perplexity safest and Brave and You last.

Every one of eight web search APIs built for AI agents returned malicious or risky content in a new security benchmark from AIR Research Lab, the research arm of agent-security company AIR. The study, called WebSec and published Monday, Nov. 23, ran 4,719 ordinary queries and scanned more than 282,000 results, finding agents were served malicious or risky content 1,026 times.

A laptop screen showing Python code beside a terminal window
Coding agents often search the web, then act on what they find in code and terminal sessions like this one. File photo · 사진: Aman03062006 / 위키미디어 공용(CC0 1.0)

Key takeaways

  • AIR tested eight agent-focused search APIs with 4,719 queries that never mentioned anything malicious. No API came back clean.
  • Agents were served malicious or risky content 1,026 times, including malicious documentation, hijackable domains and dangerous commands.
  • Firecrawl, Tavily and Perplexity ranked safest. Brave, which AIR says powers Claude's web search, and You ranked last, with a more than fourfold gap between the top and bottom scores.

What the WebSec benchmark tested

AI coding agents increasingly search the web when they hit an error, then install the package or run the command they find. AIR set out to measure how often the search APIs that feed those agents hand them something harmful, according to a blog post by researchers Shahar Levy, Shay Lempert and Niv Hoffman.

The team sent the same set of everyday developer-style queries through eight search APIs marketed for agent use and checked more than 282,000 returned results. "Not one query mentioned anything malicious, yet no API came back clean," the researchers wrote.

AIR combines the findings into a single WebSec Index score per engine. The company says the gap between the safest and riskiest provider is more than fourfold. Full per-engine scores and methodology sit on a separate benchmark site; AIR's post names five of the eight providers tested.

Which search APIs ranked safest for AI agents

Firecrawl, Tavily and Perplexity came out on top, AIR said. Brave Search and You ranked last. AIR notes that Brave powers the web search tool used by Anthropic's Claude agents, a link it also described in earlier research.

AI Newsway did not find public responses from the ranked providers by publication time. The benchmark is run by a company that sells agent-security tools, and its results have not been independently replicated.

How a search result can hijack an agent

WebSec builds on two earlier AIR reports. In "Web Hole," published Oct. 23, the lab checked about 2,000 queries and roughly 6,500 sites and found 36 sites still appearing in search results even though their domains had lapsed and were open for anyone to buy. It also found pages that address AI agents directly with instructions and pages that show agents different content than human visitors.

In "SolanaCry," published Oct. 29, AIR described a fake Solana starter kit on GitHub that ranked first in search; its install step placed a remote access trojan on the machine of any agent that ran it.

Context: agents are now a target

The benchmark lands amid a run of attacks aimed at coding agents. On Nov. 17, Bitdefender Labs reported 22 malicious GitHub links that use files such as AGENTS.md, CLAUDE.md, session-start hooks and MCP configurations to get AI coding tools to run a credential-stealing payload. The malware then hunts for configuration files belonging to 14 named agents.

AIR's post also cites Cloudflare figures that bots and AI agents made 57% of requests to websites as of June 2026, and a Google Threat Intelligence and DeepMind finding that malicious prompt injections rose 32% in three months. AI Newsway has reported how AI gateways shape where developer traffic goes, another layer agents now depend on.

What's next

AIR's earlier work recommends vetting any untrusted web content before it reaches an agent's context, a risk it says grows as agents run without supervision. Developers choosing a search API now have a security ranking to weigh alongside accuracy and latency benchmarks, though no provider has yet said whether it will change its filtering.

FAQ

Does this mean Claude's web search is unsafe?
AIR ranked Brave, which it says powers Claude's web search, near the bottom. The study measures what the search engine returns, not how the agent handles it afterward.

Did the queries try to find malware?
No. AIR said none of the 4,719 queries mentioned anything malicious; they mimicked ordinary agent searches.

How can developers reduce the risk?
Limit what an agent can execute without approval, treat search results and fetched pages as untrusted input, and review setup scripts and agent configuration files before running them.

References

#WebSec #AIR Security #AI agents #search API #coding agents #prompt injection #Firecrawl #Tavily #Perplexity #Brave Search #AI security
S
Seung Jung
AI Newsway · Developer

Editor responsible for AI Newsway. Writes about AI, developer tools, cloud and productivity technology.

More by this reporter ›
Copyright © AI Newsway All rights reserved. Unauthorized reproduction, redistribution, and AI training prohibited.
Share
f X K

Comments 0

Comments are currently disabled.

Be the first to comment.