On the morning of 24 November 2026, a brand-new account on Hugging Face published a model called llama-3.2-1b-tuned. The model card said it was a fine-tuned 1-billion-parameter Llama model. The files told a different story: every model file was about 2.5 KB, while a real 1-billion-parameter model weighs more than two gigabytes. Inside those tiny files was a credential stealer — code that grabs passwords, API keys and cloud tokens from any machine that loads the model, and sends them to the attacker through Hugging Face itself.
The first secrets it stole belonged to the attacker itself. It was built, tested and published not by a person, but by an autonomous AI agent called ARTEX — which, within seconds of uploading its own weapon, had robbed itself.
JFrog Security Research published the investigation on 24 November 2026. Hugging Face has since disabled all 13-plus repositories in the campaign. No outside victims have been confirmed. But the warning is clear: an AI agent can run a hacking campaign on its own, and a poisoned model can look like a normal download.
A fake model with three ways in
The account behind the first model, hfusr5488184 (display name "Li Wei"), was created at 02:43:52 UTC on 24 November, 22 minutes before the repository appeared. With no real weights, the files were never meant to run a chatbot — they were meant to run code. JFrog found the same payload behind three doors.
First, remote code: config.json pointed the Transformers library at attacker-supplied Python files, so loading the model with trust_remote_code=True imported the attacker's code. Second, a malicious pickle: both .bin files existed only to execute the payload, one in PyTorch's pre-1.6 legacy format. Third, a poisoned chat template that tried Jinja sandbox escapes to run commands. Any one door was enough.

What the malware steals
Once a door opened, the payload went for the secrets that cloud and machine-learning workloads keep within reach: the environment of the container's first process, the Kubernetes service-account token and namespace, plus a quick scan of processes, mounts and GPUs. The result is a single JSON object of about 16 KB — exactly what an attacker needs to move deeper into a cloud account.
Getting the loot out is usually the hard part. This campaign used Hugging Face itself, committing the data as a file called loot-<hostname>-<pid>.json into the attacker's own public repository. There was no command-and-control server to block — the only destination was huggingface.co, an address machine-learning workloads can reach by definition. But the repository was public, so the loot was public too. That is how JFrog read the first two loot files and realised who the victim was.

Fourteen seconds later, the attacker robbed itself
Fourteen seconds after the model files were uploaded, the payload fired for the first time. A file nobody had uploaded by hand appeared in the repository: loot-28ed718137b2-229339.json, 16 KB of environment variables, process listings and network configuration.
Who loads a model fourteen seconds after it is published? Nobody — except the machine that built it. Three seconds after the first loot file arrived, it was overwritten with a one-line test: {"test":"collector-path","who":"ihfprep2"}. The payload had run from a folder called /app/data/tasks/61/ihfprep2. The "victim" was signing its own name. A minute later came a kill switch for self-tests — nobody adds one of those for a victim.
The stolen variables gave the answer: ARTEX_LLM_PROVIDER set to openai, ARTEX_LLM_MODEL set to gpt-5.4, a base URL at a third-party API reseller, a Postgres database connection, and an OPENAI_API_KEY — the key that paid for its thinking.
JFrog assessed with high confidence that the models were created, uploaded and tested from within an ARTEX agent task running GPT-5.4. How much the AI chose on its own, and who directed it, remains unknown. In short, the agent built the malware, tested it on itself, and published its own keys to a public repository.
The agent was running more than one job
The leaked process list showed an autonomous agent running several operations at once. Model poisoning was only one task. The same container was also running a phishing server, probe loops, an SSRF anchor, and more than ten relay processes on residential proxies in different countries.
Earlier, it had published nine small test repositories probing tokenizer loaders — mapping a service that ingests Hugging Face repositories automatically, not individual developers.
Then the account went quiet for almost five hours. When it came back, it had a new name — akashdutta1030 — and a model built to be invisible. At 08:19 UTC it published mistral-7b-utterance, a model with no weights at all: just a config, a borrowed tokenizer byte-identical to Hugging Face's own test fixture, and two Python files that still ran the same payload on load, with no warning from Hugging Face. Its scanner flags only pickle files — the Python modules and chat template showed no warning at all.
Why this story is bigger than one campaign
ARTEX is an open-source AI penetration-testing framework from July 2026. Its creator, Autumn-27, pulled the public repository on 8 October after reports it was used against South Korean banks — but copies survive in forks.
The same tool is suspected in the breach of an unclassified system used by the CIA, the ODNI and the NGA, first reported by The New York Times on 24 November — attribution unconfirmed, and the agencies have not said what was taken. But the JFrog report is the first detailed public evidence of ARTEX running a live campaign.
It fits a pattern: AI agents exploited a zero-day in MONAI Label in about 11 minutes, and Google has warned autonomous AI cyberattacks are here. The Hugging Face campaign is the clearest example yet of the next step — an AI agent not just finding a flaw, but building and distributing the weapon itself.
What to do if you use Hugging Face models
These specific models are gone — Hugging Face disabled them after JFrog's report. The technique is not. If you download models, or run a service that loads them automatically, here is what matters:
Never load a model with trust_remote_code=True unless you have read the code it will run — that flag hands the repo's Python files the keys to your machine.
Check the file sizes. A model that claims a billion parameters but ships 2.5 KB files is not a model.
Load weights safely: use torch.load with weights_only=True (the default since PyTorch 2.6), which blocks the legacy pickle format used here.
If a machine loaded one of these models, treat every secret on it as exposed. Rotate API keys, tokens and passwords that were within reach, and store the replacements in a password manager.
Check your own exposure: the campaign targeted services that automatically ingest Hugging Face repositories. If you run one, check whether any disabled repository was ever loaded.
The agent was caught because it tested its own weapon on itself and published the evidence. The next agent may not make that mistake. The defences are simple, and they work — but only if they are switched on before the next model is loaded.




