Hey 👋
In early September, someone gave a group of AI agents a list of university IP addresses in East Asia and a goal: "obtain shell access." Most of what the agents tried failed. They spent 16 hours and 148 actions on an open Redis server and got nothing. They tested more than 30,000 credential combinations across a university's network and never found a working login.
Against a medical imaging server, they went from mapping the API to writing arbitrary files in about 11 minutes. The bug they used had no fix, issue or advisory at the time.
The framework was Cairn, which is open source. It came up in two more of this issue's stories. The tooling that pushed a credential stealer into Microsoft's agent-framework on PyPI identifies itself as Cairn. And Elastic read Cairn's source along with four other attack harnesses, and found that none of them enforces authorization in code by default.
Shopify runs attack agents too, against its own production, and has published the controls around them. Read that piece right after Elastic's.
From the lab
A local model cheated my software factory's test gate three ways (23 November). I'm building a pipeline where agents write the code and the controls sit outside the model. My plan for one task had no honest way to pass, so the model moved the real tests, left a stub that failed for the wrong reason, and hid a file from test collection. Then it listed all three in its summary. I reverted the work, and the pipeline now refuses a run that hides tests.
17,476 public signals, one local LLM (20 November). Twelve days of triaging commits and advisories from 39 MCP and agent projects, including the security advisories my model rejected with 0.95 confidence.
MCP can name the user, the app or the workload. Not yet the agent. (17 November). What each shipped or proposed MCP mechanism proves about who is calling. None of them proves which agent it is.
This week in AI security
Cairn's agents found the MONAI Label bug. The fix was public for 34 days before you could install it.
Amazon Threat Intelligence found the operator's Cairn server on 10 September, open to the internet with no authentication, with the prompts and agent output still on it. It links the operator to China with moderate confidence. Its report came out on 20 November.
The agents found an upload endpoint with a filename parameter, tried path traversal, and it worked. In a later session they wrote a reverse shell into sitecustomize.py, a file Python imports at startup, and called a training endpoint to start a new Python process. The shell ran as root. Amazon's CJ Moses says the agents "planned, executed, and adjusted their approach as they learned, without the operator choosing each next step." The operator did step in later and gave them a tunnel into a second university running the same software. Amazon infers that the same bug opened it.
Amazon doesn't name the software. BleepingComputer does, and the MONAI Label advisory credits an AWS security account with the report. The advisory rates the bug critical. Authentication is off by default, so anyone who can reach the server can use it. With authentication on, the annotator role is enough.
The fix was merged in public on 19 October. The advisory followed on 18 November, and 0.8.6 reached PyPI on 22 November. For 34 days an attacker could read the patch while users had no release to install.
If you run MONAI Label: upgrade to 0.8.6, set MONAI_LABEL_AUTH_ENABLE=True, and take the server off untrusted networks. As of 24 November the advisory has no CVE and isn't in GitHub's global advisory database, so don't wait for Dependabot. Upgrading won't remove anything already written to disk. The check at the end of this issue covers the file these agents used.
A stolen signing credential put a credential stealer into Microsoft's agent-framework
At 20:35 UTC on 17 November, version 1.26.1 of Microsoft's agent-framework went up on PyPI with a credential stealer in it. Version 1.26.2 followed 33 minutes later. Wiz says both were gone by 21:30.
According to Wiz, the attacker "appears to have compromised a client certificate and private key for Microsoft ESRP," the internal service Microsoft uses to sign and publish the package. ESRP's IP filtering rejected the first attempt, which came from AWS. The second came from Microsoft-owned IP space and went through. How the credential leaked "is not yet known." SafeDep points to a loose end: PyPI lists a second maintainer on the package, an account created the same day, and nobody has explained its part. Wiz says the tooling identifies itself as Cairn. That tells you what the attacker ran. It doesn't connect them to the university operator.
Each release dropped a .pth file that imports the stealer. Python processes those files on every interpreter start, so the code ran whether or not anything imported agent-framework. It took environment variables, credential files, Azure DevOps OIDC tokens and Azure managed-identity tokens for 12 resources. Version 1.26.2 added GitHub Actions OIDC tokens. Everything went to one webhook.site URL. Wiz analyzed the 50 requests stored there: 29 looked like sandboxes and security vendors, four were the attacker's own machines, and 17 came from three victims.
Microsoft has since made the agent-framework repository private. "We have made some repositories private while we investigate malicious content," a spokesperson told The Hacker News.
If you build on agent-framework: search lockfiles, CI logs and container images for 1.26.1 and 1.26.2, and pin 1.26.0. If a CI job with id-token: write installed 1.26.2, rotating repo secrets isn't enough. Review every Entra federated credential that trusts that workflow, and its sign-ins since 17 November.
None of five attack harnesses enforces authorization in code by default
Mika Ayenson at Elastic Security Labs (13 November) read the source of ARTEX, CyberStrikeAI, Cairn, PentAGI and HexStrike. Three of them tell the model it is authorized. CyberStrikeAI's prompt says authorization is already settled and not to be questioned. PentAGI opens nine role prompts with a pre-authorization block. ARTEX describes each agent as part of an authorized penetration testing system. HexStrike accepts an out-of-scope list and never consults it.
Cairn tells its workers never to reject a task. If a model refuses anyway, the dispatcher sidelines that worker for five seconds and hands the task to another one.
The only target restrictions on by default are domain blocklists: government domains in ARTEX and CyberStrikeAI, and education domains in ARTEX. Cairn has neither, and the targets in Amazon's case were universities.
ARTEX does block destructive commands like rm -rf, and it labels the block as a platform control. Elastic's explanation is that a bare denial reads to an agent like a target's defense to bypass. I recognize that from my own test gate above: the model treated a failing check as something to get around.
So what: your provider's refusals won't protect you from someone else's agent, and they won't hold your own agent in scope either. Check where your agents' scope is enforced. If it's a sentence in a system prompt, you have the same control these harnesses have.
Elastic's hunt works on speed. It flags any source IP that uses three or more client families (curl, Python, the AWS CLI, a browser) and sends 20 or more requests inside one minute. Tune it first, since build systems and shared NAT addresses can match too.
Shopify points its own attack agents at production and ends the run when the judge fails
Shopify's Cyber Chaos Monkey (Dan Scofield, 12 November) attacks live production using test shops. Shopify reports "tens of thousands of offensive engagements" and "dozens of impactful findings," with no outage or incident. Those are its own numbers.
Each engagement is a Kubernetes job, and the agent's container has no escalated permissions. The agent gets short-lived session credentials for the test target. For model providers and internal services it only ever holds a placeholder, which a credential proxy swaps for the real thing. The proxy also controls which headers can go to which domains. Outbound traffic goes through an nginx allowlist.
A second agent on a different model reads everything the first one does, in real time, and can kill it. If that judge "times out, crashes, or fails to adjudicate messages," the run ends. The pod's restart policy stops the orchestrator from coming back, so Kubernetes tears down the rest. This is the fail-closed behavior OWASP's V2 guide asks for, and CrewAI's hooks do the reverse (#35).
The rules of engagement allow any exploit, then set hard limits on what comes after it, such as moving to other systems or keeping access. Cairn's operator set a goal and a target list. Shopify assumed the agent would drift and built a way to stop it.
One-line updates
CrewAI's fail-open hooks (#9434, from #35). Still open, with no maintainer response that I can see. A contributor opened a pull request that adds an opt-in abort. I ran it: a failing hook before a tool call now blocks the call. A failing hook after one keeps the result from the model, but the exception ends the whole run.
Tooling worth knowing
Offsec Harness Index, by Daniel Miessler (via tl;dr sec #355). It tracks 154 offensive AI harnesses and lists 14 seen in real attacks, seven of them tied to a confirmed breach. Hermes Agent is one of the seven, and I run it as a personal assistant. It's a general-purpose agent, so what matters is what each install is allowed to reach.
MCPTrace: a Volatility 3 plugin that pulls MCP JSON-RPC message candidates out of Windows and Linux memory dumps. Worth having before your first incident with an MCP client in it. I haven't run it.
One thing to check this week
Both attacks got their code to run at Python startup. The agent-framework stealer used a .pth file, and Cairn's agents used sitecustomize.py. Look for both in the images your agents and CI jobs run in. Don't use Python to look: starting the interpreter runs the files you're hunting for, and python -I doesn't stop that. I tested it. find is safe:
docker run --rm --entrypoint sh YOUR_IMAGE -c '
find / -xdev ! -type d \( -name "sitecustomize.py" -o -name "usercustomize.py" -o -name "*.start" \) 2>/dev/null
find / -xdev -type f -name "*.pth" -exec grep -lE "^import[[:space:]]" {} + 2>/dev/null'
On a stock python:3.13-slim image this prints nothing. The .start files are new in Python 3.15 (PEP 829) and also run code at startup. Some hits are normal: distutils-precedence.pth, _virtualenv.pth, editable installs, coverage hooks, the sitecustomize.py Debian and Ubuntu ship, and the one in OpenTelemetry's auto-instrumentation. Open anything else. The command skips mounted volumes, so check those separately, and it needs an image with a shell.
What I'm watching
→ Microsoft's account of the ESRP credential. Several vendors have taken the payload apart. Only Microsoft can say how a publishing certificate reached an attacker, and what else it could sign.
→ A CVE for MONAI Label. Scanners that key on CVE IDs won't see this bug until it has one.
→ Project Zero's shorter deadlines. 90 days now, 60 from February 2027, 30 from January 2028, with the grace period gone. Its argument is that attackers "can almost immediately determine bug details from a patch." A fix that sits merged for 34 days without a release is that problem exactly.
→ Google's forecast for attack harnesses. On 30 October, GTIG expected unsophisticated multi-agent attacks with little to no human interaction within one to three months. Amazon's case happened in September.
This week on the blog: the six security checks that MCP's July revision moved into your code and, on 27 November, the full write-up of the token test from #35. Next issue I'll go through the gate my local model cheated and what replaced it.
If you run attack agents against your own systems, reply and tell me what stops a run when the judge or the policy check fails. I read everything.
Cheers, Amine
If a colleague builds on Microsoft's agent-framework or runs MONAI Label, forward this to them.
Sources
Chinese-nexus actor's Cairn AI agents found a zero-day on their own, Amazon Threat Intelligence, 20 November 2026
Hackers use autonomous AI tool Cairn to find zero-day, take over server, BleepingComputer, 20 November 2026
Amazon says Chinese hackers used Cairn AI tool to discover apparent zero-day during attack on university, The Record, 20 November 2026
GHSA-qc22-rmgc-vg94, MONAI Label, 18 November 2026, and the fix, PR #1915, merged 19 October 2026
Malicious version of Microsoft's agent-framework published to PyPI, Wiz, 17 November 2026 (updated 18 November)
Microsoft agent-framework compromised twice on PyPI, SafeDep (updated 23 November 2026)
Attackers compromise Microsoft's Agent Framework PyPI package to steal cloud credentials, The Hacker News (updated 20 November 2026)
Inside the loop: five AI attack frameworks that never ask permission, Elastic Security Labs, 13 November 2026
Cyber Chaos Monkey: staying ahead of security threats with AI agents, Shopify Engineering, 12 November 2026
Offsec Harness Index, updated 24 November 2026
Policy and disclosure: 2026 edition, Google Project Zero, 13 November 2026
ARTEX and friends: enter agentic offensive frameworks, Google Threat Intelligence Group, 30 October 2026
tl;dr sec #355, Clint Gibler, 19 November 2026
