Hackers Used OpenCode AI Agent: Exposed n0n Server Shows 23 Organizations Targeted With Weak or Stolen Logins, and What to Check This Week
SOCRadar found an exposed attacker server showing the n0n operation used the OpenCode AI coding agent while trying to break into 23 organizations. The way in was weak or stolen credentials, not software flaws.
Where Worldwide
On this page 8 sections
Security researchers at SOCRadar found a file server, open to anyone, that belonged to an attacker known as n0n. It showed the operation using OpenCode, an open-source AI coding agent, while trying to break into 23 organizations across 14 countries. For a business, the AI is not the most important part. SOCRadar says the attackers got in with weak or stolen credentials, not by exploiting software flaws, so installing patches alone would not have kept them out.
This post covers what the researchers found, what is still unknown, and what to check on your own network and cloud accounts this week.
What happened with the n0n OpenCode server
All of the details below come from SOCRadar's findings as reported by The Register and SOC Prime.
- The exposed workspace: SOCRadar's threat hunters found the operator's workspace. It was a publicly accessible Python HTTP file server hosted in Sweden at 185.157.161[.]148 on port 8877.
- When: the researchers documented the exposed directory in snapshots on September 25 and 26.
- What was on it: the researchers identified 1,719 files, including attack scripts and ransomware source code.
- The AI tool: the criminal or criminals used OpenCode, an open-source AI coding agent, configured with 154 model entries.
- The AI bill: the operation ran up more than $7,216 in AI usage costs by October 22. SOC Prime describes the server as showing evidence of substantial LLM API spending used to operate an AI coding agent.
Ensar Seker, SOCRadar's CISO, said: "The operator invested thousands of dollars in AI services while leaving its own workspace exposed."
How did the n0n attackers get in?
They did not break in through a software bug. According to SOCRadar, access relied on weak or stolen credentials. Seker said: "We found no evidence of vulnerability exploitation in the cases examined."
Two details show how this worked in practice:
- A cloud key with delete rights: SOCRadar found that n0n used an exposed AWS access key with permissions to list, read, and delete objects. The reports do not say whose key it was.
- Harvested logins and hijacked sessions: SOC Prime reports that the attackers obtained valid AWS credentials through a combination of credential harvesting and session hijacking.
What did the group do once inside?
SOC Prime says the group mainly steals data and, in some incidents, wipes it, instead of encrypting files the way traditional ransomware does. That matters because a key that can delete objects in cloud storage can erase data as well as steal it.
On October 12, the group added 38 maritime, port and logistics organizations to its leak site.
What is confirmed and what is not
| Point | Status | Where it comes from |
|---|---|---|
| The operator's workspace was left open on the internet | Reported by SOCRadar | The Register |
| OpenCode was used, with 154 model entries | Reported by SOCRadar | The Register |
| More than $7,216 spent on AI by October 22 | Reported by SOCRadar | The Register |
| 23 organizations in 14 countries were targeted | Reported by SOCRadar | The Register |
| Access came from weak or stolen credentials | Reported by SOCRadar | The Register |
| Data theft and sometimes wiping, instead of encryption | Reported | SOC Prime |
| 38 maritime, port and logistics organizations listed on October 12 | Reported | The Register |
What the sources do not tell us:
- The names of the 23 organizations, or which 14 countries they are in.
- Whether the 38 maritime and logistics organizations are among those 23 or a separate group.
- How many break-ins succeeded, as opposed to attempts.
- Whose AWS key was exposed, and how.
- Which AI models were used, or whether the AI made the attacks any more effective.
- Whether n0n is one person or several. The Register's own wording is "the criminal or criminals".
If you see stronger claims elsewhere, check whether the source actually supports them.
Why does this matter for a business network or website?
First, attackers can now pay for AI help to write and run attack tools, as this operator did. That lowers the effort needed to target many organizations at once.
Second, the way in was ordinary. Weak passwords, stolen logins and exposed cloud keys are problems almost every company network has somewhere. A patched server is still open if someone has a working key.
Third, the attacker's own mistake is a common one. A file server left open on the internet with sensitive files on it is the same risk many businesses run without knowing it. If you are not sure what your company has exposed, start with what is public on your website and servers.
For maritime, port and logistics firms, the October 12 leak site entries are a reason to review your access this week.
What to do this week: a credential and cloud key checklist
| Task | How to check |
|---|---|
| List every cloud access key | In your cloud account, list all access keys, who owns each one and when it was last used. Remove keys nobody can explain. |
| Remove delete rights that are not needed | The key in this case could list, read and delete objects. Check which keys can delete stored data and restrict them to what the job requires. |
| Rotate old or shared keys | Replace long-lived keys, especially any that have been in email, chat, code or a shared drive. |
| Search for exposed keys | Check code repositories, website files and public file shares for keys or passwords stored in plain text. |
| Require multi-factor sign-in | Turn it on for admin, cloud console, email and remote access accounts so a stolen password alone is not enough. |
| End active sessions after any suspected theft | Because session hijacking was reported, changing a password is not enough. Sign out all active sessions too. |
| Protect backups from the same keys | If one key can delete both live data and backups, a wiping attack takes both. Keep at least one backup that key cannot reach. |
| Watch for bulk downloads and deletes | Review storage logs for large reads or mass deletions you cannot explain. |
| Check your own open file servers | Scan your public IP addresses for file listings or test servers that were never meant to be public. |
| Search logs for the reported address | SOCRadar reports the workspace was at 185.157.161[.]148. A match in your logs is a lead to investigate, not proof of compromise. |
OpenCode AI attack questions people are asking
Is OpenCode malware?
No. OpenCode is an open-source AI coding agent. The reports say criminals used it in this operation. Nothing in the sources says the tool itself is flawed.
Did the hackers exploit a vulnerability?
SOCRadar says it found no evidence of vulnerability exploitation in the cases it examined. Access came from weak or stolen credentials.
Who was affected by the n0n attacks?
SOCRadar says the group tried to break into 23 organizations across 14 countries. On October 12 it added 38 maritime, port and logistics organizations to its leak site. The sources do not name the victims.
Did they encrypt files like normal ransomware?
According to SOC Prime, the group mainly steals data and in some incidents wipes it, instead of encrypting files. Ransomware source code was among the 1,719 files on the server.
How much did the attackers spend on AI?
More than $7,216 in AI usage costs by October 22, according to SOCRadar.
Should we block AI coding tools at work?
The sources do not point to that. The weak spot in this case was credentials, so that is where to put your effort first.
The bigger lesson
The attackers paid thousands of dollars for AI tools and still got in the old way, with credentials that were weak, stolen or left exposed. They also left their own server open, the same mistake they took advantage of in others. Spending on new tools does not help if the basics are left undone, and that is as true for a business as it was for this attacker. Knowing every key, every login and every public server is still the job that matters most.
For help reviewing your cloud keys, logins and exposed servers, see security hardening or request a tech quote.
Get security alerts by email, with our free checklist, at security alerts.
Sources: The Register; SOC Prime.
Have a question about this article?
Ask it here and we will answer you directly by email. Questions are private, never posted.
Security alerts by email
Hear about the next one first.
When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.
Want a result like this?
Security alerts, breaches and the technology a business runs on: what happened, who it affects and what to do.
Get a Tech QuoteKeep reading
Canada Government Hack: 4,600 Individuals or Organizations and 125,000 Documents Affected, AI Tools Suspected, and What Businesses Should Patch This Week
Canada says it found unauthorized activity inside federal government networks over several weeks, and reports...
ARTEX Kubernetes Attack: Attackers Repurposed an Open-Source AI Pentest Framework to Reach Cluster-Admin, What Is Confirmed and What to Check This Week
Attackers repurposed ARTEX, an open-source AI penetration testing framework, in a campaign Wiz tied to more th...
FIFA Data Breach: FIFA Confirms a Cyberattack, a Hacking Group Claims More Than 12 GB of Files, and What Businesses Should Check This Week
FIFA has confirmed a cyberattack, and a group calling itself the Handsome Boy Hacking Club claims it took more...