chiprook
← AI
AIOctober 30, 2026, 01:24

Pinning a Hugging Face model revision doesn't pin its code

A technical deep dive found that loading a Hugging Face model with revision set to a commit hash still runs code from another repo's main branch when config.json uses auto_map. Of the 1,000 most-downloaded models, 53 pull code from a separate repo, totaling about 22 million downloads a month, mostly embedding families.

Pinning a Hugging Face model revision doesn't pin its code
#HuggingFace#Transformers#Gte-base-en-v1.5#Nomic-embed-text
Read next
AI

Hugging Face Transformers Adds UltraBERT with Layer-Specific Rotary Embeddings

Security

Pluto Security details Hugging Face cryptominer hidden in trust_remote_code

AI

NYU Langone embeds OpenEvidence AI in Epic EHR across 12M visits

AI

GSMA: Brands Embed AI Support Agents in RCS Text Threads