Users paste <|system|>, 技[INST], or similar control tokens that were never meant to be visible. On some stacks they re-balance the context into an unfiltered region — the closest thing to code injection in prompt space.
Token scrubbing at the perimeter: all control tokens are stripped or escaped before the model sees input. The scrub runs on every surface, including tool outputs and retrieved documents, not just user text.
Users paste <|system|>, 技[INST], or similar control tokens that were never meant to be visible. On some stacks they re-balance the context into an unfiltered region — the closest thing to code injection in prompt space. Token scrubbing at the perimeter: all control tokens are stripped or escaped before the model sees input. The scrub runs on every surface, including tool outputs and retrieved documents, not just user text.
Dr. Deepanjan Saha — Chief AI Security Red Team Principal & Chief Cybersecurity Architect. 15+ years · 47+ CVEs · 200+ pentests · 12 patents. Delivered as the release gate — a residual-risk number with a trend line, not a PDF.
On under-sanitized stacks, yes — pasted special tokens can re-frame the context. The perimeter strips or escapes every control token on every input surface, which makes the technique a no-op by construction.
Token scrubbing at the perimeter: all control tokens are stripped or escaped before the model sees input. The scrub runs on every surface, including tool outputs and retrieved documents, not just user text.