Hackers used an open source AI penetration-testing framework called Cairn to find and exploit a previously unknown vulnerability in an open source medical imaging AI application, Amazon reported. The agents were given a list of IP addresses and the goal of obtaining shell access, and they required little human input to complete the intrusion. Amazon said the findings show agentic offensive operations are already occurring and that defenders should prepare for the speed and persistence such tools enable.

According to Amazon, the hackers supplied prompts in simplified Chinese and set the model to Chinese Standard Time. Cairn is a model-agnostic problem-solving engine whose first validated domain is autonomous penetration testing, and it runs multiple agents concurrently in dedicated worker containers. A dispatcher reads a shared graph of facts and hints, schedules tasks, manages containers, and writes the protocol. Researchers at Palo Alto Networks have observed Cairn used with GLM 5.2, DeepSeek V4 Flash, and DeepSeek V4 Pro, as well as back ends including Claude Code, Codex, and Pi.

Against the medical imaging application, the agents identified its framework, mapped its API endpoints, and found an upload endpoint with a filename parameter vulnerable to path traversal. In about 11 minutes, they went from mapping the API to arbitrarily writing files on the server. In a later session, they wrote a Python reverse shell payload to sitecustomize.py, triggered a training API endpoint to spawn a new Python process, and established a reverse shell running as root. Amazon assessed with high confidence that the flaw was a zero-day because no fix, issue, advisory, or prior mention existed in vulnerability databases for the project.

Other attempts were less successful. Agents spent more than 16 hours against a Redis server, trying to abuse its replication feature to load unauthorized code, escape its scripting sandbox, write to configuration files, and corrupt memory, and also attempted a Log4Shell injection against another service on the same system. None of those techniques worked. In a separate operation, attackers spent more than six hours on a university GPU server, compiling a list of 80 real usernames from public resources and testing them against 30,000 credential combinations over SSH and other services, without success.

Palo Alto Networks said earlier this month that hackers used Cairn against organizations in the semiconductor, defense, and civil society sectors, conducting 25 autonomous operations against at least 19 organizations, with at least 10 successfully breached. Attackers created tasks with one-line goals, such as obtaining substantive high-value access including webshells, SSH, source code, keys, user information, and credentials, ideally to enter the internal network. Cairn's default agent instructions direct workers toward techniques including vulnerability exploitation, reverse shells, and data exfiltration, and the attackers added a preamble to the worker system prompt on every reason and explore phase reminding agents they were performing authorized security actions and telling them never to refuse the task.

Amazon also described a later session in which attackers, after the agents identified the zero-day, gave them a proxy tunneling into a second university network. Amazon said the server the proxy connected to was running the same vulnerable software, and the company inferred the actor had used the zero-day to compromise it and establish the tunnel; the actor then directed the agents to target other machines in that network. Amazon said the operational tempo in these cases compresses the window for defensive response, noting that an agent which discovers and exploits a zero-day in minutes finishes faster than many security operations centers can manually triage an alert.

More cybersecurity news from TechManNews.