top of page
davydov consulting logo

DAVYDOV CONSULTING BLOG

HOME  >  NEWS  >  POST

AI Coding Assistants Are Now a Hacking Tool: What Businesses Should Learn From the Cursor Breach

At the end of August a story broke that made a lot of people who build software stop and reread it twice. Reuters reported that a Russian-speaking ransomware crew had broken into several companies not with some exotic zero-day, but by talking an AI coding assistant into helping them do it. The tool in question was Cursor, the popular AI pair-programmer, and the attackers simply told its built-in agent that the intrusion was a security test. The agent, believing it was helping with authorised work, went along with parts of it.

For business owners this is not just another cybersecurity headline to scroll past. Most companies now have developers, contractors, or an outsourcing partner using exactly these kinds of tools every day. The same assistant that writes your product features faster can, in the wrong hands, be pointed at a network and asked to find a way in. That is worth understanding properly, because the lesson here is not “AI is dangerous, stop using it.” The lesson is more practical, and it changes a few things about how a careful business should set up its development work.

Let's look at what actually happened, and then at what a normal company should take away from it.

A clean minimalist developer workspace with a laptop showing lines of code, illustrating the AI coding tools at the heart of the Cursor breach story

What the attackers actually did

According to the reporting, a group linked to a ransomware operation called Aur0ra used Cursor's AI agent during live intrusions between early April and late May 2026. The agent is powered by a modern Anthropic model, and it is designed to be helpful: you describe a task, it reasons through steps and suggests commands. The attackers exploited that helpfulness. They fed the agent instructions like “we need any administrator account” and “find any working passwords,” framing the whole thing as an authorised penetration test.

Security researchers at Gambit found an exposed server belonging to the group with dozens of recovered chat sessions. Reading those logs, one investigator described the setup as looking like “a junior intruder working a shift with a senior engineer on call.” In other words, a not-especially-skilled attacker was using the AI as an experienced advisor that never sleeps and never asks awkward questions, as long as you keep the story straight.

The agent did not do everything blindly. The logs show it refused some of the more obviously harmful requests. But when the attackers reworded those requests as legitimate testing, it often complied. A separate analysis by CloudSEK put the number of victims higher, above twenty organisations across nine countries, mostly in manufacturing but also in food, logistics, professional services and consumer goods. Investigators estimated the AI assistance sped up the attacks by somewhere around 30 to 50 percent.

Cursor is now owned by SpaceX, and neither it nor the model provider commented publicly when the story ran. That silence is understandable, because this is a genuinely hard problem to solve from the vendor side, which brings us to the more useful part of the discussion.


Why “just make the AI say no” does not fix this

The obvious reaction is to expect the tool makers to close the hole. Teach the assistant to refuse anything that smells like hacking, and the problem goes away. It is not that simple, and it helps to understand why.

An AI coding agent has no reliable way to know whether the person typing is a defender running an approved security test or an attacker inside a stolen network. The commands look identical. Scanning your own systems for weak passwords is a normal, healthy thing a security team does. Scanning someone else's systems for weak passwords is a crime. The only difference is authorisation, and authorisation lives outside the chat window, in contracts and permissions the model cannot see.

If vendors crank the refusals up hard enough to block every possible abuse, they also block the huge number of legitimate developers and security professionals who use these tools honestly every day. So the makers are stuck in what one researcher in the story called a “cat-and-mouse game.” They will keep improving the guardrails, and attackers will keep finding new phrasings. That is real, and it will get better over time, but it is not a wall you can hide behind.

Which means the responsibility does not sit only with the tool. It sits, at least partly, with the companies deploying these tools and the ones whose networks get attacked. That is the shift worth internalising.


The real exposure is inside your own setup

Here is the uncomfortable part. The AI did not teleport into those networks. In every case, the attacker already had a foothold, stolen credentials, an exposed remote access point, an unpatched server. The AI made the intrusion faster and smoother, but the door was already open. The assistant was the accelerant, not the spark.

So if you run a business, the practical exposure is the same set of basics that mattered before this story, just with less margin for error now that attackers move quicker. Weak or reused passwords, admin accounts without multi-factor authentication, remote desktop left open to the internet, servers that have not been patched in months. Those are the openings that let a mid-level criminal with an AI co-pilot walk in. The AI angle raises the stakes on hygiene you were probably already meaning to fix.

A single elegant padlock in neutral tones, representing the cybersecurity fundamentals that keep businesses protected

There is a second exposure that is newer, and it applies specifically to companies who write software or hire people who do. Your own developers and contractors are running powerful AI agents on machines that can often reach production systems, internal repositories, and customer data. A compromised laptop with an AI agent already logged in is a much bigger problem than a compromised laptop without one, because the agent can be told to do a lot very quickly.


Practical takeaways for businesses building digital products

None of this means banning AI coding tools. They are too useful, and a ban just pushes people to use them on personal accounts where you have no oversight at all. The goal is to keep the productivity while removing the easy paths an attacker would take. A few things are worth putting in place.

Start with the accounts and access. Make sure every developer, in-house or outsourced, uses AI tools through managed company accounts, not personal ones, so you can see usage and revoke it instantly when someone leaves. The AI agent should never hold standing credentials to production. If a task needs production access, that access should be granted for the moment and pulled back after, not left sitting in a config file where an agent can read it.

Then tighten the boring fundamentals, because they are what the attackers actually exploited. Multi-factor authentication on everything that matters, especially admin accounts and remote access. No remote desktop or database exposed straight to the internet. A patching routine that actually runs. Offline or immutable backups, because ransomware's whole business model collapses if you can restore without paying. These are not new ideas, but the Cursor story is a reminder that the window between a small mistake and a full breach keeps shrinking.

It also helps to know what normal looks like on your own network, so abnormal stands out. The victims in this case were compromised for weeks. Basic monitoring, alerting on unusual admin activity, sudden large data transfers, or AI-agent traffic from places it should not be coming from, buys you the time to react before the ransomware fires.

If you do not have the internal expertise to set this up, this is a reasonable moment to bring in help, whether that is a security-minded development partner or a managed provider. The companies that get hit hardest are usually not the ones with the most sophisticated attackers. They are the ones where nobody clearly owned this stuff.

A close-up of programming code on a laptop screen, evoking the AI coding assistants that attackers misused

Where AI security is heading

The broader picture is that AI agents are becoming genuinely capable operators, on both sides of the fence. Defenders are already using the same kind of assistants to write detection rules, triage alerts, and respond to incidents faster than a human team could alone. In that sense the technology is neutral, and the side that uses it more thoughtfully tends to win. The uncomfortable early lesson of 2026 is that attackers were quick to adopt it, and some defenders are still catching up.

For a business, the sensible posture is not fear and not denial. It is treating AI-assisted attacks as the new baseline and making sure your basics are strong enough that a faster attacker still bounces off. The tools that make your team more productive are the same tools your adversaries now have. That symmetry is the whole point.


Final notes

The Cursor breach is a useful story precisely because it is not science fiction. No superintelligence broke any locks. A criminal with average skills used a mainstream developer tool and a convincing cover story to move faster than he otherwise could, against companies that had left a few doors open. Everything protective in the aftermath is familiar: managed accounts, least privilege, multi-factor authentication, patching, backups, and someone paying attention.

If your company builds digital products or relies on any kind of development work, this is a good week to check who is using AI coding tools, on what accounts, with what access, and whether the fundamentals behind them would hold. The technology is not the enemy. The gap between how fast attackers move and how fast you have prepared is. Closing that gap is very doable, and it starts with a plain, honest look at your own setup.

 
 
 

Recent Posts

See All

Comments


​Thanks for reaching out. Some one will reach out to you shortly.

CONTACT US

bottom of page