A new study describes how local malware can abuse a language model’s web-fetching feature to send confidential data outward, even when the malware itself has no direct internet access. The attack, called LLMLeak, highlights a security risk beyond sharing information with a chatbot provider.
The malware encodes a secret in a URL and presents the referenced website as useful for a benign task, such as migrating a software library. When the language model retrieves that page using its web tool, the encoded information reaches the attacker through a DNS or web server they control. According to the study, the method does not rely on model-generated code that sends data directly, or on giving the malware direct network access.
The researchers tested eleven open-parameter models and report an attack success rate of 79.7%. They also conducted a case study involving real-world chatbots to examine the attack’s practical relevance; the available information does not identify the chatbots or give the case study’s individual results. The paper provides further detail on LLMLeak’s mechanics and evaluation: arXiv: The Innocent Courier