{
  "source": "artificialintelligence-news",
  "title": "Hugging Face hosted malicious software masquerading as OpenAI release",
  "url": "https://www.artificialintelligence-news.com/news/malware-on-hugging-face-malicious-software-masquerading-as-openai-release/",
  "slug": "malware-on-hugging-face-malicious-software-masquerading-as-openai-release",
  "published_at": "2026-05-12T13:52:00+00:00",
  "author": "AI News",
  "categories": [
    "Cybersecurity AI",
    "ai models",
    "hugging face",
    "malware"
  ],
  "summary_html": "<p>A malicious Hugging Face repository that posed as an OpenAI release delivered infostealer malware to Windows machines and recorded about 244,000 downloads before removal, according to research from AI security firm HiddenLayer. The number of downloads may have been artificially inflated by the attackers to make the model seem more popular, so the extent of [&#8230;]</p>\n<p>The post <a href=\"https://www.artificialintelligence-news.com/news/malware-on-hugging-face-malicious-software-masquerading-as-openai-release/\">Hugging Face hosted malicious software masquerading as OpenAI release</a> appeared first on <a href=\"https://www.artificialintelligence-news.com\">AI News</a>.</p>",
  "content_html": "<p> A malicious Hugging Face repository that posed as an OpenAI release delivered infostealer malware to Windows machines and recorded about 244,000 downloads before removal, according to research from AI security firm HiddenLayer. The number of downloads may have been artificially inflated by the attackers to make the model seem more popular, so the extent of the effects of the attack is unknown. </p>\n<p> &#8216;Open-OSS/privacy-filter&#8217; imitated OpenAI&#8217;s Privacy Filter release. HiddenLayer said the original model card had been copied nearly exactly, and the bad actors included a malicious loader.py file that fetched and ran credential-stealing malware on Windows hosts. </p>\n<p> The repos reached the top of the &#8216;trending&#8217; list on Hugging Face with 667 likes accrued in less than 18 hours – again, this figure may have been changed by the attackers. </p>\n<p> Public AI model registries may be becoming risks in the software supply chain as developers and data scientists clone models directly into corporate environments, environments that have access to source code, cloud credentials, and internal systems. That situation alone makes a compromised model repository more than a nuisance. </p>\n<p> The README file for the fake model closely resembled that of the legitimate project, but it departed from the original in that it instructed users to run start.bat on Windows or execute python loader.py on Linux and macOS, instructions central to the infection chain HiddenLayer described. </p>\n<p> Researchers have previously warned that malicious code can be hidden inside AI model files or related setup scripts on Hugging Face and other public registries. Previous cases involved Pickle-serialised model files that bypassed platform scanners. </p>\n<div id=\"outline-container-org8397beb\" class=\"outline-3\">\n<h3 id=\"org8397beb\">Malicious loader disguised as setup code</h3>\n<div class=\"outline-text-3\" id=\"text-org8397beb\">\n<p> HiddenLayer said loader.py began with decoy code that resembled a normal AI model loader, moving quickly to a concealed infection chain. A script disabled SSL verification, decoded a base64-encoded URL linked to jsonkeeper.com, retrieved a remote payload instruction, and passed commands to PowerShell on Windows machines. HiddenLayer said the use of the command-and-control channel jsonkeeper.com allowed the attacker to rotate the payload without changing the repo&#8217;s contents. </p>\n<p> The PowerShell command then downloaded an additional batch file from an attacker-controlled domain, and the malware established persistence by creating a scheduled task designed to resemble a legitimate Microsoft Edge update process. </p>\n<p> The final payload was a Rust-based infostealer. According to HiddenLayer, it targeted Chromium and Firefox-derived browsers, Discord local storage, cryptocurrency wallets, FileZilla configurations, and host system information. The malware also tried to disable Windows Antimalware Scan Interface and Event Tracing. </p>\n</div>\n</div>\n<div id=\"outline-container-orgb33c780\" class=\"outline-3\">\n<h3 id=\"orgb33c780\">Wider campaigns</h3>\n<div class=\"outline-text-3\" id=\"text-orgb33c780\">\n<p> HiddenLayer also said it found six further Hugging Face repositories containing virtually identical loader logic that shared infrastructure with the cited attack. </p>\n<p> The case follows other warnings about malicious AI models on Hugging Face, including poisoned AI SDKs and fake OpenClaw installers. The common thread is that attackers are treating AI development workflows as a route into normally secure environments. AI repositories often contain executable code, setup instructions, dependency files, notebooks, and scripts, and its these peripheral elements that cause the problems, rather than the models themselves. </p>\n<p> Sakshi Grover, senior research manager for cybersecurity services at IDC, said traditional SCA was designed to inspect dependency manifests, libraries, and container images. It is less effective at identifying malicious loader logic in AI repositories. They also cited IDC&#8217;s November 2025 FutureScape report, which contained the call that by 2027, 60% of agentic AI systems should have a bill of materials. This would help companies track which AI artefacts they use, their source, which versions were approved, and whether they contain executable components. </p>\n</div>\n</div>\n<div id=\"outline-container-orgf91c837\" class=\"outline-3\">\n<h3 id=\"orgf91c837\">Response and mitigation</h3>\n<div class=\"outline-text-3\" id=\"text-orgf91c837\">\n<p> HiddenLayer advised anyone who cloned Open-OSS/privacy-filter and ran start.bat, python loader.py or any file from the repository on a Windows host to treat the system as compromised, and recommends re-imaging systems. Browser sessions should considered compromised even if passwords are not held locally, as session cookies let attackers bypass MFA in some circumstances. </p>\n<p> Hugging Face has confirmed the repo has been removed. </p>\n<p><em>(Image source: Pixabay, under <a href=\"https://pixabay.com/service/license-summary/licence\">licence</a>.)</em></p>\n<p>&nbsp;</p>\n<p><a href=\"https://www.ai-expo.net/?utm_source=AI-News&#038;utm_medium=Footer-banner&#038;utm_campaign=world-series\"><img decoding=\"async\" src=\"https://www.artificialintelligence-news.com/wp-content/uploads/2025/08/ai-expo-banner-2025.png\"></a></p>\n<p><strong>Want to learn more about AI and big data from industry leaders?</strong> Check out <a href=\"https://www.ai-expo.net/\">AI &amp; Big Data Expo</a> taking place in Amsterdam, California, and London. The comprehensive event is part of <a href=\"https://techexevent.com/\">TechEx</a> and co-located with other leading technology events. Click <a href=\"https://techexevent.com/\">here</a> for more information.</p>\n<p>AI News is powered by <a href=\"https://techforge.pub/\">TechForge Media</a>. Explore other upcoming enterprise technology events and webinars <a href=\"https://techforge.pub/events/\">here</a>.</p>\n</div>\n</div>\n<p>The post <a href=\"https://www.artificialintelligence-news.com/news/malware-on-hugging-face-malicious-software-masquerading-as-openai-release/\">Hugging Face hosted malicious software masquerading as OpenAI release</a> appeared first on <a href=\"https://www.artificialintelligence-news.com\">AI News</a>.</p>",
  "content_text": "A malicious Hugging Face repository that posed as an OpenAI release delivered infostealer malware to Windows machines and recorded about 244,000 downloads before removal, according to research from AI security firm HiddenLayer. The number of downloads may have been artificially inflated by the attackers to make the model seem more popular, so the extent of the effects of the attack is unknown.\n‘Open-OSS/privacy-filter’ imitated OpenAI’s Privacy Filter release. HiddenLayer said the original model card had been copied nearly exactly, and the bad actors included a malicious loader.py file that fetched and ran credential-stealing malware on Windows hosts.\nThe repos reached the top of the ‘trending’ list on Hugging Face with 667 likes accrued in less than 18 hours – again, this figure may have been changed by the attackers.\nPublic AI model registries may be becoming risks in the software supply chain as developers and data scientists clone models directly into corporate environments, environments that have access to source code, cloud credentials, and internal systems. That situation alone makes a compromised model repository more than a nuisance.\nThe README file for the fake model closely resembled that of the legitimate project, but it departed from the original in that it instructed users to run start.bat on Windows or execute python loader.py on Linux and macOS, instructions central to the infection chain HiddenLayer described.\nResearchers have previously warned that malicious code can be hidden inside AI model files or related setup scripts on Hugging Face and other public registries. Previous cases involved Pickle-serialised model files that bypassed platform scanners.\nMalicious loader disguised as setup code\nHiddenLayer said loader.py began with decoy code that resembled a normal AI model loader, moving quickly to a concealed infection chain. A script disabled SSL verification, decoded a base64-encoded URL linked to jsonkeeper.com, retrieved a remote payload instruction, and passed commands to PowerShell on Windows machines. HiddenLayer said the use of the command-and-control channel jsonkeeper.com allowed the attacker to rotate the payload without changing the repo’s contents.\nThe PowerShell command then downloaded an additional batch file from an attacker-controlled domain, and the malware established persistence by creating a scheduled task designed to resemble a legitimate Microsoft Edge update process.\nThe final payload was a Rust-based infostealer. According to HiddenLayer, it targeted Chromium and Firefox-derived browsers, Discord local storage, cryptocurrency wallets, FileZilla configurations, and host system information. The malware also tried to disable Windows Antimalware Scan Interface and Event Tracing.\nWider campaigns\nHiddenLayer also said it found six further Hugging Face repositories containing virtually identical loader logic that shared infrastructure with the cited attack.\nThe case follows other warnings about malicious AI models on Hugging Face, including poisoned AI SDKs and fake OpenClaw installers. The common thread is that attackers are treating AI development workflows as a route into normally secure environments. AI repositories often contain executable code, setup instructions, dependency files, notebooks, and scripts, and its these peripheral elements that cause the problems, rather than the models themselves.\nSakshi Grover, senior research manager for cybersecurity services at IDC, said traditional SCA was designed to inspect dependency manifests, libraries, and container images. It is less effective at identifying malicious loader logic in AI repositories. They also cited IDC’s November 2025 FutureScape report, which contained the call that by 2027, 60% of agentic AI systems should have a bill of materials. This would help companies track which AI artefacts they use, their source, which versions were approved, and whether they contain executable components.\nResponse and mitigation\nHiddenLayer advised anyone who cloned Open-OSS/privacy-filter and ran start.bat, python loader.py or any file from the repository on a Windows host to treat the system as compromised, and recommends re-imaging systems. Browser sessions should considered compromised even if passwords are not held locally, as session cookies let attackers bypass MFA in some circumstances.\nHugging Face has confirmed the repo has been removed.\n(Image source: Pixabay, under\nlicence\n.)\nWant to learn more about AI and big data from industry leaders?\nCheck out\nAI & Big Data Expo\ntaking place in Amsterdam, California, and London. The comprehensive event is part of\nTechEx\nand co-located with other leading technology events. Click\nhere\nfor more information.\nAI News is powered by\nTechForge Media\n. Explore other upcoming enterprise technology events and webinars\nhere\n.\nThe post\nHugging Face hosted malicious software masquerading as OpenAI release\nappeared first on\nAI News\n.",
  "image": {
    "url": "https://virtues.guru/tech-assets/49_Dallas-semiconductor-chip-art_LSU_Tigers_Football.jpg",
    "file": "49_Dallas-semiconductor-chip-art_LSU_Tigers_Football.jpg",
    "title": "File:Dallas-semiconductor-chip-art, LSU Tigers Football.jpg"
  },
  "language": "en",
  "translations": {
    "pt": {
      "title": "A Hugging Face hospedou software malicioso que se passava por uma versão da OpenAI.",
      "content_text": "Um repositório malicioso da Hugging Face se passou por uma versão da OpenAI e entregou malware de roubo de informações para máquinas Windows, registrando 244.000 downloads antes de ser removido. Os atacantes podem ter inflado artificialmente o número de downloads para fazer com que o modelo parecesse mais popular. O repositório foi removido, mas pesquisadores alertam que os registros públicos de modelos de IA podem estar se tornando riscos na cadeia de fornecimento de software.",
      "summary_en": "A malicious Hugging Face repository posed as an OpenAI release and delivered infostealer malware to Windows machines, recording 244,000 downloads before removal. The attackers may have artificially inflated the number of downloads to make the model seem more popular. The repository was removed, but researchers warn that public AI model registries may be becoming risks in the software supply chain.",
      "translated_at": "2026-05-13T06:29:06.685980+00:00",
      "model": "translategemma:4b",
      "summary_model": "llama3.1:8b",
      "source": "json_summary"
    }
  }
}