An AI Agent Ran a Full Ransomware Attack — And Destroyed the Key
Security firm Sysdig has documented what it believes is the first ransomware attack run entirely by an AI agent, according to The Hacker News. The attacker group, tracked as JADEPUFFER, handed the job to a large language model, which handled every step without a human at the keyboard.
The way in was a known vulnerability in Langflow, an open-source tool used to build AI-powered app workflows. The flaw, CVE-2025-3248, allowed anyone to run code on an exposed server without logging in first — no credentials required. Many servers were still running the unfixed version despite a patch being available since 2025.
Once inside, the agent swept the machine for useful secrets: API keys for OpenAI, Anthropic, and cloud platforms including AWS and Azure, plus database credentials. It also walked straight into a connected storage server using the factory-default password that had never been changed.
The agent then pivoted to a production database, took control of the service directory through a separate 2021 authentication bypass, and encrypted 1,342 configuration records before dropping tables entirely. It left a ransom note demanding Bitcoin payment.
Here is the problem: the agent generated a random encryption key, printed it once to the terminal, and never stored or sent it anywhere. There is no key. Paying would accomplish nothing.
The clearest evidence that an AI was driving? The attack code was full of plain-English comments explaining each step as it ran — exactly what a language model produces by default, and exactly what a human attacker never bothers to write.
What to do: Search your systems for exposed Langflow servers and confirm they are running version 1.3.0 or later. Change every default credential on every service you operate — factory passwords like minioadmin:minioadmin are a standing invitation.
Sources

