Malware Disguised as OpenAI Found on Hugging Face
Fake repository posed as OpenAI, spreading malware to Windows users.

Malicious Repo Poses as OpenAI
In a bold move, a malicious repo on Hugging Face pretended to be OpenAI's "Privacy Filter" project to spread malware. It hit the platform's trending list, with 244,000 downloads before removal.
The repo, called Open-OSS/privacy-filter, was flagged by HiddenLayer researchers, experts in AI and ML security. It cleverly typosquatted OpenAI's legit release, copying its model card while hiding a harmful script.
The Sinister Script
Central to this setup was a Python script, loader.py. It looked innocent but disabled SSL verification and fetched a base64-encoded URL. This URL led to a JSON payload that executed a PowerShell command, downloading and running malicious software on Windows.
The payload was a Rust-based infostealer, targeting:
- Browser data (cookies, passwords, session tokens)
- Discord tokens and databases
- Cryptocurrency wallets
- SSH, FTP, and VPN credentials
- Multi-monitor screenshots
The data theft was huge, with info sent to a command-and-control server, marking a severe security breach.
Background on Hugging Face
Hugging Face is a go-to platform for AI models, datasets, and tools. It's used worldwide. Despite strong security, it's been exploited before by threats hosting malicious models.
Typosquatting Tactics
Typosquatting—using names similar to legit ones—isn't new. It's happened on platforms like npm, where malware mimics popular libraries. This Hugging Face incident shows the ongoing challenge of securing open-source repos.
Unanswered Questions
- How many people were affected? We don't know yet.
- How many accounts that liked the repo were real users?
- Are more fake repos out there?
Why It Matters
This incident highlights vulnerabilities in open-source and AI platforms. As AI integrates into more sectors, securing these platforms is crucial. Users need to be vigilant, and platforms must boost security to stop such threats.
More from Security

US Men Sentenced for Assisting North Korean IT Espionage
Two Americans were sentenced for helping North Korean agents pretend to be IT workers in a massive espionage and financial scam.

How to Spot AI-Generated Fake Online Shops
Scammers are using AI to create convincing fake online stores. Here's how to spot them and avoid losing money.

Signal Introduces New Phishing Alerts for Enhanced Security
Signal's set to launch alerts for messages from unknown numbers, aiming to protect high-profile users from phishing.

Google's New Recaptcha Presents Challenges for Android Users Without Google Services
Google's QR-code Recaptcha is making life harder for Google-free Android users, demanding Google Play Services to function.