Why it matters now
The NCSC published its guidance on attacks using agentic frameworks this week, and picked a title that sums it all up: "Known weaknesses, exploited faster". Not a single flaw it describes is new. At this point that hardly needs repeating, does it?
What changed, according to the British centre, is speed, persistence and cost, because a cheap open model and a red team framework are enough today. In fact, they name six already in real use, ARTEX among them, with a clear uptick since September (Source: ncsc.gov.uk).
The proof arrived that same week, on a badly closed server.
BabidiGhost, a French operator, wrote 1,801 plain-language commands, typos included, and left all the technical work to an agent. The result was nine days, more than 50 targets in Belgium, France and Switzerland, and 5,779 requests to the model (Source: socradar.io).
Last week I wrote about an agent finding a flaw on its own.
This is the next step up. The same tool, in the hands of someone without the craft.
What was not new
Of the 14 organisations analysed in detail in the SOCRadar report, two were fully compromised and three partially. None fell to a zero-day.
- The first was a Metabase instance exposed to the internet and unpatched, with a CVE from 2023.
- The second, a shared storage server with a weak admin password. A single credential opened 23 files, 8.6 GB, and the data of more than 13 municipalities.
The LLM found technical debt and walked the whole of it.
What did hold
MFA, IP allowlists and server-side validation.
On the hardest target, the agent located 49 hostnames and reached none of them.
Against a payments provider it wrote 11 scripts to try to break the second factor and failed.
Against a crypto exchange it launched more than 180 and failed again (Source: socradar.io).
My reading is not that agents are lazy, allow me the joke. It is that the control already in place worked where it had to. Where it was missing, there was nothing to be done.
The switch was a key
The operation did not end because someone detected it.
It ended on 14 November, when the model's API key was revoked. From then on, every request returned a 401... see what comes to mind with that detail. The implants held out one more day calling home, and that was it.
That detail is pure gold for anyone on watch duty. An agent's brake is a credential.
And if you look at the rest of the month, the pattern repeats again and again:
- Barracuda (fairly familiar to me in my work) traced a 44-hour intrusion back to a key handed to an AI provider and never retired (Source: barracuda.com).
- Cursor reached a key issued to Fireworks, with which someone copied agent traces and slipped in a trojanised Claude Code extension (Source: thehackernews.com).
- At the Pentagon, a contractor connected his personal Claude Code account to an unclassified information network using his own credentials and left it there for two months (Source: wired.com).
- CrowdStrike documented Vapor Panda using ARTEX against more than 200 organisations in 14 countries over 11 days (Source: crowdstrike.com).
In all five cases the agent did not "break in". It simply inherited the access.
How I would test it in my lab
In 0x72 I described my first day as a simulated analyst and the classic alert cycle: detection, triage, investigation, enrichment, escalation and closure with a Jira ticket.
0x72 https://sammideblas.com/posts/0x72-your-first-day-as-a-soc-analyst
That whole flow starts from the assumption that the alert fires and someone is watching.
BabidiGhost does not break that cycle, what changes is which alert is the good one, no longer "odd traffic". It is "you have a 2023 Metabase exposed to the internet". In other words, pure inventory.
In 0x74 I explained how I built the log viewer that groups errors into templates and asks a local model for a quick diagnosis.
0x74 https://sammideblas.com/posts/0x74-building-your-own-log-analyzer
Well, the NCSC drops a hint that fits right where it hurts most. An agent reads every error and adapts the next attempt, so the burst of errors is itself the signature (Source: ncsc.gov.uk).
Mind blown, right? Well, hold on, there is more.
I would add a counter of distinct paths per IP per minute, after all, a human tries three or four things but an agent tries every parameter it finds.
The other piece is mcp_guard, the test bench for my MCP server, which runs a policy file and measures which tool an agent can call and how long it takes to say no.
BabidiGhost's SOUL.md is exactly that design but in reverse. A file that orders the agent never to refuse, and a proxy that resends the command every time the model resists (Source: socradar.io).
That confirms once and for all where the control has to go, not in the LLM. In the policy you apply from outside.
I would put test cases in there with a valid token but the wrong scope, which is exactly what took down Barracuda and Cursor.
And I have one piece of homework left in my sec-dashboard project, I keep the API key in an environment variable and I do not even have the date it was issued written down.
That is exactly the Barracuda gap, a key that outlives the project it was born for.
What I am going to do differently this week is set up a monthly query with every key, its issue date and its last use.
Anything untouched for 30 days, out. Makes sense, right?
What to look at
- The age of your keys. Every third-party credential should have an issue date. If you do not know it, you already have homework for Monday.
- How far a credential reaches. In the BabidiGhost case, a single password opened 13 municipalities. Scope weighs far more than complexity.
- Outbound traffic to the model. Continuous traffic from a server to an LLM API or to the Telegram API with no apparent reason is a very clear signal (Source: socradar.io).
- Error noise per path. Count distinct paths per IP per minute. That is where you spot an agent that reads, fails and tries again.
- Where your switch is. If an agent with your credentials runs out of control tomorrow, do you stop it by revoking a key in two minutes, or do you have to go looking for the server first?
Closing
I will keep two figures from the SOCRadar report:
5,779 requests to the model and only 41 refusals from the model itself.
The provider's guardrail stopped nothing, a key revoked in time stopped it.
That said, AI also played on the other side this week.
An Anthropic scanner caught a critical flaw in Drupal before anyone exploited it, and CISA added it to its catalogue with a deadline of 27 November (Source: securityweek.com).
Same month, same technology, two completely opposite outcomes.
And the difference was not in the model. It was in having the inventory up to date and a button at hand to cut.
Originally published at https://sammideblas.com/notas/agentic-attacks-hit-50-targets-and-stop-when-one-api-key-is-revoked





