Millions of Meta LLama AI platform users could be at risk from leaked Hugging Face APIs

AI
(Image credit: Getty Images)

Thousands of valid API tokens were left exposed on an open-source repository for AI projects, potentially granting hackers easy access to major business accounts, researchers have revealed. 

A report from Lasso Security claims the access could have been used for supply chain attacks, having run several substring searches on the Hugging Face platform and manually collecting the API tokens that were returned.

Then, by using the whoami Hugging Face API, the researchers were able to learn if the tokens were valid, who they belonged to, what the owner’s email was, and what permissions they had.

Data poisoning

In total, the researchers found at least 1,500 API tokens that gave them access to more than 700 business accounts. Most tokens (655) had write permissions, allowing the attackers to modify the files they found in the repositories. Those 655 tokens belonged to 77 organizations, including hotshots Meta.

So, how could hackers exploit these API tokens? The researchers said attackers could use them to swipe or poison training data, or even steal AI models. In its writeup, The Register claims Google’s Gmail anti-spam filters work on “reliably trained” artificial intelligence models, and should the training data be compromised, that could potentially result in spam or malicious emails making it into people’s inboxes. 

The publication also claims data poisoning of this sort could lead to the sabotage of network traffic. “If network traffic isn't correctly identified as email, web browsing, etc, then it could lead to misallocated resources and potential network performance issues. “

During their analysis, the researcher stole more than 10,000 private models, they concluded.

"The ramifications of this breach are far-reaching, as we successfully attained full access, both read and write permissions to Meta Llama 2, BigScience Workshop, and EleutherAI, all of these organizations own models with millions of downloads – an outcome that leaves the organization susceptible to potential exploitation by malicious actors," says Bar Lanyado, security researcher at Lasso Security.

‍"The gravity of the situation cannot be overstated.” 

The three companies in question have all barred access to these tokens in the meantime.

More from TechRadar Pro

Sead is a seasoned freelance journalist based in Sarajevo, Bosnia and Herzegovina. He writes about IT (cloud, IoT, 5G, VPN) and cybersecurity (ransomware, data breaches, laws and regulations). In his career, spanning more than a decade, he’s written for numerous media outlets, including Al Jazeera Balkans. He’s also held several modules on content writing for Represent Communications.

Read more
Shadowed hands on a digital background reaching for a login prompt.
Private API keys and passwords found in AI training dataset - nearly 12,000 details leaked
SearchGPT OpenAI
Hackers offer 20 million OpenAI credentials for sale, but it says there's no evidence of a breach
A person holding out their hand with a digital AI symbol.
Meta Llama LLM security flaw could let hackers easily breach systems and spread malware
Data Breach
Thousands of widely-used public workspaces are leaking data
API
Businesses are being plagued by API security risks - with nearly 99% affected
Password
Millions of airline customers possibly affected by OAuth security flaw
Latest in Security
cybersecurity
Chinese government hackers allegedly spent years undetected in foreign phone networks
Data leak
A major Keenetic router data leak could put a million households at risk
Code Skull
Interpol operation arrests 300 suspects linked to African cybercrime rings
Insecure network with several red platforms connected through glowing data lines and a black hat hacker symbol
Multiple routers hit by new critical severity remote command injection vulnerability, with no fix in sight
Code Skull
This dangerous new ransomware is hitting Windows, ARM, ESXi systems
An abstract image of a lock against a digital background, denoting cybersecurity.
Critical security flaw in Next.js could spell big trouble for JavaScript users
Latest in News
DeepSeek
Deepseek’s new AI is smarter, faster, cheaper, and a real rival to OpenAI's models
Open AI
OpenAI unveiled image generation for 4o – here's everything you need to know about the ChatGPT upgrade
Apple WWDC 2025 announced
Apple just announced WWDC 2025 starts on June 9, and we'll all be watching the opening event
Hornet swings their weapon in mid air
Hollow Knight: Silksong gets new Steam metadata changes, convincing everyone and their mother that the game is finally releasing this year
OpenAI logo
OpenAI just launched a free ChatGPT bible that will help you master the AI chatbot and Sora
An aerial view of an Instavolt Superhub for charging electric vehicles
Forget gas stations – EV charging Superhubs are using solar power to solve the most annoying thing about electric motoring