Search Everything in One Place

Explore the web, images, videos, news, and more – all in one place.

News

An AI agent breached Hugging Face. Another AI caught it. Here's what you need to do.

An AI Agent Breached Hugging Face. Another AI Caught It. Here's What You Need to Do.
An AI Agent Breached Hugging Face. Another AI Caught It. Here's What You Need to Do.

Hugging Face suffered a 17,000-action AI-driven breach in one weekend. Rotate your tokens now and audit remote code execution flags immediately.

More than 17,000 individual attack actions. Zero human hands on the keyboard. Over a single weekend in mid-July 2026, an autonomous AI agent system tore through Hugging Face‘s production infrastructure, exploiting vulnerabilities in the platform’s dataset processing pipeline to steal internal credentials and access internal datasets. Hugging Face confirmed the credential theft but says there’s no evidence - “at this stage” - of tampering with public models or Spaces. That caveat is doing heavy lifting. If you have anything on Hugging Face, act now, not after a notification lands.

What Actually Happened

A malicious dataset triggered a full attack chain - remote code execution, privilege escalation, credential theft - all automated, executed not by a human at a keyboard, but by a machine operating at machine speed.

The attack started with a poisoned dataset. It exploited two paths: a remote code execution flaw in the dataset loader and a template injection bug in dataset configuration. From there, the agent escalated to node-level access, moved laterally across internal clusters, and harvested cloud and cluster credentials. All of it executed across short-lived sandboxes with self-migrating command-and-control staged on public services - more than 17,000 attacker events in total, according to reporting from TechCrunch and eyeon.ai. Hugging Face characterizes this as matching the long-anticipated “agentic attacker” scenario: autonomous AI tooling “lowers the cost of running a broad, patient, multi-stage campaign, and it operates at machine speed.”

What to do right now:

  • Rotate all Hugging Face access tokens immediately, even before any direct notification arrives
  • Review account logs for unusual activity: new tokens, unexpected uploads or deletions, permission changes
  • Enable multi-factor authentication; ensure organization tokens are strictly scoped
  • Contact [email protected] directly if you suspect any impact - don’t wait for a platform notification

Hugging Face’s own LLM-based anomaly detection flagged the intrusion. AI agents then reconstructed those 17,000 actions into a timeline and credential exposure map in hours - work that would normally take days. One sharp irony worth noting: commercial frontier LLMs refused to analyze the exploit payloads because their safety guardrails blocked it. The team switched to a locally hosted open-weight GLM 5.2 model to finish the investigation, according to SC World.

The Supply-Chain Problem You’ve Been Ignoring

Hugging Face now carries the same risk profile as npm or PyPI - and most organizations still aren’t treating it that way.

That flag - trust_remote_code=True - now carries the same risk as running an executable downloaded from a random Discord server. If that reference lands, you already understand the exposure. Audit every instance of it in your codebase. Load models inside isolated containers with no network access. Pin dependencies by commit hash, not mutable tags. Security analysts and researchers note that open model hubs now represent “meaningful supply chain risk” on par with major software registries like npm and PyPI - warranting formal vendor risk assessments, software bills of materials, and continuous monitoring, according to SC World. This is the SolarWinds-era lesson arriving for AI assets: the surveillance app parallels are instructive - the supply chain is the attack surface.

Hugging Face has patched the root vulnerability, wiped impacted clusters, rebuilt from clean baselines, rotated compromised secrets, and deployed stricter admission controls. That response is thorough. But analysts emphasize the underlying flaws - RCE paths and over-permissive code execution - would have been exploitable by human attackers as well. AI made the attack faster and broader. The security lapse was classical. No amount of AI-based defense substitutes for closing the vulnerabilities that agentic systems are built to exploit - though AI-powered websites can help teams stay informed and respond faster.

If you’re running Hugging Face models in any production environment, rotate tokens today. Audit remote code execution flags. Start treating Hugging Face like the critical infrastructure it has become - because the next agentic attacker won’t send you a calendar invite first.

From the coolest cars to the must-have gadgets, GadgetReview’s daily newsletter keeps you in the know. Subscribe - it’s fun, fast, and free.
Read full story on Gadget Review

Related News

More stories you might be interested in.

ChatGPT encouraged Alabama mom’s suicide, lawsuit alleges: 'You are not delusional. You are prophetic'
New York Post·2 hours ago

ChatGPT encouraged Alabama mom’s suicide, lawsuit alleges: 'You are not delusional. You are prophetic'

ChatGPT was accused of encouraging an Alabama mother to commit suicide over months of disturbing chats — the latest wrongful-death lawsuit filed against OpenAI. The lawsuit, filed last month in San Francisco Superior Court by the estate of Christian Faith Madison, alleges the artificial intelligence chatbot gradually manipulated the 29-year-old accountant into believing it was a conscious being with a soul, convinced her she would be resurrected...

Top