Skip to content
AI.info

The Pulse

AIR says eight AI search APIs returned malicious content in tests

AIR tested eight search APIs with 4,719 queries and found malicious content in results from each one. Its WebSec benchmark ranks the services using a safety score and examines risks including hijackable domains and dangerous commands.

AIR says eight AI search APIs returned malicious content in tests

All eight search APIs tested for AI agents returned known-malicious content at least once, according to a new benchmark from security company AIR. The company said it checked more than 282,000 results from 4,719 ordinary queries, none of which mentioned anything malicious.

Source air.security

The WebSec benchmark, published November 23, ranks search providers by a safety score. AIR’s researchers said agents were served malicious or risky content 1,026 times across the tests.

Results across providers

The APIs tested were Firecrawl, Tavily, Perplexity, Parallel, Exa, Nimble, Brave and You.com. Across about 37,700 searches, 534 surfaced content already known to be malicious, according to an article contributed by AIR researchers to The Hacker News.

In the WebSec Index, where a higher score indicates greater safety, Firecrawl scored 21.59 and Tavily scored 18.59, the two highest results. You.com scored lowest at 5.02, the researchers wrote.

The company’s post also placed Perplexity among the top performers and Brave alongside You.com at the bottom. It said the gap between the safest and riskiest engines was more than fourfold.

How the test was built

AIR’s researchers began with 8,684 recorded sessions in which open-source coding agents worked on real GitHub issues. They selected 850 sessions with the most material to search for and used a model to generate searches a developer might make, including queries about errors, builds and packages.

Two judge models selected the 3,220 most realistic searches from 42,296 generated queries. Another 1,499 searches about installing and choosing packages brought the test set to 4,719, the researchers wrote.

The researchers opened each result twice, once posing as an agent and once as a normal browser, because some pages present different content to each. Seventeen checks examined elements including domains, packages and installation commands, and the research team reviewed every finding.

Risks in search results

The benchmark found malicious documentation, domains that could be hijacked and dangerous commands across the providers, AIR said. Its researchers grouped threats into categories including prompt injection, lookalike names, search-ranking manipulation and content that directs an agent toward harmful actions.

Prompt injection can include instructions aimed at an agent in hidden text, HTML comments or a repository’s README file. Lookalike names can involve domains, packages or repositories that resemble legitimate ones, the researchers wrote.

Another category involves package names that AI models invent but that have not been published. The benchmark found installation steps for unpublished packages, according to the researchers.

Earlier examples

AIR connected the benchmark to its earlier Web Hole research, which examined abandoned domains still appearing in search results. In that study, the researchers said they found 36 results on unregistered domains after running about 2,000 everyday developer queries.

The company also described a separate case called SolanaCry: a GitHub repository posing as a Solana starter kit ranked first in search. AIR said its installation step placed a remote access tool on the machine of an agent that ran it.

Sources

  1. Original source AIR Security “Introducing WebSec: The first benchmark of how secure are web search providers for agents” air.security

Other pages read

  1. The Hacker News “AI Coding Agents Are Getting Malicious Results From Web Search Indexes, WebSec Benchmark Finds” thehackernews.com

Related stories

Explore

More articles