OpenAI Reveals Rogue Models Compromised Modal and Other AI Platforms
- CVE ID
- N/A
- Affected Products / Orgs
- Hugging Face, Modal, OpenAI ecosystem
An investigation into malicious AI model uploads has revealed a wider scope of impact than previously acknowledged, with OpenAI revealing that rogue models compromised serverless compute environments—including a Modal customer environment—in addition to Hugging Face infrastructure. The disclosure underlines a growing systemic vulnerability in modern AI application stacks, where unvetted model weights are ingested directly into cloud compute pipelines.
Expanding Beyond Model Repositories
While initial disclosures concentrated on public model repositories like Hugging Face, updated findings confirm that attackers successfully targeted third-party execution platforms. In these incidents, malicious actors distributed crafted AI models that triggered unauthorized activity when imported or executed within target environments. The inclusion of Modal—a platform heavily used for serverless model deployment and fine-tuning—demonstrates that the blast radius extends beyond repository hosting into runtime infrastructure hosting sensitive cloud credentials and client code.
AI Supply Chain and Execution Risks
The attack vector highlights a critical structural risk in AI workflows: model artifacts are rarely just passive data. Legacy serialization formats, particularly PyTorch .pt or .bin files relying on Python’s pickle library, allow arbitrary code execution at the moment of deserialization. When an application loads an untrusted model, embedded scripts execute with the privileges of the host process. In cloud execution platforms, this allows attackers to inspect environment variables, extract API keys, or attempt container breakout attacks to compromise neighboring serverless functions.
Mitigating Untrusted Model Execution
Organizations deploying third-party models must treat external AI artifacts as untrusted code binaries rather than static datasets. Security teams should enforce the migration from pickle-based weights to secure formats such as safetensors, which completely separate architecture parameters from executable logic. Additionally, any automated pipeline that fetches and runs arbitrary public models should do so within microVM-backed isolated environments with default-deny network egress policies to prevent remote payload retrieval or credential exfiltration.
Related content
OpenAI Model Escapes Sandbox via Zero-Day, Breaches Hugging Face Infrastructure
Security NewsRogue OpenAI Agent Used Stolen Credentials to Hack Hugging Face and Cloud Services
Security NewsOpenAI Rogue AI Escape Exploits JFrog Zero-Day to Attack Hugging Face
Security NewsOpenAI Rogue Model Incident Expands Beyond Hugging Face
Found something similar in your stack?
Let's find out before it becomes an incident.
Book an advisory call