JFrog traced a credential collector through attacker-supplied Hugging Face model files and found that the first exposed data belonged to the operator's own environment. The investigation links that environment to an ARTEX task, while leaving the backend model, human direction and external victim population unresolved. ## Code could run before real weights…
Inspect the ClaimsCase · DiggingBeagle record
Agent-built Hugging Face malware exposed its operator’s secrets during a self-test
JFrog found a credential collector behind several model-loading surfaces and an ARTEX runtime trace, without confirming external victims.
Published by DiggingBeagle:
Public disclosure: Nov 24, 2026
Public repository artifacts and operator self-test leakage reconstructed by JFrog; no confirmed external victim.
Assessment profile
Assessment method- Setting
- production
- Exploitation
- observed live
- Evidence
- Grade B
- Remediation
- mitigation available
- AI role
- WITH AI / AGAINST AI
Basis and provenance
Public repository artifacts and operator self-test leakage reconstructed by JFrog; no confirmed external victim. The cited original records were inspected; experiments and deployed fixes were not independently reproduced. A comparable realized-harm magnitude is not established, so impact remains ungraded. Enrichment adds the cited prerequisite, control or measurement boundary without upgrading the independent evidence grade or estimating realized harm.
Assessed Nov 27, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-R289-ARTEX-HUGGINGFACE-1 · CLM-R289-ARTEX-HUGGINGFACE-2 · CLM-R289-ARTEX-HUGGINGFACE-3 · CLM-E290-ARTEX-HUGGINGFACE-BOUNDARY · JFrog: agent-built Hugging Face malware exposed its operator’s environment
At a glance
Review and pin executable model metadata, isolate loaders from credentials and constrain write egress. A model-download domain allowlist is not a data-loss policy.
Read the implicationsNo external victim was confirmed beyond the observed window. Human direction, authorization and the actual reseller backend remain unknown.
Limits and uncertaintyFull account
JFrog traced a credential collector through attacker-supplied Hugging Face model files and found that the first exposed data belonged to the operator's own environment. The investigation links that environment to an ARTEX task, while leaving the backend model, human direction and external victim population unresolved.
Code could run before real weights were loaded
David Cohen's investigation describes remote Python modules, unsafe pickle loading and attempted Jinja template escapes leading toward the same collector. A later repository contained no weights but could still execute configuration code during loading. Safe tensor serialization therefore addresses one route without establishing safety of remote-code configuration or template interpretation.
The collector read environment and workload information and committed it to public Hub repositories with an embedded write credential. A model-hosting domain that is permitted for downloads can consequently carry an unrelated write operation. The process's credential access and repository-write authority are separate from the model card's description.
Attribution rests on exposed task artifacts
JFrog observed execution 14 seconds after upload. ARTEX variables, task paths, process information and self-test edits support its attribution to an ARTEX task. The reported gpt-5.4 label came through a reseller and does not authenticate the actual backend or establish who initiated the activity.
Hugging Face disabled all thirteen reported repositories that day. JFrog found no external victim data in the dedicated loot drops during its observation window. The confirmed exposure is operator self-test output, not a measured campaign-wide theft total. Loader controls need to cover each executable surface and the process's effective permissions independently.
Mechanism and trust boundary
- 01
Executable metadata is loaded
Remote code, unsafe deserialization or template evaluation reaches the collector.
Boundary: Model metadata is an executable supply-chain surface.
- 02
Secrets become available
Import-time code reads host and container state.
Boundary: A missing weight file does not make the loader harmless.
- 03
Hub access carries data outward
Collected data is written through a repository commit API.
Boundary: Download permission and arbitrary repository writes are different authorities.
Timeline
- Nov 24, 2026Event type unspecified
Finding publicly documented
Date of the cited disclosure or manuscript, not an inferred date of compromise.
- Nov 24, 2026disclosure
Public disclosure
Claims & evidence
CLM-R289-ARTEX-HUGGINGFACE-1JFrog identifies remote-code, unsafe-pickle and template routes to collection and Hub-commit exfiltration, including a weightless configuration-loading variant.supported
Basis: reported finding
- supportsJFrog: agent-built Hugging Face malware exposed its operator’s environmentprimary disclosure
“What happens when you load it?”, “Where does the stolen data go?” and “Can a model with no weights still be malicious?”
CLM-R289-ARTEX-HUGGINGFACE-2The first collector output appeared 14 seconds after upload; ARTEX artifacts support attribution to the operator’s own task, but the reseller model label is not authenticated.supported
Basis: reported finding
- supportsJFrog: agent-built Hugging Face malware exposed its operator’s environmentprimary disclosure
“Whose secrets are these?” and “Who, or what, built this model?”
CLM-R289-ARTEX-HUGGINGFACE-3JFrog reports thirteen repositories disabled on November 24 and no external victim data returned to separate loot drops by then.supported
Basis: reported finding
- supportsJFrog: agent-built Hugging Face malware exposed its operator’s environmentprimary disclosure
“How far did it spread?”, “What did we report?” and timeline
CLM-E290-ARTEX-HUGGINGFACE-BOUNDARYJFrog's configuration-code route can execute before tensors are read, so selecting a safer weight serialization alone does not block every demonstrated loading path.supported
Basis: inference
- contextJFrog: agent-built Hugging Face malware exposed its operator’s environmentprimary disclosure
Sections on auto_map/trust_remote_code, three execution routes, weightless second repository and observed loot contents
Implications
Review and pin executable model metadata, isolate loaders from credentials and constrain write egress. A model-download domain allowlist is not a data-loss policy.
Controls and mitigations
- Disable unnecessary remote Python and unsafe deserialization paths, constrain template execution, and deny model-loading processes unrelated credential and Hub write access.
Unknowns and contradictions
- No external victim was confirmed beyond the observed window.
- Human direction, authorization and the actual reseller backend remain unknown.
Sources and citation
Material revision history
- Nov 27, 2026 · Published version · first publication · revision 292