IBM Granite LLMON: a prompt injection defense to test
IBM's Granite 4.1 LLMON previews separate instructions from data with reserved tokens. A prompt injection defense with open weights, and not for production yet.
Prompt injection works because a model cannot tell your instruction from text it reads. IBM just shipped an attempt to fix that in the model. Two Granite 4.1 LLMON preview models mark each part of the prompt with reserved tokens, then tell the model which parts are commands and which parts are only material to read. It is the most concrete prompt injection defense with open weights we have seen. IBM also says it is not ready for production.
What actually happened
IBM published the LLMON announcement on November 12. LLMON means "LLM Object Notation". It is an XML-like markup with one important difference from JSON: its delimiters are reserved special tokens. A brace or a quote can appear in an email. <|open|> cannot, so an attacker cannot type the structure.
The parts:
- Blocks. Each piece of context gets a tag:
instr,data,doc,tool,req,system. - The
execblock. Each turn names which instruction to run and which blocks are its inputs. - The rule. The instruction and system blocks have authority. Text reached as input is read, not obeyed, no matter how it is phrased.
The 8B model card lists a 3B and an 8B model, both Apache 2.0. You do not write the markup by hand. The bundled chat template renders it from instruction and data fields in transformers. vLLM and SGLang are listed too.
IBM's results: on the OPI benchmark, the models avoid 47% more attacks than the best frontier model IBM tested, and 95% more than the best open-source model. IBM does not name those models in the post.
Why this prompt injection defense matters for your business
Each agent that reads email, web pages or tickets has this problem. Until now, the only fixes were outside the model: filters, allowlists, approvals. Experts rank injection as the top risk, as we wrote in our incident data post. A fix inside the model is the correct direction.
Read the limits first:
- Preview only. IBM's words: ready for evaluation, "not for production".
- Static attacks only. The tests used fixed injections. Multi-turn adaptive attacks are still in work.
- Learned, not enforced. The model card says the rule reduces the risk, does not remove it, and must not be the only defense for an agent with sensitive access.
- Some capability is lost. Against Granite 4.1 8B Instruct, the model card shows GSM8K at 89.16 versus 92.49 and CRUXEval-O at 36.88 versus 47.63. BigCodeBench goes up, 44.04 versus 35.00.
What to do: if you run a small open model for document triage or ticket routing, put the 8B preview next to it this week. Send both the injections you fear most. Keep each control you have now. And when you buy an agent product, ask the vendor one question: how does your model tell my instruction from the data it reads?
Key takeaways
- IBM released Granite 4.1 LLMON previews, 3B and 8B, on November 12 under Apache 2.0
- Reserved tokens separate instructions from data; an
execblock says which is which - IBM reports 47% more attacks avoided than the best frontier model it tested on OPI
- Preview only: static attacks tested, multi-turn attacks still in work
- Test it against your own injections and keep your filters and approvals
An agent that reads customer text needs more than one defense. We build agents with scoped tools, approval steps and injection tests on your real inputs, on models you can swap. See how we build agent systems, or send us the workflow you want to protect.
Sources: IBM Granite LLMON announcement, Granite 4.1 8B LLMON preview model card, LLMON toolkit on GitHub.
- #prompt-injection
- #ibm-granite
- #llmon
- #open-weights
- #ai-agents
Tommy Rush — Founder, Rush Commerce
Operator turned builder. 15+ years running operations — now shipping the systems businesses run on. More
Get The Rush Report weekly — one email, zero fluff.
Keep reading
Self-hosted Claude Managed Agents: you run the server now
Anthropic launched self-hosted Claude Managed Agents. Sessions and credentials stay on your infrastructure, but model calls still leave. Count the ops cost.
Read itHermes AI agent ran a spy op. Its exposed server leaked it.
Hackers used the open-source Hermes AI agent to steal 2,000+ Tajik government files, then left its server exposed. Lock down your own AI agent server.
Read it