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.
- 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
- Sources
- AI Company Hugging Face Detects Unauthorized Access to Its Spaces PlatformThe Hacker News, 1 Jun 2024
- Secrets Exposed in Hugging Face HackSecurityWeek, 3 Jun 2024
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.