A two-stage ransomware attack discovered in July 2026 exploited software widely used to develop and operate AI systems, enabling attackers to destroy a trained model. The attack irretrievably wiped an AI model’s training set and other components, rendering the model unusable, cybersecurity strategist Crystal Morin of Sysdig, the company that found the attacks, told the Cybersecurity and AI Law Report.
The damage came from a previously unseen ransomware program designed specifically to lock up AI and machine learning infrastructure. To retrain and engineer a destroyed model typically costs from $75,000 to $500,000, Morin said. The attacks are “targeting this kind of infrastructure because this operator realizes how valuable it is to victims,” she observed.
For attackers constantly searching the cyber landscape for new revenue sources, “holding the AI workflow hostage is a great place to focus, especially now that everyone is all in on AI,” said Ronald Lewis, head of cybersecurity governance at Black Duck, a security vendor. This incident’s clarion call to security leaders is to secure AI-support tools and infrastructure that are widely used but weakly protected.
This article examines how AI middleware, which helps connect and orchestrate AI systems, has become an attractive target class for ransomware attacks. With insights from Lewis, Morin, and experts at Fisher Phillips, JFrog, Snyk and ZwillGen, it also offers several practical steps for strengthening security across AI development and deployment.
See “How the Whole-of-State Movement Is Protecting the Community Organizations the Private Sector Depends On” (Jul. 15, 2026).
Details of the Jadepuffer Two-Part Attack
Sysdig named the ransomware Jadepuffer. To carry out the exploit against an unidentified company, the attacker relied on a vulnerability, first cataloged in May 2025, in LangFlow, a popular open-source framework for building large language model (LLM)-driven applications and agent workflows. An AI agent apparently conducted the attacks end-to-end.
Files Were Encrypted and Deleted in the Attacks
In the first attack, Jadepuffer harvested cloud and cryptocurrency credentials, encrypted 1,342 items and left a ransom table demanding payment in Bitcoin, Sysdig reported. Yet, “there was no evidence of exfiltration,” Morin elaborated. The attacking agent’s ransom note promised an encryption key using one type of encryption, but “the encryption used was a different kind. So that was hallucinated. If the victim were to have paid, there was no encryption key,” she detailed.
The second attack again entered through LangFlow, but it was more destructive. A script swept through the victim systems and deleted all files associated with 180 file extensions, including AI models, vector databases used in training and other components of AI operations, Morin explained. The attack affected “every aspect of AI infrastructure” and “any model that an organization is using,” she said.
Incident Analysis Revealed Agent Involvement
Sysdig researchers could analyze these incidents because they “had access to the host. That’s how we were able to capture the payloads from the attacker,” Morin said.
Telltale signs an agent steered the attack included the incident’s speed and the instantaneous recovery from obstacles. It was illogical that, despite ransomware’s financial goal, the attacker created no structures for exfiltration. As for the clincher, the ransom note included the agent’s reasoning for its extortion steps.
See “When the Classroom Goes Dark: Lessons From the Canvas Breach for Corporate Cyber Preparedness” (Jul. 8, 2026).
Costly Damage to AI Operations
In the end, Jadepuffer served only as destructive malware. But the attackers wasted months of the company’s development and investment resources by encrypting model weights – the trained components that allow an AI model to operate. “That’s the intellectual property that has significant value,” Lewis pointed out.
The destruction of AI-related artifacts across 180 file categories suggests that cybercriminals have come to understand the broader AI supply chain and believe they can profit from that. Threat actors used to stealing data are “changing what they consider the crown jewels of an organization,” Lewis highlighted.
The AI supply chain offers many junctions for extortionists to hold AI hostage. Instead of destroying or locking up AI models, ransomware purveyors might start making modifications to produce malicious AI models that could affect the wider operational environment unless the victim pays the ransom, Fisher Phillips partner Daniel Pepper told the Cybersecurity and AI Law Report. “If the training data and the datasets that are used for fine tuning become poisoned and you have a compromised model, there are no alarms that go off. There’s no indication of a compromise. The integrity of that data now is lost,” he cautioned.
See “Navigating Insurance Coverage Issues for AI‑Related Losses” (May 20, 2026).
AI-Adjacent Tools a Prime Target
Jadepuffer ransomware and an earlier operation in 2026 illustrate how cybercriminals could disrupt the AI supply chain by targeting a fast-expanding class of software for building and managing AI.
LangFlow’s Attractiveness to Companies and Attackers
“Plenty of companies are building AI capabilities using LangFlow” because it simplifies development and centralizes workflows, Lewis explained. “LangFlow is Legos for AI,” he said, describing it as a platform that lets users connect multiple AI tools and orchestrate them through a single interface.
Having a single orchestrator also simplifies attacks. “All the parts of the AI workflow that can be exploited are in one stack together,” in “one layer and one attack surface,” Lewis noted. LangFlow “wasn’t designed to be secure. It was designed to be easy to operate,” he cautioned.
Accordingly, LangFlow creates attractive targets throughout the AI ecosystem as developers at organizations of all sizes have embraced it to build quickly, Jey Kumarasamy, AI legal director at ZwillGen, told the Cybersecurity and AI Law Report.
The two Jadepuffer attacks appear novel, although cyber criminals in 2026 have been targeting other LangFlow vulnerabilities, Morin noted.
See our two-part series on AI agent security: “Companies See Rogue Incidents but Lag on Controls” (Mar. 18, 2026), and “What CISOs and GCs Need to Know to Defend the Enterprise” (Mar. 25, 2026).
Security Vulnerabilities and Risks of AI Middleware
The LangFlow incidents fit a broader pattern of attacks on AI middleware. In March 2026, hackers targeted the popular LiteLLM gateway, which provides a single interface for accessing and managing multiple AI models. LiteLLM’s centralization makes it easier for developers to switch among models and manage AI traffic through one layer, Kumarasamy explained. In the attack, the perpetrators forced LiteLLM to send out a malicious update. “It was only online for 40 minutes before it was discovered and brought down. But within those 40 minutes, it was estimated that thousands of organizations downloaded it automatically,” he said.
LangFlow and LiteLLM were “attractive entry points for attacks” because they act as central connectors within AI environments, Pepper explained. “Their servers connect with the AI tooling [and often] hold provider [application programming interface (API)] keys and cloud credentials” to facilitate AI development, he added. They interconnect AI systems with sensitive data, other data repositories, workflows and external applications.
AI middleware is at a volatile stage where it is popular and it gives attackers access to wide swaths of AI systems, but neither its developers nor its deployers give it enough security attention. “These low code AI builders and agent frameworks are designed to be stood up quickly,” Pepper noted, so many “organizations [start using them] quickly without any typical network controls.”
“Free or very low-cost tools that are used now to build applications and agents” are a systemic risk “because they do a generally poor job on security management and vulnerability management,” Pepper said.
Newer AI apps also may be less familiar terrain for patching teams. The LangFlow vulnerability was announced in 2025 as a critical one, rated at 9.8 out of 10 on the Common Vulnerability Scoring System. “It is not surprising to me that something found and patched about a year ago might still not be updated in certain production systems,” Kumarasamy noted.
Another issue is that less-experienced developers now commonly use AI middleware to quickly validate ideas, but they may not have significant experience and resources for hardening a system, Kumarasamy observed.
See “Defending Against Faster, Stealthier and More Sophisticated Cyber Adversaries” (Sep. 10, 2025).
Practical Steps for Companies
With the proliferation of AI middleware and new AI components, companies can protect themselves by creating inventories, adapting their vendor risk practices and strengthening security across the AI development process.
Build a Complete Inventory of AI Assets and Access
Companies should inventory their AI environments fully. Experts say many organizations still cannot answer fundamental questions about their AI operations. “Most companies cannot list all their AI development tools, where they run, what credentials they hold” or whether they are internet-facing, Pepper observed.
Although many companies have developed AI model inventories since 2023’s generative AI breakthroughs, they still need to expand them to detail where models can reach, what data they consume and who is accountable for those connections, security leaders advised. Those more comprehensive inventories also should track model versions, training pipelines, weights and open-source libraries, Morin urged.
Other components that organizations should inventory include all the connections to APIs and model context protocol servers, as well as agent permissions and limits. Morin also recommended tracking key details about datasets, including their format, classification and version history, along with itemizing storage devices, processing units and servers, as well as other hardware that supports AI operations.
Most importantly, companies should evaluate inventory items for their risks, JFrog field CISO Paul Davis recommended. Yet, practically, the first step is keeping up with internal activity. “I had one customer say that it takes them five days to find out who developed a piece of software,” he told the Cybersecurity and AI Law Report.
See “Ransomware Enforcement Trends Under Trump 2.0” (Jan. 7, 2026).
Strengthen Third-Party and Supply Chain Management
Third-party risk management programs need to evolve for the newest generation of AI development tools. Many organizations still rely on vendor questionnaires built for securing conventional software. The types of questions in vendor assessments are generally rooted in security concerns from a few years ago, including those that ask about encryption, access control and SOC 2 reports, Pepper said. While those topics remain relevant, questionnaires should be broadened to include AI-specific governance concerns.
In general, AI risk management needs to focus outside the organization. Many AI development environments contain more dependencies than the companies realize. “A lot of what’s being integrated right now is external connections. Most of it is third-party, open-source supply chain,” Morin noted.
Vendors often rely on providers behind the scenes. In one due diligence review, Kumarasamy recalled, his team discovered that the tool under review routed nearly all customer data through a third-party integration provider that had not initially been disclosed.
Security teams should ask questions so they can map both data flows and software dependencies to understand how AI applications interact with external services and open-source components. As part of that process, companies should put AI applications into risk tiers, Pepper recommended.
As organizations endeavor to uncover the risks, they also should require greater visibility into service providers’ data lineage and software dependencies. Asking for AI bills of materials (AI-BOMs) can reveal unexpected liabilities, like “dozens of models, including DeepSeek and other things that maybe the organization didn’t want to use,” Snyk director of product management Ezra Tanzer told the Cybersecurity and AI Law Report.
Moreover, because AI tools and models change rapidly, companies should request regular AI-BOM updates from vendors, Morin recommended, because “AI models are being updated so quickly that it’s really hard to keep a pulse on what’s operating in our environments.”
As incidents like Jadepuffer underscore the need for forensic investigation, AI procurement teams likewise should ask vendors what security logs they provide and how long they retain those records, Pepper recommended. With vendors claiming they contain their testing of agent capabilities, Kumarasamy cautioned that due diligence teams should recognize that “there are different types of sandboxes, and some are more secure and robust for agents than others.”
See “Contracting With Vendors to Mitigate Third-Party AI Risk” (Feb. 18, 2026).
Elevate Security for the AI Development Process
Companies should protect their AI development and experimentation environments with the same rigor as core business applications. “Treat your AI tooling as a production system,” Pepper recommended. Companies should consider the following steps to protect key AI assets and manage security risks associated with AI development.
Back Up and Secure AI Infrastructure
Companies should regard their AI development artifacts, model weights, vector databases and training datasets as irreplaceable assets on par with source code repositories. The organizations that build or tune their own models should “have backups of their data and of their model [kept] separately on different hosts,” Morin advised.
Lock Down Credentials and Secrets
“The credentials and the API keys that are held by the AI tools are probably the most critical assets that need to be addressed,” Pepper said. Those credentials often include cloud access tokens, database connections and other secrets that can unlock large portions of an enterprise environment. As the Jadepuffer incidents demonstrated, attackers tend to harvest credentials.
Protect the Agent Logs
Developers are using AI observability tools to log prompts, agent activity, outputs and operational metadata, Kumarasamy noted. These logs improve troubleshooting and governance, but they become attractive data storehouses for attackers. The logs “become a potential single target for all this very sensitive, important information” moving through the AI system, he warned.
Create Controls on Coding Agents and Dependencies
As coding agents are increasingly used for AI development, they could be fooled by malicious activities rippling through the AI supply chain. “Typosquatting is generally happening on open-source software packages” that agents might use for their projects, Tanzer pointed out.
“I have to worry about the developer because the developer’s workstation can be used for an attack point,” as LiteLLM and Jadepuffer showed, Davis said.
Combat Approval Fatigue
More monitoring is needed because agents are increasing developers’ supervisory burden, creating approval fatigue, which makes it more likely that risky actions will be approved without sufficient scrutiny, Davis noted. “With agentic coding, people spend so much time waiting. I have two agents running in parallel and am context switching between different problems,” he shared. At other times, eight agents are running that periodically need approvals. The volume of those requests can lead developers to approve actions reflexively. “A lot of people get bored,” he observed.
Strengthen Patching and Management of Updates
Jadepuffer relied on a known vulnerability, not a zero-day one, Kumarasamy highlighted. Accordingly, companies should track the published vulnerabilities affecting the AI development infrastructure and focus on patching those.
The LiteLLM exploit also demonstrates the value of requiring a waiting period before developers install updates automatically. “Have a cool down period so that, if there is some attack, the greater community might have some time to detect it,” Kumarasamy recommended.
Add Security Gates Before Experiments Move to Production
Developers’ informal experiments are increasingly making their way into production environments, often with security treated as an afterthought, Kumarasamy reported. “Teams are putting together early-stage AI products based on, ‘Hey, I have an idea. Let’s build something.’” In this AI-first era, a little bit of enthusiasm for a promising result may push an experimental product into production before appropriate security controls are in place, he observed, recommending overseers “try to at least implement the most important security practices” before permitting experiments to move forward.
Implement Safer Vibe Coding for All
As AI-assisted development expands beyond professional programmers, Lewis recommended organizations should create companywide guardrails for agent-assisted coding. Employees working with coding agents to build software and apps should instruct the agents to only provide a description of the coded product, not begin development. This allows the employee to edit out extraneous features and connections that bots tend to throw into apps. Employees also must require agents to provide design documentation that “lists all of the security controls” included in the resulting products, he advised.