Understanding how reserved symbols designed to structure AI conversations become weapons for prompt injection.

10 min readJust now

Press enter or click to view image in full size

Image made by the author

When OpenAI’s tokenizer encounters <|im_start|>, it doesn’t see thirteen characters. It sees a single atomic unit, token ID 100264, that signals the beginning of a new conversation role. This distinction matters because that token carries authority. The model treats content following it as a system instruction, a user message, or an assistant response depending on what comes next. And here’s the problem, attackers can inject these tokens directly into user input.

Security researchers achieved a 96% attack success rate against GPT-3.5 using this technique. The attack…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help