How a Fake GitHub Project Reportedly Turned an AI Assistant Into a Run Command
A deceptive repository, if the reported chain is accurate, shows how an AI coding agent can be pushed from reading instructions to launching malware when trust controls are too loose.
An AI coding agent is supposed to speed up work, not obey a hostile README. But the reported SolanaCry case points to a sharper problem: when a tool is allowed to inspect public repositories and execute shell commands, a malicious project can become an instruction set for compromise. A researcher-reported technical chain described a PowerShell download-and-execute step followed by a NetSupport-based payload, which matters because the danger lies less in one brand name than in the permissions granted to the agent.
Fast Facts
- A fake GitHub repository reportedly lured AI coding agents into installing malware labeled SolanaCry; the mechanism is not independently confirmed in the supplied material.
- The reported payload used NetSupport for remote access to Windows PCs, but the supplied material does not confirm which devices, if any, were actually accessed.
- The case is best read as a trust-boundary failure, not as proof of a GitHub vulnerability or a flaw in every coding agent.
- The supplied material does not establish data theft, victim counts, or the identity of any attacker.
- PowerShell and legitimate remote-access tools are common in administration, which is exactly why they are also attractive to intruders.
Why the trap works
AI assistants that can browse repositories, read setup notes, and invoke a terminal can be steered by untrusted text. That is the core lesson here. If an agent treats a README as authoritative and has permission to run commands, a malicious maintainer can use documentation as the delivery vehicle for code execution. GitHub itself is not the vulnerability in that model; the risk appears when automation is asked to trust content that has not been verified.
That distinction matters operationally. In the reported chain, the malware path was said to rely on PowerShell and on NetSupport, a legitimate remote-support tool that adversaries often abuse because it blends into normal Windows administration. MITRE ATT&CK tracks this behavior as abuse of remote access software. On a defended endpoint, the presence of such tooling should trigger scrutiny, not assumptions about intent.
From a defensive perspective, the main failure mode is permission sprawl. If an agent can download remote content, execute scripts, and touch sensitive directories, then a hostile repository may be enough to turn an assistant into an installer. The safer pattern is narrow access: isolated environments, least-privilege accounts, explicit human approval for downloads and execution, and logging that flags unexpected script interpreters or new remote-access software.
At the time of writing, public information does not fully establish the technical root cause, the complete scope of affected users, or whether downstream systems were compromised. The available information supports a risk analysis, not a definitive claim of broad breach or negligence.
Conclusion
The broader lesson is uncomfortable but simple: when software can act on instructions, attackers do not need to break the system if they can poison the instruction stream. For teams adopting AI coding agents, the real security question is no longer just what the model can read, but what it is allowed to do after it reads it.
WIKICROOK
- AI coding agent: An automated developer tool that can read code, inspect repositories, and sometimes run commands.
- Trust boundary: The line between input that is merely read and input that is allowed to trigger action.
- PowerShell: A Windows scripting environment often used for administration and also abused in malware delivery.
- Remote access software: Tools that enable control of a machine from afar and can be repurposed for unauthorized access.
- Least privilege: A security principle that gives a tool only the access it needs, reducing damage if it is manipulated.



