
The open-source malware analysis project Malspark recently released a research report indicating that certain publicly available models on the artificial intelligence (AI) model sharing platform Hugging Face were masquerading as modified versions designed to lift content restrictions to attract users, while actually harboring malicious content, involving a Windows remote access Trojan and malicious commands specifically targeting AI agents.
Five models masquerading as modified versions have been removed
These models primarily use the GGUF format, which is a container that packages the parameters and configuration data required by AI models to run large language models (LLM) on personal computers.

GGUF typically comes with chat templates that organize user input into a format understandable by the model, but if someone adds additional commands in the chat template, it could allow the AI to receive commands from attackers without the user's knowledge, posing severe security risks.
Malspark researchers scanned approximately 3.27 million public model repositories on the Hugging Face platform, among which over 220,000 are GGUF model repositories. After further analysis and inspection of over 570,000 chat templates, at least five models containing malicious content were ultimately identified.
The models in question had a combined download count of nearly 1,000 times in a single day, and the platform has now disabled and removed all related model repositories.
The involved models pose two different types of risks, with two models released by Mir2k containing a Windows Trojan program named ollie, and the chat templates attempting to lure users into executing suspicious commands; the remaining three models released by timdedid exploit malicious chat templates to attempt to manipulate AI agents with terminal privileges to execute external programs.
This article is reproduced from the Xinbao, with copyright belonging to the original author and original media.
免责声明:本文章仅代表作者个人观点,不代表本平台的立场和观点。本文章仅供信息分享,不构成对任何人的任何投资建议。用户与作者之间的任何争议,与本平台无关。如网页中刊载的文章或图片涉及侵权,请提供相关的权利证明和身份证明发送邮件到[email protected],本平台相关工作人员将会进行核查。



