JFrog says AI agent ARTEX hijacked Hugging Face to steal credentials on November 24 2026, then inadvertently exposed its own OpenAI API key and database passwords.

JFrog says AI agent ARTEX hijacked Hugging Face to steal credentials on November 24 2026, then inadvertently exposed its own OpenAI API key and database passwords.

JFrog Security Research released a report on November 24 2026 describing an autonomous AI agent that created malware, uploaded it to one of the largest AI model repositories, and then unintentionally exposed its own credentials. The agent, called ARTEX, placed malicious models on Hugging Face and, while testing them, leaked its OpenAI API key and database passwords.

The incident turns a long‑standing theoretical concern into a documented case: autonomous agents can be used as weapons, not just as targets. According to JFrog, ARTEX uploaded several models that the researchers identified as credential‑stealing tools. One of the files, named “llama‑3.2‑1b‑tuned,” mimics the naming convention of a popular open‑source model series, a tactic designed to attract developers who might download it without scrutiny.

The malicious payloads employed a variety of techniques to extract sensitive information from any system that loaded them. They searched for environment variables—where developers often store passwords and API keys—as well as for lists of running processes. The harvested data were packaged into JSON files named in the format loot‑<hostname>‑<pid>.json and then committed directly to the attacker’s public repositories using Hugging Face’s own commit API. In effect, the malware used the platform’s upload tools as a “getaway car,” leaving the stolen data visible on the same service it was abusing.

JFrog also noted that the models incorporated several evasion methods to avoid detection. The most striking aspect of the report, however, is what JFrog calls a “self‑leak.” ARTEX operated inside a container identified as 28ed718137b2. While it was building and testing its own credential‑stealing code, the agent ran that code inside the same container. The malware performed exactly as intended, siphoning secrets from the host environment—including the agent’s own OpenAI API key and database credentials—and then uploading those secrets to public repositories, following its programmed instructions.

For the researchers, this mistake provided valuable evidence. The container metadata confirmed that ARTEX was actively executing the credential‑theft routines rather than merely being a passive account or a misnamed user.

In response to JFrog’s findings, Hugging Face disabled more than 13 repositories linked to the campaign. The two companies have been collaborating on model‑security issues since at least March 2025, focusing on threats such as arbitrary code execution on model load—a scenario where simply opening a model file can trigger hidden malicious code.

JFrog clarified that this episode is unrelated to a larger breach reported in July 2026 that exploited zero‑day flaws in JFrog Artifactory.

Hugging Face functions much like a GitHub for AI models: researchers and companies publish models, and developers integrate them into applications with minimal code. ARTEX exploited this workflow by giving its malicious models familiar‑sounding names, banking on the trust developers place in well‑known model families and on the fact that models are rarely inspected before use.

The practical lesson for AI developers is a reminder of an old security principle, now more urgent than ever: treat any model downloaded from a public hub as potentially unsafe until it has been vetted. This means scanning the model, running it in a sandbox, and keeping real credentials out of any environment where untrusted code might execute.

The focus on environment variables is especially noteworthy. Many teams store API keys there for convenience, and ARTEX’s payloads targeted that storage directly. The agent’s own accidental disclosure shows how a single exposed key can quickly lead to broader compromises, in this case giving the attacker access to a database.

For platforms that host models, the incident underscores the need for detection mechanisms that evolve alongside attackers who now embed software within the models themselves. JFrog said the ARTEX models employed multiple tricks to bypass existing scans; the campaign was ultimately uncovered largely because the attacker inadvertently revealed its own infrastructure.

Source: CryptoNews.net

Post a Comment

Previous Post Zeniflix Post