3 ms·
In theory, this could be done, sure. In practice, who's going to bother checking the language model? All the code that runs Stable Diffusion or other Hugging F
by Yoric 4y ago
In theory, this could be done, sure.
In practice, who's going to bother checking the language model? All the code that runs Stable Diffusion or other Hugging Face models that I've seen just downloads the model dynamically, then uses it without asking question. That's a pretty low-hanging supply chain attack waiting to happen, I believe.
- nodogoto 4y agoIt shouldn't be much work to verify that the file is just a set of floats.