Unofficial Hacker News client - receive Push Notifications on replies.

GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400 Victims (opens external site)

323 points by homarp 3 days ago | malspark.com | 99 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (16)

  1. 30 years ago, we already downloading ISOs (Linux, or whatever) that were 0.6+ GBs. And they weren't just blobs, they were executable code.

    If you're just talking about blobs, I don't know anyone who's paranoid about downloading a movie...

    This isn't those "kids these days" scenarios. It's just some new attack vector (chat templates) that people haven't been trained to be wary of.

    Replies (1)
    1. > If you're just talking about blobs, I don't know anyone who's paranoid about downloading a movie...

      But you don’t execute a movie on some “runtime”, you just read data from it using a well-defined spec + tested parser. The scope of what can happen is much more narrow.

      In the end I agree with you, it’s an attack vector and people need to be aware of it.

      Replies (3)
      1. > you just read data from it using a well-defined spec + tested parser.

        there's some new RCE on crafted video files (or even poor old jpeg) every other month. Also you don't know how many seemingly basic file format end up having some accidentally (or mor often, voluntarily) turing complete language coming along. .mkv can embed custom fonts for subtitles, and TTF can execute arbitrary programs in its interpreter language for font hinting. So anyone sending you video files can technically execute arbitrary computations [1] in your media player, by design.

        [1]: https://fuglede.github.io/llama.ttf/

        Replies (2)
        1. I don’t believe this would lead to other than a buffer overflow. I would be surprised if such an exploit was actually chained in the wild.
          Replies (2)
          1. We found real RCEs in Obsidian plugins that could be triggered by opening a malicious .md file. https://zeroquarry.com/research/obsidian-tasks-rce/ is just one example

            Some of the ebook jailbreaks use local script interpretation as a vulnerability path triggered by malicious epubs

            The problem is very real and very much in the wild and the size of the file has little to do with how serious the vulnerability can hide in an otherwise innocuous file type

            Replies (1)
            1. I guess the question is what obsidian plugins and how popular are they? And what epub reader is vulnerable and how popular is it?

              I'm sure movies can run malicious code somehow, but your video player app likely has to be really dumb/poorly maintained to allow it?

              Continue this thread (3 replies) →

          2. actually this happens a lot more thank you might think
        2. just run a VM that plays the video/displays the image and screencap it, simple /s
      2. "Just".

        At one point, Pegasus was able to be installed on your phone if someone simply sent you a text with a PDF disguised a GIF. Zero-click exploit, nothing you could do about it. We try to design systems with security-in-depth for a reason. You should never treat data as inert.

        https://citizenlab.ca/research/forcedentry-nso-group-imessag...

        Replies (1)
        1. Hm. Obviously I get the point you’re making, but something like Pegasus doesn’t really feel comparable. After all, I don’t think compromised/evil GGUFs on Hugging Face also require the attacker to spend one or several zero-days on an otherwise sandboxed system… you just willingly execute something you’ve downloaded yourself, on a regular ungated machine.
      3. > But you don’t execute a movie on some “runtime”, you just read data from it using a well-defined spec + tested parser. The scope of what can happen is much more narrow.

        That's generally what happens if you play a movie in a modern environment. Back then, apparently, DVDs involved some executable code shenanigans: eg. https://en.wikibooks.org/wiki/Inside_DVD-Video/Interaction_M...