Muted to start. Tap the speaker for sound.

Hacker Tool TalkAI PodcastEpisode 26 · MoE Router Attack

Stealing a prompt one token at a time: attacking Mixture of Experts AI

Many big AI models are a Mixture of Experts: a router sends each token to a few expert networks. In some setups each expert has a fixed buffer per batch, and that batch is shared between users.

Example one, denial of service: crafted prompts steer the router so the attacker's tokens all land on one expert, fill its buffer, and other users' tokens get dropped, so their answers degrade.

Example two, information leakage: the victim's prompt sits in the same batch. The attacker guesses the victim's next token and watches whether their own token gets dropped. Like boolean-based blind SQL injection, that yes/no signal leaks the prompt one token at a time.

Both were shown by researchers in 2024, in research setups with strong control over batching, not against a live product: Hayes, Shumailov & Yona, "Buffer Overflow in Mixture of Experts" (2024, arXiv:2402.05526); Yona, Shumailov, Hayes & Carlini, "Stealing User Prompts from Mixture of Experts" (2024, arXiv:2410.22884).

The defense: keep each user in their own batch, use dropless routing, randomize batch order and tie-breaks, and monitor expert load.

Sharehackertooltalk.com/26

Also on: YouTube

Want this tested on your AI?

This is one of the tests we run for clients.