Hackers Turn AI Hub Into a Malware Trap
TL;DR: Attackers have flooded AI platform Hugging Face and GitHub with over 5,000 fake game cheats. These pages trick users into downloading malware designed to steal browser passwords, cookies, and sensitive session data from their computers.
Key facts
- Category
- Cybersecurity
- Impact
- High
- Published
- Source
- The Hacker News
Full summary
Attackers are using trusted platforms like Hugging Face and GitHub to distribute malware that steals passwords, cookies, and gaming session data.
Security researchers at JFrog have uncovered a massive malware campaign actively abusing trusted developer and AI platforms. The attackers have created over 5,000 malicious lures across GitHub and Hugging Face, a popular hub for the machine learning community. According to JFrog's report, the campaign involves at least 3,501 malicious "Spaces" on Hugging Face, which are hosted application pages, linked to more than 1,500 GitHub repositories. These pages are disguised as cheats for popular video games, a common social engineering tactic designed to entice users into downloading malicious software. The one payload recovered and analyzed so far is a potent Windows-based infostealer. This malware is engineered to silently harvest sensitive information from a victim's computer, including saved browser passwords, authentication cookies, and active gaming session data, which can then be used for account takeovers and further attacks. The sheer scale of the operation suggests the attackers are using automated tools to generate and deploy these thousands of malicious pages, overwhelming the platforms' standard moderation efforts.
The attack's effectiveness hinges on exploiting the inherent trust users place in established platforms like GitHub and Hugging Face. By hosting their malware lures on these legitimate domains, attackers bypass many conventional security measures, such as domain blacklisting, that would flag a newly registered malicious site. The campaign specifically weaponizes Hugging Face's "Spaces" feature, which is intended for developers to showcase AI and machine learning applications. The attackers create convincing but fake landing pages within these Spaces, complete with download links and instructions. When a user, often searching for a game cheat, lands on one of these pages, they are less likely to be suspicious due to the familiar and trusted URL. The attack chain is deceptively simple: the user is tricked into downloading and running an executable file, which then deploys the infostealer. Once active, the malware operates stealthily to exfiltrate credentials and session tokens to an attacker-controlled server, giving them access to the victim's online accounts.
This incident is a stark example of a growing trend where cybercriminals "live off the trusted land," co-opting legitimate cloud services and infrastructure to carry out their attacks. While using platforms like GitHub or Discord to host malware is a known tactic, the large-scale, automated abuse of a specialized AI community platform like Hugging Face represents a significant and concerning evolution. It proves that as new technologies and platforms gain mainstream adoption and trust, they immediately become prime targets for malicious exploitation. This campaign also highlights the blurring line between consumer and enterprise security risks. A developer who compromises their personal machine by downloading a seemingly harmless game cheat can inadvertently create a backdoor into their employer's corporate network. Stored credentials, active VPN sessions, or SSH keys on that same machine can be stolen, turning a personal mistake into a major corporate security breach.
For developers, CTOs, and security teams, the key takeaway is that platform trust is not a substitute for security diligence. Every file download, regardless of its source, must be treated with suspicion. This event reinforces the critical need for comprehensive security awareness training that educates employees on modern social engineering tactics that extend far beyond phishing emails. Organizations should also prioritize strong endpoint protection and detection capabilities to identify and block infostealer malware before it can exfiltrate data. Looking forward, the responsibility also falls on platform owners like Hugging Face and GitHub to enhance their automated detection systems to identify and shut down this type of programmatic abuse more effectively. As attackers continue to innovate, the security community must anticipate which trusted services will become the next vector for malware distribution and adapt defenses accordingly.
Why it matters
This campaign shows attackers are now weaponizing trusted AI and developer platforms like Hugging Face at scale. It poses a direct threat to developers whose compromised personal devices can become an entry point into secure corporate networks, bypassing traditional perimeter defenses.
Business impact
Abusing trusted platforms like Hugging Face for malware distribution erodes user trust and creates a significant security liability. Businesses face increased risk of credential theft and corporate breaches originating from employee devices, requiring greater investment in endpoint security and training.
Tags
Related on Notifire
Related stories
Primary source: The Hacker News
