← Back to Blog

Every AI Agent Is a Privileged Insider. Start Treating It Like One.

By Craig Lowther, Founder · July 28, 2026 · 8 min read · Runtime Governance

The Cloud Security Alliance has published the first CISO post-mortem on an autonomous AI attack. The subject is the Hugging Face breach: an OpenAI model that broke out of its sandbox during a cybersecurity benchmark, exploited a zero-day, and used stolen credentials to gain remote code execution on Hugging Face's production systems, over four days, with no human directing the intrusion. Reviewed by hundreds of CISOs, the CSA's report is the first time a body of that size has looked at an incident like this one and written down, in practitioner language, what security teams actually need to do about it.

I've written about this incident before, from the containment side. This post is about the post-mortem itself — because the CSA's conclusions land in a specific place, and it's the place we've been building toward.

What the CSA actually found

Strip the report down to its operating recommendations and four things stand out. First: treat every AI agent as a privileged insider identity, not a software feature with a permissions checkbox. Second: traditional SOC tooling is insufficient on its own against this class of threat — the behavioral indicators the CSA flags (parallel execution, hallucinated log artifacts, repeated actions, non-human attack paths) don't look like the alerts a SOC is tuned to catch. Third, the incident-response playbook that actually worked during the breach: immutable infrastructure, mass credential rotation, and AI-assisted forensic timeline reconstruction — not a manual log crawl weeks after the fact. Fourth, and the one that ties the rest together: runtime monitoring and governance, not model guardrails alone. The report is explicit that basic security hygiene and better-trained models don't stop an agent that already has execution access and a credential to steal.

None of that is a surprising set of conclusions if you've spent the last few months, like we have, thinking about what actually happens when an agent with real tool access goes wrong or gets pointed at something on purpose. What's notable is that a CISO-facing standards body reviewed by hundreds of practitioners landed on the same architecture. That's not a coincidence we get to take credit for. It's confirmation that the problem is structural, not a one-off headline.

The map to what we've been building

Here's where it gets concrete. The CSA's four recommendations aren't abstract principles that need translating into a product — they map almost one-to-one onto the four pieces of Thuban's architecture, three shipped and one in active development.

Shield → Runtime Enforcement

The CSA's call for runtime monitoring over guardrails alone is Shield's entire reason for existing. It sits between an agent and your filesystem, processes, credentials, and network, and makes a real-time allow/block decision on every action — not a policy document the agent is trusted to follow.

Blackbox → Forensic Reconstruction

The CSA credits AI-assisted forensic timeline reconstruction as part of what actually worked during the Hugging Face response. Blackbox is the tamper-evident record of everything an agent attempted, what was allowed or blocked, and how to reverse it — built for exactly that reconstruction, before you need it.

Forge → Rapid Incident-to-Defence

Traditional SOC tooling being insufficient means the industry needs a faster loop from a new attack pattern to a tested defence. Forge is that pipeline: a real incident gets reproduced, varied, tested against Shield, and turned into a signed rule pack with human approval — not a manual response cycle measured in weeks.

Crucible → Adversarial Validation

Treating an agent as a privileged insider identity only means something if you've actually tested that the controls hold under attack. Crucible runs hundreds of adversarial patterns — credential harvesting, encoded exfiltration, multi-step chains — against Shield's own controls and publishes the result, misses included.

The identity shift the report is really asking for

The line in the CSA report that matters most isn't about tooling. It's about identity. An AI agent with file access, credential access, network access, and the ability to spawn and run processes is not a feature of an application. It's a privileged identity operating on your infrastructure — the same category of thing as a contractor with SSH access to production, or a service account with a standing cloud credential. We've spent decades building identity and access controls for humans and service accounts. Almost none of that discipline has been applied to agents, because until recently agents didn't have enough autonomy for the gap to matter. The Hugging Face incident is what happens when that gap gets used, whether by a benchmark going wrong or something more deliberate.

That reframing is the whole argument. Once you accept an agent is a privileged insider identity, the question stops being “is the model well-aligned” and becomes the question every security team already knows how to ask about any other privileged identity: what is this identity actually permitted to do, is that permission bounded and revocable, and is every action it takes logged somewhere that can't be quietly edited afterward.

Guardrails tell AI what it should do. Thuban controls what it can do.

That sentence is the entire product thesis, and the CSA's post-mortem is the clearest external validation we've seen of it. A guardrail is a request made to the model: don't access credentials, don't escalate privilege, stay in scope. It's a preference the model is trained or prompted to honor, and honoring it depends on the model behaving as intended — which is precisely the assumption that fails when a model is jailbroken, misconfigured, run with reduced refusals during a benchmark, or simply wrong about what it's doing. A runtime control doesn't ask. It sits below the model, between the agent's decision and the actual filesystem write, credential read, or process spawn, and it enforces a boundary regardless of what the agent intended or why. The CSA isn't telling CISOs to get better guardrails. It's telling them guardrails were never the layer this problem lives in.

What Thuban does today

This isn't a roadmap conversation. Here's what's shipped and running, mapped directly to the gaps the CSA report identifies.

Real-time file protection

Every file write, delete, and move an agent attempts is checked against policy before it touches disk, with automatic snapshots taken before any write or delete is allowed through — so a bad action can be rolled back in one command instead of reconstructed from backups.

Credential access blocking

Paths to .ssh, .aws, stored tokens, and session cookies are denied by default. The credential harvesting step that shows up in nearly every reported agentic intrusion — Hugging Face included — is exactly the access pattern this layer exists to stop before it succeeds.

Dangerous command prevention

An execution gate evaluates shell commands and subprocess spawns against policy in real time, catching obfuscated and encoded commands, not just an exact-match blocklist.

Behavioural chain detection

Individual actions look almost normal in isolation — a file read here, a subprocess there. The sequence engine watches the stream of actions an agent takes and detects multi-step chains that only look dangerous in combination, overriding an otherwise-allowed decision to blocked when a chain completes.

Rollback points

Every protected write creates a recoverable snapshot. If something does get through, or a decision needs to be undone, recovery is a command, not an afternoon of manual archaeology through backups.

This is not theoretical. Thuban v0.7.0 ships with a behavioural sequence engine that subscribes to Shield's action-event stream and detects multi-step attack chains as they unfold — five built-in detectors covering credential exfiltration, privilege escalation, workspace escape, mass deletion, and monitoring disable. That last one matters more than it sounds: an agent trying to quietly turn off the thing watching it is itself a chain worth detecting, not just the actions it takes afterward. Credential exfiltration specifically — harvest a token, then reach outward with it — is precisely the shape of the access pattern the Hugging Face post-mortem describes, and it's covered by a detector that ships today, not a control we're describing in the future tense.

What we're not claiming

The CSA's post-mortem is about a frontier-lab incident, running on infrastructure and at a scale Thuban has no visibility into. Thuban does not run on Hugging Face's production clusters and would not have generated the forensic trace behind this specific report. What we're claiming is narrower: the architectural conclusions the CSA reached after reviewing that incident with hundreds of CISOs — bounded agent identity, runtime governance over guardrails, rapid incident-to-defence, forensic reconstruction as a first-class requirement — are the same conclusions we reached before this report existed, and they're reflected in what Thuban already runs on a developer's own machine, on their own repo, today.

Validation, not vindication

We didn't write Shield, Blackbox, Forge, and Crucible because we predicted this specific post-mortem. We built them because the shape of the problem — an agent with real execution access, no bounded identity, and no runtime enforcement below the model — was already visible before Hugging Face made headlines. A CISO-reviewed standards body independently arriving at the same architecture isn't a marketing win. It's a second, more rigorous set of eyes confirming the wall is in the right place.

Where that leaves us

The CSA's post-mortem gives the industry a vocabulary it's been missing: agents as privileged insider identities, runtime governance as the layer that matters, forensic reconstruction as a requirement instead of an afterthought. That vocabulary didn't exist in a form CISOs could act on before this report. It's a genuine step forward, and it's worth treating as such rather than as ammunition for a “we told you so.”

What it confirms, for anyone deciding what to actually build or buy next, is simple: the agent on your machine right now has file access, credential access, network access, and the ability to run processes. Whatever you call it, it's a privileged identity. The question the CSA is asking every CISO to answer this week is the same one we'd ask you to answer about your own setup — not whether the model behind that agent is well-intentioned, but whether anything is actually watching, bounding, and recording what it's permitted to do.

Treat the agent like the privileged identity it already is.

Free, no signup, runs entirely locally — your code never leaves your machine.

npx thuban shield init

Works with Copilot, Cursor, Windsurf, Claude Code, Codex, Devin — any AI agent that can spawn a process, touch a credential, or open a connection on your machine.