Skip to content
WeChat · Goumang Security Lab·Indexed by this site · Originally published· Event →· Its place in the scan record →SelectedAttention46

GGUF model poisoning + Hugging Face field test: gguf-radar dissects hidden trojans in the AI supply chain

「GGUF模型投毒+Hugging Face实测:gguf-radar拆解AI供应链隐藏木马」

AI summary

5 poisoned GGUF model repositories were found on Hugging Face, and have been downloaded 2,428 times. The security team Malspark scanned 3,273,389 public model repositories on November 26 and statically parsed 572,184 chat templates; the uploaders were only Mir2k and timdedid. The samples hid an 11.47 MB Windows program after the last tensor, and the chat templates used forged system instructions or hijacked the powershell tool to command a coding Agent with shell permissions to download and execute a script; the templates were replaced on November 26, and files downloaded before that had the payload but no trigger. The platform has set the repositories to gated, but local copies already downloaded will not disappear. The article then introduces Root0ne's open-source tool gguf-radar (0.1.7), which does not execute files and relies on parsing the template AST and reconciling the file structure to discover tail payloads and suspicious templates, and reminds that CLEAN does not equal safe.

Why it was selected

The article dissects how GGUF files simultaneously deceive the model runtime and human inspection, and field-tests the capabilities and boundaries of the static inspection tool gguf-radar, which does not execute files.

Read originalmp.weixin.qq.com