The Firewall: How to Stop Your AI From Phoning Home
The Sovereign Institute | Methodology Series | Week 30
---
Your organization deployed an AI model on its own servers. The model is running locally. Sensitive queries stay on your infrastructure. You have done everything right — except the model can still reach the internet, and you have not checked what it is sending.
On-premise deployment tells you where the model runs. The Firewall tells you what it can reach. Those are different questions with different answers — and only one of them determines whether your data stays inside your perimeter.
---
To understand the gap, a brief explanation of what AI models actually do when they run.
Modern AI models do not simply wait for queries and return responses. They communicate. A locally deployed model may check for updates from the model provider's servers, send telemetry data back to the provider to report usage patterns, and — if the deployment includes function calling, the capability that lets AI models use external tools — initiate API calls to web search engines, external databases, or any service the model has been configured to access.
Function calling is not a niche feature. It is now a standard capability in most enterprise AI deployments. When an AI model has access to web search and processes a query about a company's competitive positioning, the model may initiate a web search that transmits the query to an external service. When it has access to a calendar integration, it transmits scheduling context to that integration. Each tool access is a potential data channel.
Most organizations that have deployed AI on-premise have not mapped what those channels are.
---
The distinction matters because on-premise deployment and sovereign deployment are not synonymous.
An organization that deploys a model on its own servers but does not implement egress controls — controls that restrict what the model can send outside the network — has made the model local, not sovereign. The compute is on their infrastructure. The data flows may not be.
Network security teams understand this principle for every other application they manage. A database server running on company infrastructure is not automatically permitted to make outbound connections to arbitrary external services. Standard database security practice prohibits that by default. AI models running on company infrastructure should receive the same treatment — and frequently do not, because AI deployment guidance tends to focus entirely on access controls (who can query the model) rather than egress controls (what the model can send out).
The Firewall is the SIA component that applies standard network security discipline to AI systems.
---
What AI models communicate externally falls into three categories, all of which the Firewall addresses.
Telemetry and usage data. Model providers document telemetry collection in terms of service appendices. On-premise deployments may include default-enabled reporting of usage metrics, error logs, and performance data back to the provider. These communications happen automatically, without user action, and transmit data patterns that reflect organizational AI usage — which queries generated errors, which use cases consume the most inference compute, which model capabilities are being used. This information has commercial value to providers regardless of the organization's preference.
Function calling and tool access. When an AI model uses an external tool — web search, code execution, external API — it initiates an outbound connection that may transmit query context as part of the API call. A model searching the web for information relevant to a sensitive query transmits a representation of that query to the search provider. Organizations that haven't defined which external tools are permitted haven't defined which data leaves their perimeter via those tools.
Update and version management. AI models check for updates. In on-premise deployments, update checks connect to provider infrastructure and may include model version information, configuration details, and system environment data. Without egress controls, these connections happen on a schedule the provider defines, not one the organization controls.
The Firewall addresses all three by operating at the network egress layer: every outbound connection from the AI system is checked against an allow-list of permitted destinations. Connections to internal model endpoints, the Vault, the Recorder, and explicitly authorized external services pass through. Everything else is blocked and logged.
---
At SIA Level 1 — Hybrid Sovereign deployments — specific external connections are deliberately permitted. Cloud AI endpoints for non-sensitive queries are part of the architecture. The Router classifies each query and routes it accordingly: sensitive queries go to local models, non-sensitive queries may use cloud endpoints. The Firewall enforces that routing at the network layer, ensuring that only the authorized cloud endpoints receive traffic and that the traffic they receive contains only what the routing rules allow.
Level 1 is not a security compromise — it is an explicit architecture choice. The Firewall makes that choice enforceable rather than aspirational. The difference between "our policy is that sensitive queries stay local" and "our architecture enforces that sensitive queries stay local" is the Firewall.
At Level 2 and Level 3 — Data Sovereign and Full Sovereign — the Firewall's default is deny-all for external connections. Every permitted connection is explicitly authorized. The model's external communications are limited to what the organization has specifically approved, with every exception documented and every blocked attempt logged.
---
The block-and-log behavior of the Firewall creates an audit trail that passive monitoring cannot provide. When a connection attempt is blocked, the Recorder captures it: which model component initiated the connection, what destination was requested, at what timestamp, and what query context was active at the time. This creates accountability for AI external communications that helps answer the question most organizations cannot answer today: "what does our AI system actually try to reach?"
For organizations deploying the Firewall in an existing AI environment, the initial block-and-log phase often reveals external connections that were unknown to the network and security teams. Not because the model is malicious — because no one had mapped the full external communication profile of the deployment before implementing controls. The Firewall makes that profile visible.
---
One objection comes up consistently: "our existing network security infrastructure already handles this."
Enterprise firewalls, data loss prevention systems, and network monitoring tools can observe AI system communications — and they are not configured to understand them. Those tools were designed for general network traffic, email, and web browsing. They lack the context to distinguish a legitimate AI telemetry call from a function call that is transmitting sensitive query context to an unauthorized endpoint. Purpose-built egress control for AI systems requires understanding the AI communication protocols, the function calling architecture, and the data sensitivity classification that determines which external connections are permitted.
The SIA Firewall is configured as part of the overall sovereign architecture — it understands what the Router, Vault, and Recorder allow, and enforces the perimeter consistently with those decisions.
---
Agentic AI deployments make the Firewall increasingly critical. Agentic AI refers to models that autonomously take sequences of actions — browsing the web, executing code, managing files, calling external services — rather than simply responding to a single query. As agentic capabilities expand in enterprise AI systems, the potential surface for uncontrolled data exfiltration grows with each new capability added.
An organization that deployed AI six months ago with limited tool access may find that today's model update includes web browsing, code execution, and file management capabilities. Each new capability is a new potential egress channel. The Firewall's allow-list approach means that new capabilities are blocked by default until explicitly authorized — not the reverse.
This is the correct security posture for any application category, and it is the posture the Firewall enforces for AI systems specifically.
---
SIA's Data Residency non-negotiable — the principle that data never leaves customer infrastructure — requires the Firewall as its enforcement mechanism. Data residency stated as a policy is an aspiration. Data residency enforced by egress controls is an architecture. The SIA standard requires the latter. The Firewall is the component that makes the former into the latter.
For organizations at Level 2 deploying the full sovereign stack — the Router, Vault, Recorder, and Firewall together — the Firewall is the component that closes the loop. The Router controls what goes to which model. The Vault keeps organizational knowledge local. The Recorder logs every interaction. The Firewall ensures nothing exits without explicit authorization. Each component has a specific job. The Firewall's job is the last line of the data residency guarantee.
Certified practitioners deploy the Firewall as part of the standard sovereign stack, with initial configuration based on the specific AI deployment's tool access requirements and the organization's external connectivity policy. The configuration is documented, auditable, and owned by the organization — not the model provider.
---
Three years from now, agentic AI systems with broad tool access will be the standard enterprise deployment model. The organizations that build egress control into their AI architecture now will be managing that capability expansion from a foundation of defined permissions. The organizations that do not will be continuously discovering new external connections after the fact, in response to incidents rather than in advance of them.
Architecture either controls data flows before they happen or investigates them afterward. The Firewall is the architecture that controls them.
On-premise deployment tells you where the model runs. The Firewall tells you what it can reach. Sovereignty requires both.