JADEPUFFER Shows Agentic Ransomware Moving From AI RCE to Database Extortion
Sysdig described JADEPUFFER as an LLM-assisted ransomware campaign that exploits Langflow (a visual framework for building LLM workflows) CVE-2025-3248, runs adaptive Python payloads, harvests secrets and reachable service context, pivots toward Nacos/MySQL infrastructure, and then encrypts or drops configuration/database tables. The defender lesson is concrete: AI workflow servers need safe code-execution boundaries, authenticated exposure, segmentation, egress control, credential cleanup, destructive-action monitoring, and tested data recovery.
Threat Analysis
- The entry point is an AI workflow RCE surface. JADEPUFFER targets vulnerable Langflow servers through CVE-2025-3248 and delivers Base64-encoded Python through the unauthenticated code-validation endpoint.
- The first phase turns the AI host into a credential and service map. The payload enumerates host, process, network, and environment context; dumps Langflow backing data; probes MinIO with default credentials; fetches files such as
credentials.jsonand.env; and installs a cron beacon. - The true objective is a separate Nacos/MySQL target. Sysdig observed the agent connecting to exposed MySQL as root with credentials whose origin was not observed, attacking Nacos auth-bypass/default-token paths, and inserting a backdoor administrator.
- The payload attacks integrity and recoverability, not only confidentiality. It encrypts 1,342 Nacos configuration items into backup tables, drops original config/history tables, writes
README_RANSOM, and then drops whole database schemas with retry logic. - The agentic element compresses time. The agent repaired failed Nacos admin creation within 31 seconds and adjusted parsing or credential paths without a human at the keyboard, so slow manual containment is a poor fit.
Applicable AIDEFEND Defenses (9)
What Defenders Should Do Now
- Inventory Langflow and similar AI workflow servers, including version, exposure, authentication mode, runtime user, mounted secrets, outbound network policy, and reachable internal services.
- Patch CVE-2025-3248, block unauthenticated access to AI workflow/code-validation endpoints, and move dynamic-code features behind restricted interpreters or disable them in production.
- Segment AI workflow hosts from Nacos, MySQL, MinIO, secret stores, cloud metadata, and model-provider credentials; apply default-deny egress except for explicitly approved destinations.
- Add detections for Langflow exploit paths, Base64 Python execution, host/environment secret sweeps, MinIO/default-credential enumeration, cron beacons, Nacos admin creation, MySQL file/UDF probes,
README_RANSOM, and destructive DDL. - Rotate exposed or potentially exposed database, Nacos, provider, cloud, and object-store credentials; remove attacker-created accounts; then run restore and integrity checks for affected configuration and application databases.
Conclusion
JADEPUFFER is useful because it makes the AI infrastructure risk concrete. A Langflow server is not just a lab tool once it has secrets, network reach, and production data paths. Treat it like a production control-plane asset: patch it fast, constrain code execution, isolate it tightly, deny unnecessary egress, clean up credentials, monitor destructive actions, and prove recovery before the attack does.