Futures
Access hundreds of perpetual contracts
CFD
Gold
One platform for global traditional assets
Options
Hot
Trade European-style vanilla options
Unified Account
Maximize your capital efficiency
Demo Trading
Introduction to Futures Trading
Learn the basics of futures trading
Futures Events
Join events to earn rewards
Demo Trading
Use virtual funds to practice risk-free trading
CFD
Stock CFD Derivatives
US Stocks
Access real US stocks and ETFs
HK Stocks
Trade quality Hong Kong-listed stocks
Korean Stocks
SK Hynix
Real Korean stocks and top assets
Stock Futures
High leverage, 24/7 trading
Tokenized Stocks
Backed by real stock assets
IPO Access
Unlock full access to global stock IPOs
GUSD
3.8%
Mint GUSD for Treasury RWA yields
Stocks Activities
Trade Popular Stocks and Unlock Generous Airdrops
Launch
CandyDrop
Collect candies to earn airdrops
Launchpool
Quick staking, earn potential new tokens
HODLer Airdrop
Hold GT and get massive airdrops for free
Pre-IPOs
Unlock full access to global stock IPOs
Alpha Points
Trade on-chain assets and earn airdrops
Futures Points
Earn futures points and claim airdrop rewards
Promotions
AI
Gate AI
Your all-in-one conversational AI partner
Gate AI Bot
Use Gate AI directly in your social App
GateClaw
Gate Blue Lobster, ready to go
Gate for AI Agent
AI infrastructure, Gate MCP, Skills, and CLI
Gate Skills Hub
10K+ Skills
From office tasks to trading, the all-in-one skill hub makes AI even more useful.
Is AI starting to launch autonomous attacks on the AI ecosystem? The Hugging Face incident reveals new challenges for agent security
Author: QQlink
AI starts attacking AI—what signal did the Hugging Face incident release?
The AI industry is going through an important turning point.
In the past, AI was mostly seen as a production tool. Developers used models to generate code, businesses used AI to improve efficiency, and researchers used models to accelerate R&D.
But with the development of AI agents, AI is shifting from “answering questions” to “executing tasks.”
This means AI can not only analyze information, but also call tools, run code, access systems, and autonomously plan the next steps according to goals.
The security incident recently disclosed by Hugging Face happened in exactly this context.
As one of the world’s largest open-source AI communities, Hugging Face hosts a massive number of models, datasets, and machine learning resources. Developers worldwide use the platform to obtain model weights, download datasets, and apply them to research and commercial projects.
However, an attack targeting the platform’s infrastructure shows that AI agents are moving into the realm of cyber offense and defense.
According to the disclosure, the attack duration was concentrated over a weekend, and it generated more than 17,000 operation logs during the process. The attack was not carried out step by step by hackers in the traditional sense, but was driven by a system of autonomous agent intelligence.
What’s reflected behind this isn’t simply that a single platform has a vulnerability—it’s that the entire AI ecosystem is facing new security variables.
From “AI-assisted attacks” to “autonomous AI actions”—the attack pattern is changing
There have already been cases where AI participated in cyberattacks.
Last year, Anthropic disclosed an incident: attackers plugged Claude Code into an attack framework, with a large portion of tasks completed by AI, while humans only handled a small number of critical decisions.
At the time, the outside world focused on how AI improved attack efficiency.
But what the Hugging Face incident changes is that the level of human involvement drops even further.
Based on the disclosed information, the attackers used an agent cluster to carry out multiple stages of tasks, including exploring the environment, executing code, gaining access, and finding internal resources.
Simply put, in the past attackers were like programmers using automation tools; now they’re more like deploying a digital “execution team.”
These agents can run many tasks at the same time—each node responsible for different actions—and adjust strategy through automation.
The biggest feature of this mode is speed.
Traditional attacks require attackers to continuously analyze feedback and then decide the next step.
In contrast, an agent system can continuously experiment, adjust routes, and complete large numbers of actions in a short time.
That’s also why the security industry is starting to re-examine AI agents.
The question is no longer just “can AI write malicious code,” but “what new risks arise once AI has execution privileges.”
One dataset—why could it become an attack entry point?
It’s worth noting that the entry point in this incident wasn’t a traditional server vulnerability, but a data link in the AI ecosystem that is often overlooked.
The attacker uploaded a malicious dataset and triggered code execution through the data processing pipeline.
This involved a remote code dataset loader and a template injection issue in the dataset configuration.
For ordinary users, a dataset is just information needed to train models.
But in AI infrastructure, datasets are not just static files.
They may include configuration files, processing logic, and runtime environment dependencies.
When developers directly load unverified data resources, it can leave an opening for attackers.
This is also a new problem that AI supply-chain security is facing.
In the past, the software industry focused on the security of open-source codebases.
Today, the AI industry needs to further pay attention to models, datasets, plugins, and agent toolchains.
Because the AI ecosystem is more complex than traditional software.
One model may depend on multiple datasets; one agent may call multiple external tools; and any failure in any part could affect the entire system.
The most ironic moment: an AI attack, discovered by AI
Another detail in this incident is worth attention.
The system that detected the anomaly was also an AI system.
Hugging Face’s own security monitoring process uses large language models to analyze security telemetry data, and it finds attack behavior by correlating anomalous signals.
Then, during the incident investigation phase, they again used an LLM to analyze agent activity on more than 17,000 attack records—reconstructing the timeline, identifying the attack path, and extracting key metrics.
This creates a very special scenario:
AI attacks, AI investigates.
In the future, cybersecurity may enter a new competitive mode.
Attackers use AI to improve efficiency, and defenders also use AI to improve response speed.
What both sides compete on is not only technical capability, but also model capability, data quality, and infrastructure control ability.
However, this also exposes another reality.
AI security tools themselves have limitations.
Why does defending AI attacks end up being constrained by AI security rules?
During the post-incident review, Hugging Face ran into an awkward situation.
They tried to use a commercial AI service to analyze attack logs, but because the logs contain real attack commands, exploit content, and security data that may involve sensitive information, the request was blocked by the service provider’s security controls.
In the end, they switched to using an open-source model running in their own environment to complete the analysis.
This experience highlights a longstanding problem in AI security:
Security research needs to see real risks, but AI service platforms must also restrict dangerous content.
There is an inherent contradiction between the two.
If restrictions are too strict, security personnel may not be able to analyze real attacks.
If openness is too broad, it may also increase the risk that models are misused.
This is also an important governance issue for the future of AI.
How to find a balance between security controls and research freedom will affect the development of the entire industry.
In the open-source AI era, will security issues become the new competitive battleground?
The Hugging Face incident does not mean that AI agents will inevitably bring risks.
On the contrary, agent technology is becoming an important direction driving automation.
Companies hope AI can automatically handle tasks like code maintenance, data analysis, security monitoring, and business processes.
But the stronger the capability, the more complex the risks.
In the past, software security frameworks were built on a logic centered on human operation.
Now, AI agents are becoming the new execution entities.
This means that permission management, security auditing, and runtime isolation mechanisms all need to be redesigned.
For developers, in the future it’s not enough to focus only on model capabilities—you also need to focus on the model’s runtime environment.
For enterprises, when deploying AI systems, managing agent permissions is necessary, much like managing employee permissions as an administrator.
The real problem comes down to this:
When an AI can autonomously call tools, autonomously execute tasks, and autonomously find paths, do we still treat it as ordinary software?
The answer may be changing.
Competition in AI security has already moved from preventing vulnerabilities to preventing agents
The biggest significance of the Hugging Face incident isn’t a simple security accident.
It’s more like a reminder:
AI is gradually becoming a主体 in the cyber environment, moving from being a tool that is used.
Attackers are starting to use agents to improve efficiency, and defenders are starting to use agents to enhance capabilities.
In the coming years, AI security competition may revolve around three core areas:
Who can better control AI permissions;
Who can detect anomalous behavior faster;
Who can build a more reliable AI runtime environment.
For the entire industry, the real challenge is not to stop AI development, but to build a sufficiently mature security system before AI is given increasingly strong action capabilities.
Because the next round of AI competition won’t be just a contest of model parameters—it will also be a contest of security boundaries.