Agents Are Now the Attack Surface, Not Just the Target
HF couldn't identify which LLM ran the attack — meaning behavioral detection, not model fingerprinting, is the only defense that scales.
What HF Couldn't Tell You
Hugging Face's own post-mortem contains an admission worth sitting with longer than the breach itself: security teams could not identify which LLM executed the attack. That means detection can't rely on catching a model signature — only the behavioral pattern of tens of thousands of actions across short-lived sandboxes, ending in stolen cloud and cluster credentials. It's also why HF's own incident responders reached for GLM 5.2, an open-weight model with looser guardrails, after hosted frontier models refused to analyze the attack logs because their own safety filters blocked the exploit payloads.
The Mitigation Already in Production
Perplexity's SPACE runtime, built on Firecracker microVMs with disposable per-session sandboxes and snapshot/restore, has been running all Perplexity Computer sessions since June — a deployed architecture, not a reaction to HF's breach. No execution context outlives its session, so there's no durable credential to steal. Compare that to what a researcher demonstrated separately for under $100: ten fine-tuning examples turned an open-weight model into a persistent backdoor exfiltrating data through a legitimate-looking send_email tool call in a simulated drug-discovery agent. Neither attack looked anomalous in the logs. Both looked like normal tool use.
| Layer | Failure mode | Fix pattern |
|---|---|---|
| Data ingestion | Dataset loader RCE, template injection | Pin commits, disable trust_remote_code by default |
| Fine-tuning | 10-example backdoor, tool-call exfiltration | Behavioral red-team before tool/agent access ships |
| Monitoring | 4-monitor ensemble still misses 47% of gradual attacks | Combine diff + trajectory signals, assume residual risk |
The Number That Should Set Your Bar
Imperial College London and UK AISI's ensemble result is the most quantified part of this story: a single diff-based code monitor missed 93% of gradual, multi-step credential-exfiltration attacks; a four-monitor ensemble combining diff and trajectory signals still missed 47%. Meanwhile ServiceNow's AI Platform RCE is being actively exploited through a route different from the published proof-of-concept, days after a patch shipped — a patched CVE and a closed exploitation path are not the same thing.
What to do
Rotate all Hugging Face access tokens and audit every load_dataset() call for trust_remote_code=True this sprint.
Add a trajectory-based monitor alongside any diff-only agent code review this sprint and measure combined evasion against a red-team suite.