WebSec Benchmark: 8 Search APIs Fed Coding Agents Bad Content
TL;DR
- AIR Research Lab's WebSec Benchmark ran 4,719 coding-agent queries across 282,000+ results; all eight tested search APIs returned known-malicious content at least once.
- Per-API hit rates ranged from 0.8% to 2.2%, which the authors frame as one bad search in every 45 to 125 queries.
- Firecrawl topped the safety index at 21.59, Tavily next at 18.59, You.com last at 5.02; a cited GitHub repo named SolanaCry had 286 stars.
"AI coding agents act on whatever web search hands them, and no person checks first," three researchers at AIR Research Lab write in a Hacker News column. "In AIR's tests, all eight search APIs handed them known-malicious content."
The study, called WebSec Benchmark, ran 4,719 real coding-agent searches across more than 282,000 returned results. Eight commercial APIs were tested: Firecrawl, Tavily, Perplexity, Parallel, Exa, Nimble, Brave, and You.com. "Every one of the eight served known-malicious content at least once." Per-API hit rates ran from 0.8% to 2.2%, which authors Niv Hoffman, Shay Lempert and Shahar Levy phrase as "one bad search in every 45 to 125."
The team turned that rate into an operational number. A company running 5,000 agent searches a day lands on roughly 50 malicious results daily.
One worked example is a GitHub repository called SolanaCry with 286 stars, aimed at Solana crypto projects. Its README carries a PowerShell one-liner that installs the NetSupport Manager remote-access tool and persists across restarts. "The repository, known as SolanaCry, and its payload are real. The researchers recovered the payload from the Web Archive after its download link went dead and tied it to known NetSupport Manager campaigns."
Firecrawl topped AIR's safety index at 21.59, Tavily next at 18.59. You.com came last at 5.02. The column does not publish scores for the other five APIs.
The authors keep returning to one line about how these systems actually work. "An agent reads and acts in one step, often with a shell and the developer's credentials within reach." That window is where six categories of attack live: prompt injection, typosquatting, hallucinated-package indexing, SEO and AEO manipulation, expired-domain hijacks, and content engineered to steer agents.
"Web search is part of the software supply chain now," the authors write. The piece lands the same day AI Weekly covered reports that Codex was used to tune a hidden Office bug.
Originally reported by thehackernews.com
Read the original article →Original headline: WebSec Benchmark: All 8 Major Search APIs Served Malicious Content to AI Coding Agents in 4,719 Tests