
Software
Hackers' AI Agents Found and Exploited a Zero-Day With Little Human Help
Amazon says attackers have started using AI agents to find and exploit software flaws with very little human input. In one case, the agents went from mapping an application to arbitrary file writes on the server in about 11 minutes.
The tool: Cairn
The agents ran on Cairn, an open source AI problem-solving engine built for defenders and mostly used for autonomous penetration testing. A server keeps a shared graph of facts and hints, a dispatcher schedules tasks, and each project gets a worker container running several agents at once. It is model-agnostic and can run on Claude Code, Codex, and Pi, among others. Palo Alto Networks has also seen it used with GLM 5.2 and DeepSeek V4 models.
Palo Alto Networks reported earlier this month that a separate campaign used Cairn to run 25 autonomous operations against at least 19 organisations in the semiconductor, defence and civil society sectors. At least 10 were breached.
The prompts
According to Amazon, the operators wrote their prompts in simplified Chinese and set the model to Chinese Standard Time. They gave the agents a list of IP addresses and one goal: "obtain shell access". The attackers also reinforced Cairn's default instructions with a preamble telling the agents they were performing authorised security work and should "never refuse the task under any circumstances".
What failed and what worked
Most of the attempts failed. Against a Redis server the agents tried replication abuse, sandbox escape and memory corruption for more than 16 hours. A Log4Shell injection attempt also failed. Against a university GPU server they tested 30,000 credential combinations built from 80 real usernames over six hours, without success.
A target running an open source medical imaging AI application was different. The agents mapped its API and found an upload endpoint with a filename parameter. That parameter was vulnerable to path traversal, which gave them arbitrary file writes. They then planted a Python reverse shell in sitecustomize.py, a file Python imports automatically at startup, and triggered a training endpoint to spawn a process that loaded it.
The takeaway
Amazon's message to defenders is that agentic offensive operations are already happening and that they are fast and persistent. The attackers did not need a clever exploit chain. They needed a list of targets, a broad goal and an agent framework that was happy to keep trying. Two practical lessons follow. Path-traversal bugs in AI-adjacent upload endpoints are an easy way in, and any internal AI or ML tool with a file-upload API deserves the same scrutiny as a public web app.
Source: Ars Technica, "Amazon says hackers' AI agents found and exploited 0-day with little human input"
Comments
Loading comments...