Users paste <|system|>, <|user|>, or similar control tokens — on under-sanitized stacks they re-balance context into an unfiltered region. This is the closest thing to code injection in prompt space.
Token scrubbing at the perimeter: all control tokens stripped or escaped before the model sees input, including tool outputs and retrieved documents, not just user text.
Users paste <|system|>, <|user|>, or similar control tokens — on under-sanitized stacks they re-balance context into an unfiltered region. This is the closest thing to code injection in prompt space. Token scrubbing at the perimeter: all control tokens stripped or escaped before the model sees input, 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. The perimeter strips or escapes every control token on every input surface, making the technique a no-op by construction.
Token scrubbing at the perimeter: all control tokens stripped or escaped before the model sees input, including tool outputs and retrieved documents, not just user text.