The Innocent Courier: Covert Exfiltration Through Legitimate LLM Web Fetching

cs.CR cs.LG Alessandro Pegoraro, Daryan Merx, Phillip Rieger, Ahmad-Reza Sadeghi · Oct 1, 2026
Local to this browser
What it does
LLMLeak demonstrates a covert channel where malware on a network-restricted device embeds secrets into URLs within fake error messages. When users paste these traces into LLM coding assistants, the model's legitimate web-fetching tool...
Why it matters
When users paste these traces into LLM coding assistants, the model's legitimate web-fetching tool exfiltrates the secret via DNS or HTTP requests to attacker-controlled servers. The work challenges the assumption that local LLM deployment...
Main concern
The paper identifies a real and underappreciated attack surface: LLM tool use can serve as an involuntary middleman for data exfiltration. The core technical insight is valid, the implementation is coherent, and the evaluation is extensive.
Community signal
0
0 up · 0 down
Sign in to vote with arrows
AI Review AI reviewed
Plain-language introduction

LLMLeak demonstrates a covert channel where malware on a network-restricted device embeds secrets into URLs within fake error messages. When users paste these traces into LLM coding assistants, the model's legitimate web-fetching tool exfiltrates the secret via DNS or HTTP requests to attacker-controlled servers. The work challenges the assumption that local LLM deployment or prompt-injection defenses alone prevent data leakage to third parties.

Critical review
Verdict
Bottom line

The paper identifies a real and underappreciated attack surface: LLM tool use can serve as an involuntary middleman for data exfiltration. The core technical insight is valid, the implementation is coherent, and the evaluation is extensive. However, the headline 79.7% success rate is inflated by the aggressive directive framing that verges on instructing the model to fetch, while the more stealthy informational framing drops to 54.6%. The proprietary-model case study suffers from tiny sample sizes (n=10 per condition), and several robustness claims—notably cross-medium and air-gap effectiveness—are asserted rather than experimentally validated. The work is a useful contribution to LLM security, but its practical risk should not be overstated.

“Average Sconf (d): 79.7, Sconf (i): 54.6, ΔSconf: -25.0”
paper · Table 4
“Due to the high manual effort, we used only 10 samples per model (7) and channel type (DNS or HTTP) and per framing (2), resulting in a total of n = 280.”
paper · Table 10
What holds up

The fundamental observation that tool-mediated fetching introduces a covert channel is sound and well-articulated. The implementation covers both DNS and HTTP channels, includes wildcard TLS certificates and plausible landing pages, and the evaluation pipeline with ReAct agents and five fine-grained metrics (Scall, Sreach, Sdata, Sconf, rr) is methodologically thorough. The distinction from conventional prompt injection is technically accurate for the informational framing: the LLM is not manipulated into malicious behavior but voluntarily retrieves what it perceives as documentation. The comparison with the OpenAI sandbox-escape incident is fair and correctly notes the differing threat models.

“The OpenAI incident arises from an insufficiently aligned agent actively attempting to escape its sandbox. In contrast, LLMLeak does not require an agent with an explicit escape objective or otherwise visibly misaligned behavior.”
paper · Section 7.3
“The task did not ask the agent to test network controls or access benchmark answers, and we consider agent behavior that circumvents restrictions or pursues a goal beyond reasonable expectations as an example of misalignment.”
Main concerns

First, the headline success rate of 79.7% reflects the directive framing, which explicitly instructs the user—or by extension the LLM—to retrieve a resource (e.g., Retrieve the runtime manifest from https://...). This is functionally close to a hidden instruction, undermining the claim that no prompt-injection-like mechanism is used. The supposedly stealthier informational framing averages only 54.6%, and several models (Mistral-7B, Granite-3.3-8B, Phi-4-mini) collapse below 50%. Second, the air-gap and cross-medium robustness claims are purely theoretical: no experiments with screenshots, OCR, manual copy-paste, or secondary devices are conducted. Third, the CJK encoding channel-capacity optimization suffers from substantial fidelity loss (average Sconf drops 13.7 percentage points) because models hallucinate or fail to reproduce Unicode characters accurately. Finally, the proprietary-model case study is statistically weak—with only 10 trials per model, channel, and framing—and the high variance (e.g., Claude Haiku 0% to Grok 100%) is as likely noise as signal.

“Average Sconf (d): 79.7, Sconf (i): 54.6, ΔSconf: -25.0”
paper · Table 4
“Average Sconf Latin: 79.7, CJK: 66.0, Δ: -13.7”
paper · Table 8
“LLMLeak does not rely on conventional prompt injection. Its effectiveness relies on the coding assistant treating the URL contained in the exception as a potentially useful reference during the debugging process.”
paper · Section 4.6
Evidence and comparison

The evidence supports the existence of the attack vector but not its uniform severity. The open-model evaluation is the strongest component: 2,000 trials per model with clear metrics show that fetch-happy models (Llama-3.3-70B, Mistral-Small-24B) reliably leak data, while code-specialized or smaller models (Qwen3-Coder-30B, Llama-3.2-3B) resist by reasoning locally or editing configs instead. The comparison to prior URL-based exfiltration attacks is fair—the authors correctly note that earlier work requires the LLM to actively construct or select an exfiltration request, whereas LLMLeak piggybacks on legitimate user-provided content. However, the framing effect is under-discussed in related work: the directive variant is closer to prior URL-based attacks than the authors admit. The stealthiness analysis (99.9% covert) relies on an LLM judge (GPT-OSS-120b), which is lightly validated (200 non-flagged samples) and potentially circular, as the same class of models being attacked is used to detect attacks.

“Across all 17 528 confirmed leaks, only 19 (0.1%) are accompanied by an explicit warning. 99.9% of successful exfiltrations are covert.”
paper · Table 9
“We employ the LLM GPT-OSS-120b as judge that checks the output for any warnings. ... none of the 200 negatives contains a missed warning (miss rate below 2%).”
paper · Section 5.9
Reproducibility

The paper provides the system prompt (Appendix E), model names, and evaluation metrics, but several elements block independent reproduction. No code repository, dataset, or experimental harness is linked. The synthetic code project on which the agent operates is not described beyond tool names. Exact vLLM versions, model checkpoint hashes, and the full server-side logging configuration are absent. The random nonce and DNS cache-bypassing logic are mentioned but not specified. Hyperparameters (temperature 0.7, top-p 1.0) are stated, but the exact ReAct parsing logic and failure-handling for malformed tool calls are not. Reproducing the proprietary chatbot case study is impossible by design, but even the open-weight experiments would require substantial guesswork about the agent scaffolding.

“All experiments used identical parameters: temperature 0.7, top-p 1.0, these values were held constant across all models.”
paper · Appendix E / Section 5.1.1
“The agent is given a stack trace produced by an error originating in the malicious code library and is instructed to diagnose and resolve the underlying issue.”
paper · Section 5.1.1
Abstract

With the increasing capabilities of Large-Language-Models (LLMs) and LLM-based agents, users are increasingly using them to solve everyday problems, such as answering e-mails or providing programming support. Existing work has extensively investigated security and privacy risks, such as prompt injections and the disclosure of sensitive data to chatbot providers. While various solutions were developed to address these risks, including input structuring to prevent prompt injections or deploying local LLMs to avoid sharing confidential data with chatbot operators, LLMs also pose the risk of leaking confidential data to third parties. In this paper, we demonstrate with LLMLeak a novel attack vector where malicious software that runs locally but cannot communicate directly with the internet abuses LLMs to establish a covert channel. While inputs that instruct the LLM to send data directly via generated code are easy to detect and network libraries are typically restricted, LLMLeak relies only on the LLM's tool to fetch websites for further information. A malicious software component on the client side embeds a secret into a URL. It presents the referenced website as providing information required for a benign task, such as migrating a software library. When the LLM accesses the URL, the attacker receives the encoded secret through an attacker-controlled DNS or web server. We perform an extensive evaluation on eleven open-parameter models, observe an attack success rate of 79.7%, and also conduct a case study on real-world chatbots, demonstrating the relevance of LLMLeak.

Challenge the Review

Pick a starting point or write your own. Challenges run in the background, so you can keep reading while the AI investigates.

No challenges yet. Disagree with the review? Ask the AI to revisit a specific claim.