AIDEFEND in Action AIA-0156 Incident

SolanaCry: When an AI Coding Agent's Web Search Leads to a Fake Starter Kit and a Remote Access Tool

AIR Security reported on October 29, 2026 that a GitHub repository, SolanaUpdateTools/solana-starter-kit, posing as a starter kit (a ready-made project skeleton) for Solana, a blockchain platform, ranks first when an AI coding agent searches the web for one. Its README has a single installation step: a PowerShell command that downloads a script and runs it in memory. The script installs NetSupport Manager, a legitimate remote access tool, set to connect to an operator's server and to start at every Windows login. The repository, the command and the script were found in the wild, and BleepingComputer confirmed the script analysis. No compromised agent session or victim has been documented.

Indirect Prompt InjectionMalwareRuntime IsolationTool AuthorizationAI Coding Agent
9 applicable AIDEFEND defenses
Source: SolanaCry: Malware in the wild steals crypto wallets from web-browsing AI agents 
Authors: Eliad Mualem, Dor Granat (AIR Security)
Original article: Oct 29, 2026

Threat Analysis

  • What was found. AIR Security's research lab found a public GitHub repository, SolanaUpdateTools/solana-starter-kit, created in November 2025 and showing 286 stars. It described itself as an open-source template for Solana applications. BleepingComputer, which examined the repository on October 29, 2026, reported that none of the promised code existed and that the README was the only file.
  • How an agent would reach it. AIR lays out the path this way: a developer asks an AI coding agent to build a Solana project; the agent decides to search the web for a starter kit (AIR notes that Claude Code's web search runs on Brave Search); the agent picks this repository from the results; and the README tells it what to run. AIR says the repository ranks as the top result for that search, and that the ranking, the star count and a convincing description make it a likely pick. AIR does not publish the query, the date or a transcript, so the ranking is AIR's reported observation and the agent steps are a described path. No agent session that executed the command is documented. Search tools returning harmful content to agents is not rare: in a separate measurement published on November 23, 2026, AIR ran 4,719 ordinary queries through eight search APIs built for agents, scanned more than 282,000 results and counted malicious or risky content 1,026 times.
  • The install step is the attack. The README's only installation step is a single PowerShell command. It builds the address developer-update.app/update/indicator from four short strings, downloads the content with iwr (Invoke-WebRequest) and passes it to iex (Invoke-Expression), which runs the downloaded text as code in memory. Nothing in the README is hidden or addressed to a model. It reads as an ordinary setup instruction, which is why an agent following documentation would treat it as part of the task. Because the command is PowerShell, AIR says this script only infects Windows machines.
  • What the script installs. The download address returned HTTP 404 when AIR checked, so AIR analysed a copy saved by the Web Archive: indicator.ps1, 21,123,011 bytes. BleepingComputer retrieved the archived script as well and confirmed AIR's findings. The script creates a hidden folder named y2inwRnI6G under %LOCALAPPDATA% and writes 14 embedded files there: 13 genuine, signed components of NetSupport Manager, a legitimate commercial remote access tool, and one attacker-written client32.ini. It then adds a SecureModule value under the current user's Run registry key so that client32.exe starts at every login, waits ten seconds, launches the client, clears the Run dialog history and deletes itself. BleepingComputer adds that the script shows a fake error saying developer functionality is temporarily paused due to load and to try again in 72 hours.
  • What the operator gets. client32.ini points the client at maxwintodaybtc.com on port 443, turns off the chat, message and disconnect interface, and accepts any operator from any address. NetSupport Manager's normal features then work for whoever controls that gateway: viewing and controlling the screen, keyboard and mouse input, file transfer, a remote command shell, audio capture and registry access. That is why AIR's headline speaks of crypto wallets: anything the logged-in developer can reach, the operator can reach. These are capabilities of the installed tool. No operator session, file theft or wallet theft is documented.
  • The same playbook with a new audience. AIR ties the sample to earlier activity through two details. The RADIUSSecret value in client32.ini is the same one eSentire lists for the NetSupport cluster it calls EVALUSION, which eSentire tracked in ClickFix campaigns (lures that talk a person into pasting a command into their own computer). And the install command is built the same way, down to the variable names, as one Fortian documented in October 2025 in a campaign that lured traders with fake TradingView videos. AIR dates the registration of developer-update.app to October 20, 2025, with the Solana repository following in November. The link rests on a shared configuration value and command structure, and none of the sources names an individual or group beyond eSentire's cluster label. AIR expects new repositories and domains from the same playbook.

Applicable AIDEFEND Defenses (9)

AID-I-001.004
Sandbox Network Egress Restrictions
Very High
Run the agent's shell and every process it starts inside a sandbox whose outbound connections go through a gateway or firewall the sandbox cannot reconfigure, blocked by default except for exact destinations such as the team's package registries and source host. The README command then fails at its first network call: developer-update.app is not listed, so iwr returns nothing for iex to run, even when the agent has accepted the README and nobody reviews the command. Commands run directly on the workstation, or a script hosted on a destination the list already allows, are not covered. The same outbound list also covers the last step. If the script arrived some other way and the NetSupport client started inside the sandbox, its connection to maxwintodaybtc.com on port 443 is refused, so the operator receives no session. The grade is lower at this step because a client started on the host by the Windows logon entry runs outside this boundary.
AID-H-017.002
Least-Privilege Tool Architecture
High
An agent that scaffolds projects does not need an open PowerShell. In organization-managed agent permissions, allow only the named commands the work requires, such as the approved package manager, git and the project's build tools, and deny PowerShell, cmd and any interpreter call that takes inline script text. The permission check then refuses the README's powershell -Command line before anything is downloaded, whatever the model concluded about the README. AIDEFEND's guidance shows the principle with narrow database tools; for a coding agent it is applied in the permission settings. Allowed commands that run third-party code themselves, such as package install scripts, remain a path, so the sandbox is still needed.
AID-I-001.002
MicroVM & Low-Level Sandboxing
High
When agent-run commands execute in an isolated runner instead of the developer's Windows session, the script's hidden folder and NetSupport files are written to the runner's own filesystem and never reach the developer's real profile. The runner also holds no browser profiles, wallet files, SSH keys or cloud credentials for a remote operator to take. AIDEFEND's guidance layers operating-system sandbox rules beneath a microVM or user-space-kernel boundary, with Linux and macOS examples; on Windows workstations the practical equivalent is a virtual-machine-backed workspace for the agent's commands. Whatever is mounted into that workspace, including project secrets, stays exposed to code that runs there.
AID-I-001.003
Ephemeral Single-Use Sandboxes for Tools
High
A logon entry is only useful on a machine that will be logged into again. If each high-risk command or agent task runs in a fresh sandbox that a broker destroys when it ends, the SecureModule Run value, the hidden folder and the running client disappear with it, and the session the operator expected at the next login never exists. The client can still run until teardown, so this control shortens how long a foothold lasts and does not prevent execution; pair it with the outbound list above. A long-lived development virtual machine or a reused image keeps the entry.
AID-H-018.003
High-Impact Independent Validation & Approval Gate
Medium
Before an agent runs a command that downloads and executes remote code, an approval gate can stop and show a person the exact command, ideally with its resolved effect: this line fetches a script from developer-update.app and runs it. Approval is bound to that exact command, so a changed command needs a new decision. The gate only helps if auto-approve modes are disabled in managed settings and the approver recognizes what the line does. The lure is written to look like a routine install step and assembles its destination from fragments, so the outcome depends on a person's judgment. For that reason it is graded as a supporting control.
AID-D-003.003
Agentic Tool Use & Action Policy Monitoring
Medium
Sending every allowed and denied agent tool decision to the central SIEM gives the security team a record of which workstation ran, or tried to run, an inline PowerShell download. A rule on allowed shell decisions that combine a web download with Invoke-Expression, or on a burst of denied ones, turns a quiet compromise into an alert and tells responders where to look. This is detection after the decision: it does not stop the command, and it requires the agent product to export its tool decisions.
AID-E-003.003
Confirmed Malicious Code & Persistence Eviction
Medium
Once a machine is confirmed infected, eviction means removing the exact startup object and the files it launches: after preserving evidence, delete the SecureModule value under the user's Run key and the y2inwRnI6G folder with its client32.exe, then have a separate identity confirm that the value is gone and no client32.exe starts at the next login. The guidance is written for file-backed startup objects, so a Windows registry value needs a tool that handles the registry. Because the client gave an operator interactive access, other changes may exist that these indicators do not list; rebuilding the machine from a known-good image is the safer way to close the incident.
AID-E-001.001
Root & Long-Lived Credential Object Eviction
Medium
If the client ran and reached its gateway, every long-lived credential usable from that machine has to be treated as exposed: cloud access keys, package-registry and source-control tokens, SSH keys and API keys in project files. Rotating them at the issuer, moving every consumer to the replacement and then proving that the old value is refused removes what the operator could keep using after the client is gone. The guidance's worked example is a single cloud access key; each other credential type needs its own issuer procedure. Wallet private keys cannot be revoked at any issuer, so funds have to be moved to a wallet created on a clean device. No theft is documented in this case, so this is a conditional response step.
AID-E-001.002
Issued Token, Authentication Session & Lease Revocation
Medium
Rotating keys does not end sessions that already exist. Browser cookies, single sign-on sessions and OAuth tokens issued to developer tools on the machine stay valid until the issuer revokes them, and an operator with screen control could use them in place. Revoke the developer's sessions and tokens at each identity provider and service, and confirm with a retained token that access is denied. The guidance shows one identity provider; every service the developer was signed into needs the same step. As with the key rotation above, this applies only if the client actually connected.

What Defenders Should Do Now

  • Check whether your coding agents can run a download-and-execute command unattended. In a test workspace on a managed developer machine, ask the agent to run a harmless inline PowerShell command and a harmless script fetched from an internal test host. The check passes only if the agent refuses both, or stops for approval, in every mode developers actually use, including any auto-approve or bypass mode. If a mode lets the commands through, disable that mode in organization-managed settings and allow only the named commands that scaffolding work needs. For Claude Code, the product documentation describes managed settings that user and project settings cannot override, deny rules that remove a whole tool, and a setting that disables the bypass-permissions mode.
  • Check where agent-run commands execute and what they can reach. From the agent's shell, try to reach an unlisted external host, write a file into the developer's Windows profile and read a credential store. With the command runner inside a sandbox, all three attempts should fail and the approved package registries should still work. If agents run commands directly on the workstation, move that work into a disposable sandbox whose outbound connections are restricted by a control the sandbox cannot change.
  • Hunt for AIR's indicators on Windows developer machines. Look for a hidden folder named y2inwRnI6G under %LOCALAPPDATA%, a SecureModule value under HKCU\Software\Microsoft\Windows\CurrentVersion\Run, a client32.exe process running from that folder, and outbound connections to maxwintodaybtc.com:443 or developer-update.app. Also search agent and shell history for commands that pass iwr output to iex.
  • If any indicator is present, treat the machine as remotely controlled. Disconnect it, preserve evidence, remove the folder and the Run value or rebuild the machine, and then revoke and reissue every credential and session that was usable from it: cloud keys, source-control and package-registry tokens, SSH keys and browser sessions. Wallet private keys cannot be revoked, so move the funds to a wallet created on a clean device.

2 additional considerations

A reviewed source for project templates

The mapped defenses act when the agent tries to run a command. Teams can also reduce how often an agent goes to open web search for project scaffolding in the first place.
Recommendation: Platform engineering can publish an internal catalog of reviewed starter templates and scaffolding commands, and state in the agents' centrally managed project instructions that new projects start from that catalog. Where the agent product supports it, restrict web search and web fetch for scaffolding tasks to approved documentation domains. This depends on the catalog being kept current, and instructions guide the agent without binding it, so the execution controls above still apply.

Endpoint detection for unapproved remote access tools on developer machines

NetSupport Manager is legitimate software signed by its vendor, so the dropped files do not stand out to signature-based malware scanning.
Recommendation: Endpoint security can use application control to block remote management tools the organization has not approved, alert when a command interpreter writes such a tool into a user profile folder, and add AIR's indicators (the folder name, the Run value, the gateway and download domains) to endpoint and DNS monitoring. This requires an inventory of the remote tools IT actually uses. The operator changes domains and folder names between campaigns, so behavior-based rules will outlast the specific indicators.

Conclusion

Nothing in this chain needed a new exploit. A search result, a README and a shell were enough, and AIR links the same command structure to an earlier campaign aimed at people. What changes is that the reader of the README may be an agent that can run the command with nobody looking. AIDEFEND  maps this path to defensive techniques at the point where a recommended command becomes execution: a tool surface without an open shell, a sandbox for agent-run commands whose outbound connections are limited to approved hosts, and single-use workspaces that leave no logon entry behind. With those controls in place, an agent that picks the wrong repository cannot fetch the script, and anything that does run cannot reach the developer's profile or the operator's gateway.

Last updated: