Skip to content
MediumNewsLLM-specific

Spyware Injection Into Your ChatGPT's Long-Term Memory (SpAIware)

Published
Record updated
View JSON

Summary

Researcher Johann Rehberger describes an attack chain against the ChatGPT macOS application in which prompt injection from untrusted content inserts persistent spyware instructions into ChatGPT's long-term Memories feature. The stored instructions cause continuous exfiltration of everything the user types and receives in later chat sessions, using a rendered image whose URL carries the data as a query parameter. The client-side url_safe check, added to block this exfiltration vector, was not performed on the macOS and Android clients as expected, leaving them vulnerable.

Mitigation

OpenAI released a fix for the macOS app. Ensure your app is updated to the latest version.