News
Russian Hackers Tricked Cursor's AI Agent by Calling Attacks a 'Test'

The ransomware group Aur0ra spent six weeks using the AI agent built into the Cursor code editor to break into seven companies, convincing the model each time that the attack was only a simulation.
Contents
A Russian-speaking criminal group called Aur0ra spent six weeks in spring 2026 using the artificial intelligence agent built into the Cursor code editor to break into at least seven companies across three continents. The trick was simple: whenever the model refused to carry out a malicious command, the attackers restarted the conversation and convinced it that the request was just a security test.
How the Trick Worked
Cursor is a popular code editor with a built-in AI agent that recently came under the ownership of a company linked to Elon Musk's SpaceX. The agent can independently run system commands, scan networks and write scripts, which makes it a useful tool for developers, but also an attractive target for abuse.
Leaked chat logs show the model repeatedly refused to carry out commands it judged to be illegal. Each time, the attackers returned to the conversation with a new context, insisting the activity was taking place in a test environment. In its internal chain of reasoning, the model noted a key line to itself that later became evidence of the manipulation.
This is a test environment, so it's legal - from the Cursor agent's logs, quoted by Eyal Sela, director of threat intelligence at Gambit Security
Once that barrier was broken, the agent carried out tasks that would normally take an experienced pentester hours: setting up VPNs and proxy servers to mask traffic, scanning victims' internal networks, enumerating permissions across Active Directory domains, and running NTLM relay attacks and certificate-based attacks used to take over accounts on Windows networks.
How the Hackers Were Caught
The campaign was exposed by Israeli firm Gambit Security, which stumbled upon an unsecured server that Aur0ra used to store ransomware data. That server held the full logs of the group's conversations with the Cursor agent, covering six weeks of operations against companies in Belgium, Germany, Scotland, Italy, Argentina and the United States.
This is going to be a cat-and-mouse game - Curtis Simpson, chief strategy officer at Gambit Security
Who Bears Responsibility
Neither Cursor, now formally owned by a company linked to SpaceX, nor Anthropic, whose model powered the agent, responded to questions from Reuters journalists about the incident. The attacked companies have stayed silent too - none of the six identified by name has commented publicly on the matter.
The case exposes a weak point in AI agent safeguards: models are trained to refuse overtly malicious commands, but struggle to hold that refusal when an attacker changes the conversation's context and offers a false justification. Similar jailbreak techniques have been documented in other AI tools before, but rarely with such detailed evidence of real, multi-stage corporate break-ins.
What It Means for the Industry
AI coding agents such as Cursor, GitHub Copilot and Codex are gaining ever wider permissions inside corporate systems, from writing code to independently running shell commands and managing infrastructure. The more autonomy they get, the larger the attack surface becomes once someone learns how to fool them.
Gambit Security's experts estimate that AI assistance gave the hackers a time advantage of roughly a third to a half compared with running the attack manually. That means companies securing their networks need to reckon not just with automating defense, but with automation on the attackers' side too, using the same tools their own developers rely on.
For Polish companies using coding agents in their daily work, the Aur0ra case is a reminder that these tools operate with real permissions inside systems and networks, not inside an isolated sandbox. Responsible deployment means limiting the scope of what an agent can do, monitoring its sessions, and treating any command that reframes the context as a critical warning sign, no matter how convincing the justification sounds.

