Book a demo →
← All insights AI News

A Coding Agent Ran the Break-In. Most of Its Commands Failed the First Time.

Manuel RiveiroSEO & GEO consultant · Truffle development partner

A Coding Agent Ran the Break-In. Most of Its Commands Failed the First Time.

On 31 August, The Hacker News reported that operators of the Aurora ransomware used the agentic coding assistant Cursor to break into target networks. Two firms reached that finding independently, CloudSEK and Gambit Security, both working from infrastructure the group left exposed.

The headline version writes itself, and it is the wrong one. Here is what the two analyses actually describe.

What was done, in the operators’ own tooling

CloudSEK found an open directory leaking, in its words, “months of activity” against more than twenty organisations across nine countries between April and July 2026. Four of those victims have since appeared on the group’s leak site. From the recovered chat history:

“The operator used Cursor, an agentic coding assistant, to plan attacks in Russian, while excluding CIS ranges and CIS-country domains, without exception.”

Gambit Security watched the same operator use Cursor Agent, running Anthropic’s Claude Sonnet, for hands-on exploitation against ten targets between 8 April and 21 May 2026. Eyal Sela, its director of threat intelligence:

“In these cases the agent was given credentials or an existing route into the victim organization. Then it was tasked with various exploitation activities.”

The tasks are unremarkable, which is the point. Installing and configuring a VPN client or proxychains and connecting with supplied credentials. Scanning internal subnets with Nmap or NetExec. Enumerating which privileges a given user holds. Coercing authentication with PetitPotam, Coerce Plus and PrinterBug and relaying it with Impacket. Running certificate attacks with Certipy. This is the standard repertoire of an internal penetration test, performed by an assistant.

The sentence that describes the actual change

Not the tooling. This:

“In some cases, the attacker only asked the agent to achieve an objective, such as ‘tell me what rights the user has’, while in others, they told the agent which exploitation tool to use… In some cases the Agent gave a list of potential next steps — and all the attacker did was reply with a number corresponding to one of them.”

Replying with a number is not a capability that was missing before. Every tool named above is free, documented and years old. What changed is the knowledge required to sequence them. The agent supplied the sequence, and the operator supplied a digit.

That is a change in who can run this attack, not in what the attack can do.

And it worked poorly

The same report carries the correction to its own headline, and almost no coverage will carry it forward:

“The majority of the commands failed to achieve the stated objective on the first attempt, resulting in multiple refinements and changes to the commands and scripts used for each task. Some eventually succeeded in achieving the objective, while others failed and returned only a report of the attempts to the attacker.”

Most commands failed at first. Some tasks never succeeded at all and returned a write-up of the failure. Anyone who has watched a coding agent work through an unfamiliar system will recognise the pattern exactly, and it is worth holding on to. An attacker with an agent is not an attacker who suddenly knows what they are doing. It is an attacker who can keep trying without getting tired, and who does not have to understand the tool to run it.

What this does not say

The assistant was not compromised. Nothing in either analysis describes a breach of Cursor, of the model behind it, or of any vendor system. The agent was handed credentials or an existing route into the network and asked to work. That distinction decides which mitigations make sense, and it disappears the moment somebody writes “AI coding tool hacked”.

Nor does the source describe a bypassed safeguard in this case. The report says the agent was handed credentials and given tasks. It says nothing about protections being evaded, whether any engaged, or what the vendor’s terms permit.

The same report does describe a jailbreak, and it belongs to a different operation. In an unrelated case, it states that the threat actor “jailbroke an AI coding agent by passing off the whole development process as an ‘authorized internal deployment.’” That is deception of the agent, and it is exactly what the ransomware case is not. Keeping the two apart is the difference between a story about an agent that was tricked and a story about an agent that was simply asked.

The two findings are not one measurement. CloudSEK describes more than twenty organisations across nine countries over four months from an exposed directory. Gambit describes ten targets over six weeks with visibility into the agent’s session. They overlap in subject and not in scope, and adding the numbers together would be wrong.

What to do with it

Find out who in your organisation runs which AI agents with which access. That is the whole finding, expressed as a question you can actually answer this week. The agent in this case did nothing that required special permission; it did what an agent does when handed credentials. If yours holds a VPN profile, a stored token or a browser session, it holds an existing route into somewhere.

Ask what your agents are allowed to reach, not what they are meant to do. The tasks in this report are indistinguishable from legitimate administration. No policy that describes intent will separate them; only one that describes reach will.

Do not plan around a competent adversary. The operators here worked through repeated failures. That is not a reason to relax, it is a reason to expect noisy, repetitive, retry-heavy activity rather than a clean single-pass intrusion, and to tune detection for the former.

Read the qualification story, not the capability story. The interesting shift is that the barrier moved from knowing the sequence to being able to pick from a list. The countermeasures for a wider pool of less-skilled attackers are different from those for a smaller pool of experts, and mostly cheaper.

Sources

  • The Hacker News, “Aurora Ransomware Operators Use Cursor AI in Attacks Against 10 Targets”, by Ravie Lakshmanan, 31 August 2026: https://thehackernews.com/2026/08/aurora-ransomware-operators-use-cursor.html (retrieved 1 September 2026). Source of the CloudSEK finding of an exposed open directory covering more than twenty organisations across nine countries between April and July 2026 and four victims listed on the leak site, of the quoted passage on planning attacks in Russian while excluding CIS ranges, of the Gambit Security observation of Cursor Agent running Claude Sonnet against ten targets between 8 April and 21 May 2026, of the quoted statements by Eyal Sela, of the listed exploitation tasks and the tools named in them, and of the quoted passage on the majority of commands failing on the first attempt. The report does not contain the word “jailbreak” and does not describe any safeguard being bypassed or any vendor system being compromised; that absence was counted in the retrieved text, with “Cursor” (6 occurrences) and “Gambit” (4) as control terms confirming the retrieval was intact.
  • The same report describes a separate, unrelated operation in which a threat actor is said to have jailbroken an AI coding agent by presenting the development effort as an authorised internal deployment. That passage is quoted above to mark the contrast with the ransomware case, which the report describes without any such element. This article makes no claim about the ownership of the products named.

Book a demo

Book a demo →