Wiki

How to verify that an AI sends no data out?

A model running locally does not guarantee that nothing leaves: the software around it may send statistics, look for updates or switch on cloud features. This article sets out a nine-check method, using standard tools, to verify it, document it and repeat it after every update.

Published 30 November 2026Last updated: 30 November 2026

Verify rather than trust

A model running locally does not, on its own, guarantee that nothing leaves. The software around it — inference server, interface, libraries, database, operating system — may talk to the outside world for reasons unrelated to your data: usage statistics, update checks, model downloads, optional cloud features.

"Our AI sends nothing out" is therefore a claim to be demonstrated. The demonstration uses ordinary network administration tools, and it is repeated.

Where outbound connections come from

Examples taken from the software's public documentation, consulted on 30.11.2026:

SourceDocumented exampleSetting that turns it off
Built-in cloud featuresOllama offers models run in its cloud and a web searchOLLAMA_NO_CLOUD=1; the log should then show "Ollama cloud disabled: true"
Library telemetryThe Hugging Face libraries (transformers, datasets, gradio…) collect usage data by defaultHF_HUB_DISABLE_TELEMETRY=1 or DO_NOT_TRACK=1
Inference server statisticsvLLM collects anonymous usage data by default: hardware, model, settingsVLLM_NO_USAGE_STATS=1 or DO_NOT_TRACK=1
Version checkshuggingface_hub queries the Hub to check that a cached file is up to dateHF_HUB_OFFLINE=1
Automatic updatesOllama downloads its updates automatically on macOS and Windows; LM Studio checks for its own onlineInstall versions by hand, from a controlled source
Model searchIn LM Studio, searching for and downloading a model needs the internet; chatting and serving locally do notImport models offline

These settings reduce the noise; they prove nothing. The proof comes from the checks below.

The method in nine checks

  1. Inventory the components. List everything running on the machine: inference server, interface, database, containers, monitoring agents, operating system. For each, read what the documentation says about telemetry and updates.
  2. Disable what is documented. Apply the settings from the table in the service configuration, not in a terminal opened by hand, or they disappear at the next restart. Keep the server on the local address: Ollama listens on 127.0.0.1, port 11434, by default.
  3. List active connections. On Linux, ss -tunap shows TCP and UDP connections with the process that opened them; on Windows, Get-NetTCPConnection gives the equivalent with the process identifier. Every connection to an external address needs an explanation.
  4. Log DNS queries. Route name resolution through an internal resolver that records every name requested (dnsmasq does this with the log-queries option). Even when the content is encrypted, the requested name reveals whom the software wants to talk to.
  5. Capture the traffic. During a realistic working session, record packets with tcpdump or Wireshark while excluding the internal network, for example with the filter not net 192.168.0.0/16. The expected result is an empty capture, or one limited to the destinations allowed in check 6.
  6. Block outbound traffic by default. Set the firewall to deny outbound by default (ufw default deny outgoing on Ubuntu, Set-NetFirewallProfile -Profile Domain,Private,Public -DefaultOutboundAction Block on Windows), allow only the destinations you need and log what is refused. The refusal log becomes the real inventory of attempts to get out.
  7. Test offline. Run the whole business process without a network: a disconnected machine, or a container started with --network none, which has only the loopback interface. If something breaks, there is an external dependency that must be explained.
  8. Control updates. Turn off automatic updates, pin versions (no latest tag for containers) and install each new version through a procedure: download on another machine, check the hash, import.
  9. Repeat and record. Redo checks 3 to 7 after every update and keep dated results. That is the evidence to show a client, an auditor or the FDPIC.
Illustrative scenario

A medical practice installs a local writing assistant. At check 4, the DNS log shows a request to a statistics domain belonging to the interface's publisher at every start-up. Nothing suggests that consultation notes are sent there, but the practice cannot prove otherwise.

The opt-out variable is added to the service configuration, the firewall blocks the domain, and checks 3 to 7 are run again: no outbound request remains. The result is dated and filed with the version numbers tested.

What this method does not prove

  • Encrypted content stays opaque. A capture shows that a connection happened and where to, not what it carried. Hence the chosen goal: no unexplained outbound connection, rather than content analysis.
  • An allowed destination can carry anything. Opening access to an update server opens a channel. The shorter the allow-list, the more the check is worth.
  • DNS itself can be a channel. Data can be encoded in domain names. For the most sensitive data, the machine should not be able to resolve external names at all.
  • Cutting the network is not enough. The offline test proves the system works without the internet, not that it will not try to get out once the network is back. It does not replace the capture and the firewall.
  • A test holds for one version. An update can add a connected feature; the check has to be redone.
  • The machine is not everything. The method sees neither an employee's phone nor a copy-paste into an online service. It proves how a system behaves, not how its users do.

Frequently asked questions

Is cutting the internet enough to prove that an AI sends nothing out?

No. The offline test proves the system works without a network, not that it will not try to get out once the network is back. It is combined with the connection list, DNS logs, packet capture and an allow-list outbound firewall.

Does local AI software send statistics?

Some does, by default: vLLM and the Hugging Face libraries document it, with a variable to turn it off. Ollama offers optional cloud features that can be disabled. Read each component's documentation, then measure.

How often should the check be repeated?

After every component update, and periodically otherwise. A result only holds for the versions tested, so record them with the date.

Who can carry out these checks?

A system or network administrator, with standard tools. For a result to carry weight with a client or an auditor, it is better carried out and recorded by someone other than the person who installed the system.

Related articles

Sources

On the service side: see VELLORNE's security page.