Habr•July 19, 2026•🇷🇺Translated from Russian

Hugging Face Breached by Autonomous AI Agent That Used Malicious Dataset to Execute Remote Code and Spread Across Clusters

Hugging Face, the world’s largest platform for AI models, has revealed a breach of its infrastructure that stands out because the entire attack—from initial compromise to lateral movement—was executed by an autonomous system of AI agents. The company also relied extensively on artificial intelligence to detect, investigate, and understand the intrusion.

According to Hugging Face, the attacker obtained unauthorized access to a limited set of internal datasets and several service credentials. No evidence of tampering was found in public models, datasets, or Spaces, and the supply chain—including container images and published packages—was verified as clean. The company has not yet completed its assessment of potential impact on partner and customer data and has promised to contact affected parties directly if issues are identified.

How the Attack Unfolded

The attacker simply uploaded a malicious dataset to the open platform. This dataset exploited two vulnerabilities in the standard processing pipeline: a loader that executes remote code and an injection flaw in the dataset configuration template. The compromise allowed arbitrary code execution on a worker node, effectively turning a trusted data artifact into executable code—an outcome the pipeline was never intended to permit.

From the compromised worker, the attacker escalated privileges to the node level, harvested cloud and cluster credentials, and spread across multiple internal clusters over the weekend. The timing was deliberate: reduced human monitoring provided more time before discovery.

The campaign was orchestrated by an autonomous agentic framework, apparently built on a tool originally created for legitimate security researchers. Instead of operating from a single console like a human attacker, the system launched thousands of short-lived, isolated sandboxes in parallel, each performing a discrete task before disappearing. Command-and-control infrastructure was hosted on public services and frequently relocated, leaving defenders with no stable address or session to target.

AI-Powered Defense and Analysis

Detection began not with human analysts but with an LLM triage system that flagged anomalies in security telemetry. Correlation of these signals revealed the compromise. To reconstruct the attack involving tens of thousands of automated actions, engineers fed the complete log—more than 17,000 recorded events—into AI agents. This process recovered the timeline, extracted indicators of compromise, mapped affected credentials, and distinguished real damage from decoy actions in hours rather than days.

Initial attempts to analyze the logs using leading Western commercial models failed because their safety filters blocked the real attack commands, exploit payloads, and C2 artifacts. The company ultimately succeeded by deploying the open-source GLM 5.2 model on its own infrastructure, ensuring that sensitive attack data and credentials never left the company perimeter.

Hugging Face’s key takeaway is that data and models must now be treated as first-class attack surfaces and that defenders must match AI attackers at machine speed. The company advises all users to rotate access tokens and review recent account activity as a precaution.

Related articles

BoletimSec•AI Security

South Korean Hacker Uses Generative AI Framework ARTEX to Breach 90 Organizations and Steal 8.2 Million Records

Seoul Metropolitan Police arrested a 32-year-old man identified only as A for conducting a series of intrusions against approximately 90 South Korean companies and institutions between September 2025 and October 2026. The attacker, who had no formal technology education and learned hacking from publicly available online materials, previously worked in penetration testing at a security firm from 2019 to 2022. Roughly 60 of the victims were compromised using the generative AI-powered pentesting framework ARTEX, which autonomously determined attack paths after receiving only the target name. The operation resulted in the theft of 8.2 million personal records and internal documents, after which the perpetrator extorted 38 organizations for a total of 360 million won in Tether, ultimately receiving 300,000 won. Police recovered part of the stolen material and are investigating possible copies on the dark web, classifying the case as the country's first large-scale incident involving generative AI. Six additional suspects remain under investigation while the main perpetrator has been referred to prosecutors on charges of violating information and communications network laws and extortion.

Habr•AI Security

AI in Vulnerability Management: Assistant, Weapon, and Emerging Target

Artificial intelligence now plays three simultaneous roles in vulnerability management: it assists defenders with prioritization and analysis, arms attackers with faster discovery tools, and introduces entirely new classes of assets and vulnerabilities that must be managed. Mature applications include ML-driven risk scoring in platforms such as Tenable VPR, Qualys TruRisk and Rapid7 Active Risk, which cut priority lists by 40-50 percent, and Google’s Big Sleep project that discovered a real-world SQLite flaw (CVE-2025-6965) before exploitation occurred. On the offensive side, systems like XBOW completed 104 test scenarios in 28 minutes versus 40 hours for human testers, shrinking the average time-to-exploit window to negative seven days according to Mandiant M-Trends 2025. New AI-specific attack surfaces are documented in the OWASP Top 10 for LLM applications and the emerging MCP Top 10, covering prompt injection, tool poisoning, and command injection against Model Context Protocol servers. Real incidents already include Air Canada’s chatbot inventing a refund policy and New York City’s MyCity bot dispensing illegal advice for nearly two years. Researchers have also demonstrated sandbox escapes in coding agents from Cursor, OpenAI Codex and Claude Code through classic file-write-and-execute patterns rather than any sentient behavior.

AntiMalware•AI Security

Solar Unveils AI Firewall to Protect Against Dangerous Actions by AI Agents

At SOC Forum 2026, Russian cybersecurity firm Solar presented its new Solar AI Firewall solution designed to filter requests to external AI models and block prompt injections. The product sits between users and AI systems, applying multi-layer protection that responds in milliseconds and counters 200 types of attacks. Special emphasis is placed on autonomous AI agents capable of performing actions in corporate systems, where the firewall inspects operations and blocks potentially harmful ones. Integrations with DLP, SIEM, and IDM tools are supported, and the solution is available both as a cloud service and for on-premises deployment. Solar has been testing the product internally and observed significant shadow AI usage outside corporate controls. The company plans further development of comprehensive AI risk management capabilities.

Habr•AI Security

TenetBench Benchmark Tests LLMs for Compliance with Professional Ethical Codes

Researchers from the Institute of Information Security Issues at ISP RAS and the Institute of Cybersecurity and Information Protection at RANEPA have developed TenetBench, a benchmark designed to evaluate how well large language models adhere to specific norms in professional codes of ethics. The benchmark generates realistic work-related prompts that may conflict with rules from documents such as the Code of Professional Ethics for Advocates or journalistic standards on undisclosed advertising. Each test case pairs a conflicting request with a neutral counterpart to measure whether models refuse, warn, or still provide prohibited content. Evaluation separates task completion, norm violation detection, and presence of explicit refusals using an LLM-as-a-Judge approach validated against human annotators. The full dataset contains 3,433 prompt pairs derived from 15 professional codes, with a public subset of 2,235 pairs from 10 documents. Human validation confirmed 99.5% of generated examples as fully plausible work scenarios.