August 27, 2025 · MistralApi
Completion API streamed chunks add parameter p to block token-length attacks
- Added a new parameter
pto the chunks streamed back by the Completion API. (security) (api)- Implemented for security to prevent token-length side-channel attacks, as reported by Microsoft researchers.
- Note that this change may break applications relying on strict parsing of the chunks. Applications using the official SDK are unaffected, but users relying on the
mistral-commonpackage may need to update to1.8.4or higher.