Archive of AI

Source Snapshot / 2023-12-04-huggingface-lasso-1681-api-tokens-exposed-2

Major Organizations Using 'Hugging Face' AI Tools Put at Risk by Leaked API Tokens

Linked event: 2023-12-04 · Security Research Exposes Over 1,600 Leaked Hugging Face API Tokens Affecting Core Model Repositories Across 723 Organizations

Publisher
SecurityWeek
Archived
2026-11-23
Capture Method
Direct page capture
HTTP / SHA-256
200 / 3ea352fe21480e3b
Original URL
Open source ↗
Wayback Backup
Not archived
This page preserves a plain-text static snapshot against link rot. When citing figures, tables, or full legal terms, verify against the original URL and Wayback Machine archive.

[来源关键摘录] Lasso identified 1,681 valid leaked Hugging Face API tokens providing access to 723 organizations' accounts, including 655 tokens with write permissions and 77 granting control over prominent corporate repositories.

[正文前段节选] SECURITYWEEK NETWORK:

Cybersecurity News

Virtual Events

ICS Cybersecurity Conference

Connect with us

Hi, what are you looking for?

SecurityWeek

Malware & Threats

Cyberwarfare

Data Breaches

Fraud & Identity Theft

Nation-State

Vulnerabilities

Security Operations

Threat Intelligence

Incident Response

Tracking & Law Enforcement

Security Architecture

Application Security

Cloud Security

Endpoint Security

Identity & Access

IoT Security

Mobile & Wireless

Network Security

Risk Management

Cyber Insurance

Data Protection

Privacy & Compliance

Supply Chain Security

CISO Strategy

CISO Conversations

Industrial Cybersecurity

Cybersecurity Funding

Artificial Intelligence

Major Organizations Using ‘Hugging Face’ AI Tools Put at Risk by Leaked API Tokens

Lasso warns of more than 1,600 leaked Hugging Face API tokens belonging to hundreds of organizations.

Ionut Arghire

December 5, 2023 (10:47 AM ET)

AI cybersecurity startup Lasso has discovered more than 1,600 valid Hugging Face API tokens exposed in code repositories, providing access to hundreds of organizations’ accounts.

Leaked secrets, such as tokens, have long been the focus of code-hosting platforms and security researchers, given the high risk they pose when falling into the wrong hands.

Hugging Face API tokens, which allow developers and organizations to integrate large language models (LLMs) and manage Hugging Face repositories, are no different.

A provider of tools for building machine learning (ML) applications, Hugging Face is a popular resource for the developers of LLM projects, providing them with access to hundreds of thousands of AI models and datasets in its repository.

In November 2023, Lasso’s researchers started hunting for exposed Hugging Face API tokens on both Hugging Face and GitHub, eventually identifying 1,681 leaked valid tokens across both platforms.

These tokens, the researchers say, provided access to 723 organizations’ accounts, some pertaining to large organizations such as Google, Meta, Microsoft, VMware, and others.

Advertisement. Scroll to continue reading.

“Among these accounts, 655 users’ tokens were found to have write permissions, 77 of them to various organizations, granting us full control over the repositories of several prominent companies,” Lasso notes.

Some of the tokens, the security firm says, provided full access to the accounts of organizations that own models with millions of downloads.

“With control over an organization boasting millions of downloads, we now possess the capability to manipulate existing models, potentially turning them into malicious entities. This implies a dire threat, as the injection of corrupted models could affect millions of users who rely on these foundational models for their applications,” Lasso notes.

The leaked tokens, Lasso says, also expose the repositories to private model theft and to training data poisoning, an attack technique impacting the integrity or ML models.

During Lasso’s investigation, Hugging Face deprecated its org_api tokens and blocked their use in its Python library. While this essentially removed write permissions to the impacted repositories, it did not block read permissions.

Lasso says it has informed the affected users and organizations of its findings and that many of them took immediate action, revoking the tokens and removing the public access token code. Hugging Face was also informed of the findings.

Related: PyPI Packages Found to Expose Thousands of Secrets

Related: GitHub Improves Secret Scanning Feature With Expanded Token Validity Checks

Related: GitHub Warns of Private Repositories Downloaded Using Stolen OAuth Tokens

Ionut Arghire is an international correspondent for SecurityWeek.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert

More from Ionut Arghire

Ruby Patches Ruby2Shell Vulnerability That Could Lead to RCE

N-able Blames Service Disruption on Cyberattack

PHP Patches Seven Critical RCE Vulnerabilities

StepSecurity Secures $20 Million to Expand Supply Chain Protection

Splunk Patches Nearly 140 Flaws Across Three Core Products

F5 Patches Critical NGINX2Root Flaws as PoC Exploits Go Public

PHP Readies Critical Security Updates to Patch Another RCE Flaw

Russian APT Poses as Employee of Hacked Firm to Breach Another US Organization

FBI Investigating Apparent Hack of Its Key National Criminal Justice Database, AP Source Says

President Trump Taps Kirsten Davies as National Cyber Director

Amazon: China-Linked Hackers’ AI Agents Exploited Medical Software Zero-Day

WhatsApp Fixes Flaw Uncovered While Disrupting Scam Campaign

In Other News: Norwegian Energy Firm Cyberattacks, Supercomputer Hack, New Nightmare Eclipse Exploit

Industry Reactions to Major Outages and AI Patching Debate: Feedback Friday

SBC Medical Group Data Breach Impacts Over 2 Million

European Commission Confirms AI-Assisted Cyberattack Disrupted Services

Newly Patched VMware vCenter Flaw Exploited as Zero-Day by Chinese APT

JPMorgan, Visa, Mastercard Cite Third-Party Incidents Amid Data Leak

Nvidia Responds to Gentlemen Ransomware Claim

Hackers Exploit Cisco Expressway Vulnerability Soon After PoC Release

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

NOW LIVE: CISO Forum 2026 Summit

November 10 & 11, 2026

Join as we bring together CISOs, senior cybersecurity executives, practitioners, industry experts, and other security leaders to share practical experience and examine the issues shaping enterprise cybersecurity strategy.

Webinar: The Agentic SDLC Security Playbook

December 3, 2026

Join to learn the four levels of architecting security into the agentic SDLC – from securing the code your developers' agents write to running a coordinated system of security agents you've built yourself.

People on the Move

Kirsten Davies has been appointed National Cyber Director.

Zifino has appointed Toney E. Jennings as CRO.

Zeke Maldonado has been named Principal Deputy CIO at the US Department of Commerce.

More People On The Move

Expert Insights

The Governance Gap in Open-Weight AI and What to Do About It

Lower costs, data privacy, and greater control are driving open-weight AI adoption, but many organizations are not addressing the risks that come with it.

Is AI Making Us Worse at Cybersecurity?

Overreliance on AI could erode the creativity, clear communication, and critical thinking security teams need when there’s no playbook.

(Joshua Goldfarb)

The Agent Smith Dilemma: Governing Agentic Identities

Every autonomous AI agent deployed across your enterprise today is a new proxy identity operating inside your perimeter.

(Danelle Au)

Passkeys Are Better Than Passwords. But They Are Not Enough.

As organizations eliminate passwords, attackers will adapt. Instead of attacking the authenticator directly, they will look for opportunities around it.

(Torsten George)

When Risk Becomes Personal: What Security Leaders Can Learn From a Cancer Diagnosis

Risk managers are trained to spot weak signals, plan for disruption and make hard decisions under uncertainty. But the discipline looks different when the risk is not a system or an enterprise, but you.

(Steve Durbin)

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity

news, threats, and expert insights. Unsubscribe at any time.