Open Source Published here Reported by IBM / Hugging Face on

IBM's LLMON replaces prompt punctuation with reserved tokens — prompt injection success drops to near zero

IBM released two experimental preview models, `ibm-granite/granite-4.1-3b-llmon-preview` and `ibm-granite/granite-4.1-8b-llmon-preview`, trained on LLMON — LLM Object Notation, a markup language that encodes structure using reserved special tokens rather than character syntax like JSON or XML. Six delimiters mark tag starts and ends and allow nesting, components are wrapped in semantic tags (`instr`, `data`, `req`, `exec`), and each section gets a unique two-character block ID encoded as a single token. The piece that does the work is the execution block: it names which instruction to run, which data it operates on, and where output goes, binding instructions to their inputs instead of leaving the relationship implicit in prose. Domain-specific tags nest arbitrarily — `instr.task.goal`, `req.planning_policy.rule`, `data.state.room`. On the OPI prompt-injection benchmark IBM reports attack success rates dropping to nearly zero, avoiding 47% more attacks than the best frontier model tested and 95% more than the best open-source model, while general capability stays on par with the standard Granite 4.1 Instruct models. IBM labels both models experimental preview, "not for production"; code is on GitHub at generative-computing/llmon.

Why it matters

Every mitigation for prompt injection so far has been a filter bolted on top of a model that fundamentally cannot tell an instruction from a quoted document, because in a plain-text prompt there is no difference. LLMON moves the boundary into the tokenizer, where it cannot be forged by anything a retrieved document says — a user-supplied string cannot emit a reserved instruction delimiter. That is a structural fix rather than a probabilistic one, and it is the first result pointing that way with numbers behind it.

What to do

Do not ship this — 3B and 8B experimental previews are not a production answer. Do borrow the discipline today in whatever prompt format you already use: give instructions, untrusted data, and requirements their own explicitly named blocks, assign each block a stable ID, and add an execution block that states which instruction applies to which data. You get most of the clarity benefit with any model. Then run the OPI benchmark against your current stack so you know what your actual injection success rate is before arguing about fixes.

Tags: IBM Prompt Injection Prompt Engineering Open Source

More from November 14, 2026

All AI news