Lasso Hugging Face token research

Researchers found exposed Hugging Face tokens at major orgs

Disclosed December 4, 2023Technology

The record

Lasso Security researchers said they found more than 1,500 Hugging Face API tokens exposed in public code, giving access to 723 organisations' accounts, including Meta, Microsoft, Google and VMware. Lasso said 655 tokens had write permission, which could have allowed tampering with models such as Llama 2. Lasso said the companies revoked the tokens, and Hugging Face said it invalidated those detected.

  • Employee
  • Negligent or accidental
  • Credentials or data exposed by mistake
  • Research, no incident
Organisation
Hugging Face users including Meta, Microsoft, Google and VMware, found by Lasso Security
Insider
Developers and users who posted Hugging Face API tokens in public code
Method
Lasso Security said Hugging Face API tokens were left in public repositories on GitHub and the Hugging Face Hub. Many had write permission, which the researchers said could have allowed tampering with model repositories such as Meta's Llama 2.
When
Not publicly stated
How it was found
Lasso Security said its researchers found the tokens by scanning GitHub and Hugging Face.
Outcome
Lasso said the named companies revoked the tokens the same day they were notified; Hugging Face said all detected tokens were invalidated, as reported by The Register and TechTarget.
Damage
According to Lasso, more than 1,500 tokens were exposed as The Register reported it, or 1,681 as TechTarget reported it; The Register reported access to 723 organisations, with 655 tokens holding write permission. No misuse was reported.

What each party says

  • Lasso Security: Lasso Security said exposed tokens gave access to 723 organisations, 655 of them with write permission, as reported by The Register; Hugging Face acknowledged the exposure.

    Confirmed, as reported by The Register

  • The Register and TechTarget: The Register reported more than 1,500 exposed tokens, while TechTarget reported 1,681.

    Unverified, as reported by TechTarget

  • Hugging Face: Hugging Face said, "The tokens were exposed due to users posting their tokens in platforms such as the Hugging Face Hub, GitHub and others."

    Confirmed, as reported by TechTarget

  • Lasso Security: Lasso Security said Meta, Google, Microsoft and VMware revoked the tokens the same day they were notified; none of those companies' statements is cited.

    Unverified, as reported by The Register

Sources

Every fact above was checked against these on November 28, 2026.

  1. Exposed Hugging Face API tokens offered full access to Meta's Llama 2 (opens in a new tab)The Register, news report, December 4, 2023
  2. Exposed Hugging Face API tokens jeopardized GenAI models (opens in a new tab)TechTarget, news report, December 5, 2023

How Above reads a case

Above's AI investigators work each insider and AI-agent signal to a verdict, with its evidence and reasoning.