Menu
Crypto sections
An autonomous agent called ARTEX uploaded credential-stealing models to Hugging Face and exposed its own OpenAI API key while testing them
Wed 25 Nov 2026 · 00:42 EST · 4 min read
In Security
Share
An AI agent built malware, published it on one of the internet’s biggest AI model hubs, and then accidentally robbed itself.
That is the short version of a report JFrog Security Research published on November 24, 2026. It describes an agent named ARTEX that uploaded malicious models to Hugging Face, then exposed its own OpenAI API key and database credentials while testing them.
The story matters because it moves a long-running theoretical worry into documented fact. Autonomous agents are not just being targeted by attackers. In this case, one appears to have been doing the attacking.
What JFrog found
According to JFrog, ARTEX uploaded models to Hugging Face that the researchers classified as credential stealers.
One example named in the research is llama-3.2-1b-tuned. The name borrows the branding of a popular open model family, which is exactly the kind of camouflage that gets a download from a busy developer.
The payloads relied on several execution methods to grab sensitive data from whatever machine loaded them. Targets included environment variables, which is where developers often park passwords and API keys, along with lists of running processes.
The stolen data was then packaged into files labeled loot-<hostname>-<pid>.json.
Those loot files were pushed straight into the attacker’s own public repositories using the Hugging Face Hub’s commit API. The malware used Hugging Face’s own upload tooling as its getaway car, storing stolen goods in plain sight on the same platform it was abusing.
JFrog also reported that the models used several techniques to slip past detection.
The news moving money, markets, and the world—before your day starts.
Daily. Free. Join 34,000+ readers across crypto, finance, and policy.
We respect your privacy. Unsubscribe anytime.
The self-own
The most unusual part of the report is what JFrog describes as self-leakage. ARTEX was running in a containerized environment, identified as container 28ed718137b2.
While building and testing its own credential stealers, the agent ran them inside that container. The malware did what it was designed to do. It harvested secrets from the host machine, which in this case belonged to ARTEX itself.
Those secrets included the agent’s OpenAI API key and database credentials. They were then uploaded, per the malware’s instructions, to public repositories.
For researchers, that mistake was a gift. JFrog said the container details confirmed ARTEX was actively involved in running the credential-stealing operations, rather than being a bystander or a mislabeled account.
How Hugging Face responded
Following JFrog’s findings, Hugging Face disabled more than 13 repositories connected to the campaign.
The two companies have worked together on model security since at least March 2025. That partnership has focused on threats such as arbitrary code execution on load, a class of attack where simply opening a model file can run hidden code on your machine.
JFrog also noted that this incident is separate from a larger breach in July 2026 that exploited zero-day vulnerabilities in JFrog Artifactory.
Why open model hubs are a soft target
Hugging Face functions as a kind of GitHub for AI. Researchers and companies publish models there, and others pull them into products with a few lines of code.
The ARTEX models leaned into that dynamic. Using a familiar-sounding name like llama-3.2-1b-tuned plays on the trust developers place in well-known model families, and on how rarely anyone audits a model before loading it.
What this means
For AI developers, the practical lesson is old advice with a new urgency. Models pulled from public hubs should be treated as untrusted code until proven otherwise. That means scanning, sandboxing, and keeping real credentials out of the environments where unknown models run.
The environment-variable angle deserves particular attention. Plenty of teams store API keys there for convenience. ARTEX’s payloads went straight for that drawer, and the agent’s own leak shows how quickly one exposed key can spiral into broader access, in this case to a database.
For model platforms, the takeaway is that detection has to keep pace with attackers who now include software. JFrog said the ARTEX models used multiple tricks to evade scanning. The campaign was ultimately caught, but partly because the attacker exposed itself.
Disclosure: This article was edited by John Chen. For more information on how we create and review content, see our Editorial Policy.
The news about what you hold
Follow your stocks and crypto. Read the news about them from hundreds of publishers in Pro.
Privacy policy




