Opening SecureFlowAI Assistant Response Leakage via Token-Length Side Channel
Case summary & sources

AIDEFEND SecureFlow / SecureFlow Case Index

MITRE ATLAS mitre-atlas-cs0080

AI Assistant Response Leakage via Token-Length Side Channel

  • Copilot & SaaS
  • AI Infrastructure
  • Data Exfiltration

HTTPS encrypts the text of an AI assistant’s reply, while a network observer can still see the sizes and timing of encrypted packets. If those sizes reveal the lengths of streamed text pieces (tokens), the observer may infer parts of the reply. Researchers demonstrated this token-length side channel on ChatGPT-4 and Microsoft Copilot traffic. In the controlled ChatGPT-4 evaluation, about 27% of the first segments of replies were reconstructed above the study’s high-similarity threshold.

Mapped threat techniques

  • AML.T0002.000 Datasets
  • AML.T0002.001 Models
  • AML.T0017.000 Adversarial AI Attacks
  • AML.T0150 Analyze AI Side Channels
  • AML.T0048.003 User Harm

Source

Updated