JadePuffer is the first documented ransomware attack carried out from start to finish by an autonomous AI agent, without human involvement in decision-making at any stage of the intrusion. The Sysdig Threat Research Team tracked down an operation in which a large language model independently exploited a vulnerability in Langflow, took over credentials, moved to a production server running MySQL and Alibaba Nacos, encrypted 1,342 configuration items, and left a note demanding a ransom in Bitcoin.
The agent did not copy the finished script. He diagnosed the cause of the error and implemented a fix at a pace unattainable for a human reading the log by hand: in a documented case, 31 seconds passed from a failed login attempt to a working correction.
JadePuffer attack at a glance
- First fully autonomous LLM-driven ransomware attack reported by Sysdig in July 2026
- Entry point: CVE-2025-3248, RCE vulnerability in Langflow, a popular framework for building AI applications
- Primary target: separate, internet-exposed production server with MySQL and Alibaba Nacos
- Agent response time to login error: 31 seconds from failed attempt to working patch
- The encryption key never reached the attacker – the victim’s data cannot be recovered even after paying the ransom
The existing incident response procedures assumed that there is always a person behind a ransomware attack who can be slowed down, misled or with whom time can be negotiated. JadePuffer shows that this stage of tradecraft can now be handed over to the model.
What is ransomware?
Ransomware is malicious software that encrypts files or entire operating systems, and the unlocking of data requires the payment of a ransom, most often in cryptocurrency. This type of attack has been one of the most profitable tools in the hands of criminal groups for over a decade, because it attacks what has the greatest operational value for an organization: access to its own data.
The classic ransomware Trojan scenario looks similar regardless of the variant. Malicious code enters the system through phishing, a broken password or a software vulnerability. It then silently encrypts key data on disk and in backups, and displays a ransom note with a payment deadline.
The story shows the growing ingenuity of criminals, but also the repeatable pattern of ransomware: encrypt, demand, wait.
- CryptoLocker (2013) – one of the first mass-distributed ransomware programs, spreading through infected email attachments and encrypting files with a strong asymmetric key.
- CryptoLocker 2.0 – A variant rewritten in a different programming language that appeared shortly after the infrastructure of the original CryptoLocker was broken. Security researchers assessed it as a copycat using a recognizable name, not a continuation of the original code, and technically less refined.
- CryptoDefense – a variant that, due to a programming error, stored the decryption key locally on the infected machine, which allowed some victims to recover their data without paying the ransom.
- Diskcoder ransomware – a family of malware that destroys the disk’s master boot record, making file encryption even impossible to boot the operating system.
A ransomware group doesn’t have to write its own code from scratch today. The cybercrime market offers ready-made ransomware-as-a-service kits, and the operator’s role is often limited to selecting the target and sending the first payload. Ransomware threats have evolved from individual, proprietary programs into a service-based, repeatable business model – even before autonomous language models came into play.
JadePuffer – the first ransomware attack fully controlled by LLM
The Sysdig Threat Research Team documented Operation JadePuffer in the summer of 2026 – the first known case in which the entire ransomware attack chain, from reconnaissance to data destruction, was led by an autonomous agent based on a large language model, without human intervention at any stage of the intrusion. Sysdig calls this type of adversaryagentic threat actor (ATA) – an actor whose offensive ability comes from an AI agent rather than a manually maintained toolkit.
The attack took place on two different targets. The first compromised host served the agent only as a starting point to hack into the actual, much more valuable target.
How the JadePuffer attack worked step by step
Phase 1 – input host (Langflow)
- Entry via CVE-2025-3248 – Unauthorized RCE vulnerability in the code validation endpoint of Langflow, a popular open-source framework for building LLM applications and agents. The manufacturer patched the vulnerability on April 1, 2025, and CISA marked it as actively exploited in May of the same year.
- Reconnaissance and secret capture – the agent collected host data (id, uname, network interfaces, processes) and in parallel searched the environment for API keys of LLM providers, cloud credentials (including Chinese providers Alibaba, Tencent, Huawei, in addition to AWS, GCP and Azure), cryptocurrency wallets and database data.
- Dump of the local Postgres Langflow database – stolen credentials, API keys and user records were saved locally, previewed, and temporary files deleted.
- MinIO enumeration – The agent used the default credentials (
minioadmin:minioadmin) to search the object bucket, including theterraform-statebucket. When one of the queries returned XML instead of the expected JSON, the next payload immediately adapted the parser to the new format. - Maintain access – on the Langflow host, the agent installed an entry in the task scheduler (crontab), sending a signal to the attacker’s infrastructure every 30 minutes. As a result, even a server restart did not interrupt the connection with the attacker.
Phase 2 – actual target (MySQL production server and Alibaba Nacos)
- Pivot to a separate server – from the Langflow host, the agent moved to an Internet-exposed production server with a MySQL database and the Alibaba Nacos service, using a root account whose origin the researchers were unable to determine.
- Nacos Takeover – In parallel, the CVE-2021-29441 authentication vulnerability was exploited, the JWT was spoofed using the publicly known default Nacos signing key, and a backdoor administrator account was injected into the database via root access.
- Recognition of container escape – the agent tested writing and reading files via MySQL, checked access to
docker.sockand init process files – a typical set of actions preceding an attempt to exit the container. - Encryption – All 1342 Nacos configuration elements were encrypted with the
AES_ENCRYPT()function in MySQL, the original tables were deleted and in their place aREADME_RANSOMtable was created with the ransom note, Bitcoin address and email contact. - Mass data destruction – The agent escalated from deleting single lines to
DROP DATABASEcommands on entire schemas, commenting in the code its own prioritization of targets according to the potential value of the data. It is worth noting: the annotation that the data was previously copied to an external server is a statement made by the agent itself, written in its own code, and not a fact confirmed independently by researchers. The actual scale of data exfiltration remains unknown.
Four pieces of evidence that the attack was directed by an LLM, not a human
Sysdig identifies four independent premises that together rule out the scenario of a fixed, pre-written script:
- Code commenting on own actions. Payloads contained detailed justifications in natural language – why a given database is a priority, which is the “biggest”, what a given step is supposed to achieve. A person writing a one-time script does not do this, the language model does it instinctively.
- Fault diagnosis and correction in seconds. The most precise evidence of autonomy can be seen in the sequence of creating an administrator account in Nacos:
| Time (UTC) | Agent Action |
| 19:34:24 | Inserts the xadmin account with the password hash generated by the call subprocess |
| 19:34:36 | Login attempt fails |
| 19:34:48 | Tests two possible causes of error in parallel |
| 19:35:07 | Introduces a fix: direct import of bcrypt library, removal and restoration accounts |
| 19:35:18 | Login is successful |
From the failed attempt to the working fix, 31 seconds passed – a time unattainable for a human reading the error log, making a diagnosis and writing a correction.
- Understanding context given in natural language, not just pattern matching through the scanner – repeatable behavior in sessions weeks apart. This is the same ability of the model to interpret and respond to natural language that is sometimes abused in prompt injection attacks in other scenarios. Here, however, the agent used this ability in its own offensive action, not as the target of injected instructions.
- Ambiguity around the Bitcoin address in the ransom note – this is a standard sample P2SH address replicated in the Bitcoin documentation, likely reproduced by the model from training data. However, the blockchain shows that it is also an active wallet: 737 confirmed transactions and approximately 46 BTC received throughout its history, with each inflow being immediately forwarded, and the current balance is zero. This does not resolve whether the model simply generated this address from training data or whether the operator consciously configured the agent with a real, controlled wallet, but it strengthens the argument that this is not a random, dead string. A total of over 600 separate, targeted payloads made in compressed time confirm that the operation was conducted by an autonomous agent, not a human behind the keyboard.
Consequences for the organization – why this is a wake-up call for CISOs, CTOs, CSOs and CIOs
The most serious consequence of an LLM-driven ransomware attack is not the data encryption itself, but the fact that the assumptions on which data recovery and incident response procedures have been based so far no longer work.
- Paying the ransom does not guarantee data recovery. The encryption key in JadePuffer was randomly generated and never sent to the attacker – it was only entered once on the agent’s session screen. The victim will not recover 1342 encrypted Nacos configuration items even after fulfilling the ransom note’s request.
- Backups do not solve the problem by themselves. The target of the attack was the live configuration database of the production server, not just the files on the disk. Backup encryption and backup procedures only make sense if the copies are isolated from the same access path used by the agent to attack the source system.
- Resources like NoMoreRansom.org will not help here. Initiatives offering free data recovery work when it is possible to crack the implementation of a known ransomware family or recover a compromised key. With a randomly generated AES key that is not stored anywhere, there is nothing to crack.
- The entry threshold for conducting ransomware attacks drops to the cost of running the agent. Active ransomware groups today, such as Rhysida or Qilin (which took over a large part of the market after RansomHub disappeared from the network in the spring of 2025 and was absorbed by the DragonForce cartel), are natural candidates for taking over similar agent tools.
- The pace of the attack eliminates the window for response. The sequence from failed login to working patch took 31 seconds. A quarterly security review of an infrastructure that changes daily leaves gaps that an autonomous agent can exploit before anyone notices the incident.
JadePuffer is not an isolated signal that language models can be turned against an organization
We recently described how attackers convinced the Meta AI chatbot, to reset passwords and help take over 20,225 Instagram accounts – completely different vector, same mechanism: a model performing malicious actions based on what it “understood”.
The growing number of reported ransomware attacks and ransomware incidents using AI shows that this is no longer a theoretical scenario, but part of the cyberattacks in the GenAI era landscape that organizations must face today. If you want to see more such cases broken down into prime factors, in the free webinar series AI vs. Cybersecurity Secawa we covered both AI-driven attacks and attacks targeting AI systems themselves, with recordings and downloadable materials.
Free series of webinars: AI-supported attacks, Shadow AI, AI-prompt injection attacks and AI as CISO support. 4 meetings, additional materials and several SECAWA specialists who discussed the topic of AI in the context of cybersecurity in detail.
How to protect your organization against AI-driven ransomware?
Preventing ransomware attacks of this type does not require new tools, only consistent closing of vulnerabilities that JadePuffer exploited in No zero-day exploit was needed:
- Patch Langflow to remove CVE-2025-3248 and do not expose execution or code validation endpoints to the internet.
- Do not store API keys and cloud credentials in an AI orchestration server environment. Secrets should go to a dedicated manager, out of reach of network-accessible processes.
- Harden Nacos – change the default signing key (
token.secret.key), update to a version that enforces its own key, never expose the service to the Internet and never connect it to the database as root. - Do not expose the database administrative account to the Internet. Strong, unique credentials and restrictions after the source IP address are a minimum.
- Introduce egress control so that a compromised application host cannot freely connect to any infrastructure or external databases.
- Invest in real-time threat detection at the level of database processes, not just at the network or file signature level.
- Monitor compromise indicators – unusual cron jobs with network calls, anomalies in request headers, sudden spikes in the number of requests to configuration services.
However, none of these recommendations will work without people who understand that social engineering in the era of AI agents looks different than it did just two years ago. It is also worth preparing security and IT teams for social-engineering methods supported by GenAI, because the line between a purely technical attack and one supported by manipulation is increasingly blurred.
Summary
JadePuffer changes three assumptions on which previous defense planning was based. First, the barrier to entry for conducting a ransomware attack has dropped to the cost of running an agent – and with models powered by stolen computational access, that cost approaches zero. Second, old, seemingly benign vulnerabilities – like the 2021 Nacos vulnerability – are now automatically refreshed by agents searching the entire historical CVE catalog, so neglected, unpatched infrastructure becomes a more—not less—attractive target. Third, the code generated by LLM self-describes its intent – the same feature that makes the agent dangerous gives defenders a new chance to detect an attack before it is encoded.
Threat modeling for AI-based systems is no longer an academic exercise – it is the starting point for risk assessment in any organization that implements agent-based AI tools or is a potential target of ones such as JadePuffer. You can find more about how to systematically model the threats related to prompt injection in AI systems in our previous material.
If you prefer to see these mechanisms broken down into prime factors live, we invite you to a free series of webinars AI vs. Cybersecurity, where we covered both AI-driven attacks and attacks on AI systems themselves – with recordings and downloads available.
Sources:

