A malicious actor created a fake OpenAI repository on Hugging Face that stole browser passwords and cookies from users who ran the code, demonstrating how supply chain attacks exploit trust in legitimate platforms by mimicking official repositories with slightly altered names and copy-pasted documentation.
Deep Dive
Prerequisite Knowledge
- No data available.
Where to go next
- No data available.
Deep Dive
Fake OpenAI Repo on Hugging Face Stole Browser PasswordsAdded:
A fake OpenAI repository spent the last few days at the top of Hugging Face's trending list, and anyone who ran the code walked away with browser passwords and cookies stolen.
Hugging Face is the public hub where machine learning models live. Kind of like the GitHub of AI. On April 22nd, OpenAI released a real model there called Privacy Filter. It's an openweight tool that detects and redacts personal information from text and runs locally so that data never has to leave your machine. Two weeks later, a brand new account called Open OSS posted a repository with the same name and a model card copy pasted nearly verbatim from Open AIS.
Researchers at Hidden Layer flagged it on May 7th, but by then it had reached number one on the trending list and racked up 244,000 downloads. Hidden Layer notes the count may have been inflated and most of the 667 accounts that like the repo appear to be autogenerated.
The repo's install instructions told users to clone it and run an included setup script. On Windows, that was a batch file. On Linux and Mac, it was a script called loader. py. That script disabled SSL verification, decoded a hidden URL, and fetched a PowerShell command that ran in an invisible window.
The command pulled down another batch file, escalated to admin, and dropped the final payload, which was a rustbased info stealer called Sapphira, added it to Microsoft Defender's exclusions, and then ran it. Sapphira targets browser data from Chrome, Edge, Firefox, and other major browsers. It grabs things like cookies, saved passwords, encryption keys. Hugging face removed the repo after reports came in.
But this is another supply chain story like the Pippi elementary data one I covered a couple weeks back except this one uses typo squatting.
This is the kind of attack that catches people new to AI and those people may not have noticed the odd installation instructions. The standard way to load a hugging face model is one line of Python through the transformers library. No git clone, no setup script. Unfortunately, the AI space is full of people who'd love you to copy paste those steps without thinking. My advice is before you run anything from a public repo or paste arbitrary commands from a public website, be sure you know what those commands do and what that repo does.
This one had plenty of red flags. a brand new account, a disabled community tab, and installation installation instructions that don't match how you normally use that platform.
Related Videos
Agentforce NOW AMA: Build with React and Salesforce Multi-Framework
SalesforceDevs
490 views•2026-05-28
How agent o11y differs from traditional o11y — Phil Hetzel, Braintrust
aiDotEngineer
450 views•2026-05-28
WEB TECHNOLOGIES UNIT-2 | Degree 4th sem BCOM Computers web technologies unit-2 full explanation💯✅
LearnwithSahera
1K views•2026-05-29
More tests are always better? How to use AI to identify tests that bring little value
Alliance4Qualification
335 views•2026-05-29
Search Algorithms Explained in 60 Seconds! 🤖💨
samarthtuliofficial
218 views•2026-06-01
People of Game of Thrones using JavaScript DOM
AltCampus
296 views•2026-05-30
Introduction to Problem Solving Part - 1 | Lecture 1 | Intermediate DSA
ascensionix
107 views•2026-05-29
🚀 BCS613C Compiler Design | Module 1 to 5 Schema Evaluation 🔥 | VTU 6th Sem 💯 #VTU #bcs613c #exam
Pranavaa-y4y
104 views•2026-06-02











