The agent supply chain just became part of the attack surface
TrojanPony is a warning about the new shape of software supply-chain risk: not only poisoned packages, typosquatted libraries or compromised build scripts, but reusable “skills” and plug-ins that developers hand to AI coding agents. Reporting published on November 30 says the campaign reached 487 public GitHub repositories and used poisoned coding-agent skills and plug-ins to spread a Windows credential-stealing Trojan through the developer ecosystem .
The mechanism matters because Claude Code skills and similar agent extensions are designed to be reused quickly. They are attractive precisely because they save time: a developer can pull in a community skill, wire it into an assistant, and let it operate near a terminal, codebase, browser session or secret store. TrojanPony shows how that reuse model can be inverted. Attackers reportedly published “improved” copies of popular skills and plug-ins, including fake versions of well-known projects, while leaving the tools functional enough to look legitimate .
AIR Security’s findings, as summarized by current coverage, put the campaign’s scale at 487 public repositories as of November 26, including 413 surviving malicious forks after the original attacker account was removed . That scale is not catastrophic in classic malware-count terms, but it is significant in agent terms: each install potentially places hostile code in the workflow of a person who may hold GitHub tokens, cloud credentials, SSH keys, API tokens and access to CI/CD systems.
Why TrojanPony is more than a malware story
The payload was Windows-specific, but the strategic lesson is broader. Reports describe a technique in which an infected skill launches a renamed, validly signed Notepad++ updater, then sideloads a malicious libcurl.dll from the same folder . That DLL adds Microsoft Defender exclusions, drops MopsStealer, persists under the guise of RuntimeBroker.exe, and can fetch further credential-stealing modules from attacker infrastructure .
The campaign also exploited trust signals that developers often use when moving quickly. One malicious skill reportedly remained on a public skills directory after passing three independent scanner audits, while several repositories accumulated thousands of stars and appeared in GitHub trending digests . Another November 30 report noted that the fake skills looked like harmless “improved” versions of popular tools and that the original attacker account was gone, but copies remained .
That is the real scaling mechanism. Agent extensions are not merely files; they are permissions waiting to be exercised. When a developer gives a coding assistant a skill, the assistant may call it repeatedly, combine it with other tools, and operate in a context where credentials are already loaded. Conventional package scanning is useful, but TrojanPony suggests it is insufficient when the object being installed is an agent capability that can execute, spawn processes, alter defenses and interact with repositories.
Security teams should treat agent skills like production dependencies with runtime privileges. At minimum, that means provenance checks against original author repositories, commit pinning, review of skill files before installation, allow-listed skill registries, endpoint detection tuned to agent directories, and separation between developer convenience tokens and high-value production secrets. If a TrojanPony-style skill ran on a Windows machine, current reports relay the recommendation to isolate and reimage the host, then rotate credentials from a clean device, starting with GitHub tokens .
Cairn AI shows the other side of agentic risk
TrojanPony is the supply-chain side of the story; Cairn AI is the operational side. A November 30 DigitalShield report, citing Amazon Threat Intelligence, says China-linked actors used the open-source Cairn autonomous penetration-testing framework in a campaign against universities in East Asia . The operator reportedly supplied target IP addresses and a natural-language goal such as obtaining shell access, while Cairn coordinated multiple agents to plan, execute and adapt without the operator selecting every next step .
The reported campaign began after AWS specialists found a publicly exposed Cairn instance on September 10, with operational history visible, prompts in Simplified Chinese and timestamps set to China Standard Time . Several attempts failed, including a 16-hour sequence of 148 actions aimed at Log4Shell and another six-hour credential attack using more than 30,000 password combinations . The breakthrough came when agents found a previously unknown directory-traversal flaw in an open-source medical-imaging diagnostic application, allowing compromise of one academic institution and reuse against a second .
That timeline is important because it reframes AI in cyber operations. The headline is not that an attacker asked a model for a phishing email. It is that an agentic system could absorb a broad objective, test paths, fail, continue, discover a viable exploit path, and keep operating across hours. For universities, the risk is acute: academic networks often combine research servers, student systems, legacy software, public services and decentralized administration. Those conditions create exactly the kind of uneven attack surface autonomous tools can enumerate faster than human teams can triage.
Europe’s warnings connect the dots
European agencies are now describing the same pattern in critical infrastructure. A November 30 report on Swiss and Italian warnings says Switzerland’s National Cyber Security Centre confirmed its first reported cyberattacks involving AI agents, affecting organizations and critical infrastructure operators across at least two sectors . The same report says Italy’s CSIRT observed mass-compromise campaigns in which autonomous agents used frameworks such as ARTEX, CyberStrikeAI, PentAGI and DeepSeek Harness in Red Team Mode .
The Italian observations are especially relevant to industrial defenders because they describe agents working in parallel, chaining misconfigurations and low-impact flaws, adapting modules, and writing malicious code during operations to bypass endpoint defenses . Switzerland’s warnings emphasize that publicly accessible AI agents such as ARTEX and CyberStrikeAI had nearly doubled since October 2026, increasing the chance that attackers can move faster than traditional detection and response cycles .
A separate November 29 analysis of the Swiss advisory and Microsoft’s ARTEX research framed the issue as a transition from demonstration to confirmed incident: national agencies are no longer talking only about theoretical agent risk, but about compromises in which agents helped attackers reach systems . That analysis also noted that the defensive advice remains conventional — reduce internet exposure, patch quickly, enforce MFA or passkeys, use least privilege and watch for behavioral anomalies — because the agents generally automate known techniques rather than inventing magic ones .
The defensive model needs to move closer to the agent
The common thread across TrojanPony, Cairn and the Swiss-Italian warnings is speed multiplied by delegated authority. TrojanPony abuses trust in community tooling; Cairn uses agent orchestration to keep probing until something works; European agencies see autonomous frameworks compressing the time between discovery, exploitation and persistence. In each case, the agent is not just a helper. It is a scale amplifier.
Defenders should respond at the same layer. For developer agents, that means extension provenance, signed and pinned skills, separate low-scope tokens, sandboxed execution, and alerts for unexpected binaries inside skill or plug-in folders. For enterprise and industrial networks, it means shrinking internet-facing exposure, patching critical external systems within aggressive windows, enforcing phishing-resistant authentication, limiting egress from servers, and logging the sequence of agent-like actions rather than only individual events.
The most dangerous assumption is that AI cyber risk is still mostly about content generation. TrojanPony shows that the agent ecosystem itself can be turned into a malware distribution channel. Cairn shows that autonomous agents can run real intrusion logic against real targets. The Swiss and Italian warnings show that infrastructure operators are already in scope. Four hundred malicious ponies are not a curiosity. They are a sign that the boss raid has started.


Comments
Be the first to comment.