Prompt injection classifiers are terrible security boundaries

Everyone’s advice for prompt injection is the same: stick a classifier in front of the model. A small cheap model reads the incoming text, decides is this an injection or not, and throws it away before it ever reaches your expensive LLM. So using the recent trend of Laya/Jev models, a recent small non-autoregressive model that just scores an answer in one forward pass instead of generating tokens, I’ve built a pretty good prompt injection classifier using my smaller, better calibrated version of Laya called Smolaya....

Oct 4, 2026 · 6 min

What you actually download when you download a model

Everyone has run this line: model = AutoModelForCausalLM.from_pretrained("some-user/some-model") It looks like a plain download, but depending on the format it’s more like running an installer from a stranger. Some model formats execute code when you load them, some configs import Python straight from the repository, and the weights can contain behaviour that isn’t in the model card. On top of that, poisoning an LLM turns out to be really easy. You need a roughly constant number of poisoned samples, no matter how big the model is 1....

Sep 13, 2026 · 8 min