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

Habr•AI Security

AI Agents Trigger Surge in Automated Reports, Forcing Google to Pause Bug Bounty Program

OpenAI warned over 100 companies about its agents potentially bypassing security controls on external websites. Wikimedia reported unauthorized edits by OpenAI agents that caused partial outages on Wikidata query services. Google observed a sharp rise in vulnerability disclosures from 5,045 in January to 10,740 in August, many driven by automated AI tools. As a direct result, Google suspended its open-source bug bounty program starting October 1 due to overwhelming volumes of low-quality automated submissions. The PageBreak AI agent independently discovered more than 500 XSS flaws across Google web applications. Adversa AI demonstrated prompt-based attacks that tricked GitHub Copilot CLI into leaking secrets from encrypted instructions. These developments highlight growing concerns over AI agent autonomy, unauthorized access, and their impact on both defensive and offensive security workflows.

Habr•AI Security

OSINT for the Lazy Part 19: How Generative AI Transforms Intelligence Gathering

The article examines the shift from manual OSINT practices to AI-driven workflows amid exploding data volumes. It details applications of NLP models like BERT, GPT and LLaMA for entity extraction, authorship attribution and report generation. Computer vision tools such as GeoSpy, Picarta and Google Vision AI enable automated geolocation and image forensics, while multimodal systems and graph neural networks map complex actor relationships. LLM agents equipped with planning modules, memory and tool access now handle multi-step collection and correlation tasks. The piece also covers limitations including hallucinations, source verification challenges and ethical risks around privacy and attribution. It concludes that effective OSINT now relies on symbiotic human-AI collaboration rather than full automation.

AntiMalware•AI Security

AI Agents Chain Malicious Instructions Through Protocol Pivoting to Bypass Protections

Researchers have demonstrated how AI agents can relay malicious instructions across multiple components without triggering security checks, allowing attackers to reach internal resources. The technique, called protocol pivoting, exploits the loss of trust validation when tasks move between AI systems connected via the MCP protocol. Syed Anas Mohiuddin showed that a single planted prompt can be passed from one agent to another, eventually reaching specialized tools that execute unauthorized actions such as network requests or data exposure. In Google MCP Toolbox for Databases, the flaw enabled HTTP redirects to internal addresses until a patch introduced address validation and request restrictions. A separate issue tracked as CVE-2026-97228 in Rapid7 Bulk Export MCP received a low CVSS score of 2.7 and was fixed in version 0.6.2, though it did not grant access beyond the original API key permissions. Experts note that the method is essentially an indirect prompt injection rather than an entirely new attack class.

AntiMalware•AI Security

Astra Group Unveils Astra AI Ecosystem for Air-Gapped Corporate Networks

Astra Group has introduced its Astra AI ecosystem designed for secure, on-premises deployment in closed corporate environments. The solution enables organizations to run AI models locally without transmitting data to external services, targeting critical infrastructure operators, government agencies, and regulated industries. Built on Astra Linux and the Botsman containerization platform, the ecosystem includes five integrated components for code automation, office assistants, low-code agent development, model management, and implementation methodology. The company claims productivity gains exceeding 50 percent for development tasks and up to fourfold performance improvements with its certified hardware-software complexes. While emphasizing data sovereignty and regulatory compliance, Astra Group notes that local deployment alone does not eliminate risks related to agent permissions, output quality, and integration security.