Unauthorized access to Hugging Face Spaces exposes stored secrets

Unauthorized access to Hugging Face Spaces exposes stored secrets

API keys and tokens that users stored in the platform's secrets feature, which is meant to keep credentials out of code, were exposed.

31 May 2024HappenedBreaches and supply chain
Hugging Face Spaces (secrets store, HF access tokens) · Hugging Face · Global
What happened
Hugging Face detected unauthorized access to its Spaces platform, which hosts machine-learning apps and demos. The company said a subset of Spaces' secrets could have been accessed without authorization, including Hugging Face access tokens stored in those secrets. It revoked the affected tokens and emailed affected users. It did not disclose how many users were affected.
Response
Hugging Face revoked tokens, advised users to refresh keys and switch to fine-grained tokens, brought in external forensic specialists, and reported the incident to law enforcement and data protection authorities. It also removed organisation tokens and moved secrets into a key management service.
Discovered by
Hugging Face's internal detection.
Who was affected
A subset of Spaces users whose stored secrets and HF tokens may have been accessed (number not disclosed)
Patterns
Credentials exposedData left the system
Confidence: high · checked 24 September 2026. Published under CC BY 4.0: reuse it freely and credit the Future Skills Lab, Future Skills Academy. Seen an error or a newer development? Write to tellmemore@futureskills.academy.

Related

Incidents with the same pattern

What does this ask of people?

Most entries in the record are not about machines turning against people. They are about delegation: a task, an inbox, a key, a terminal, handed to a system that did more, less or something else. Futures literacy starts with noticing that.

All 177 incidents →The Future Skills Lab

Learn with us

Learn the human skills that gain value

Future Skills 101: live online sessions of 90 minutes, open to anyone. Power Skills trainings for teams on request.