Skip to content
Request a demo

The platform in 3 minutes

Blog

Air-Gapped AI SOC: 7 Hidden Internet Connections to Close

16.11.2026 · 8 min read

A robot sits inside a closed square; the seven threads that led out of it are cut at its edge

Key takeaways

  • In an AI stack a team assembles itself, pointing the agents at local models closes the first of seven connections to the internet.
  • Open-source components download files on first start and report usage by default. Most have a setting that switches it off; the rest are closed by shipping their files in advance.
  • Traces and enrichment lookups send alert data and indicators out of the network when the tracing or lookup service runs outside it.
  • The test of the gap: deny all outbound traffic, run an investigation end to end, restart everything, and run it again.

Introduction

NIST’s glossary, quoting CNSSI 4009, defines an air gap as an interface between two systems. The systems “are not connected physically”, and “any logical connection is not automated (i.e., data is transferred through the interface only manually, under human control)” (NIST CSRC, air gap).

Some segments in regulated finance, telecom and industrial control networks are built that way, and an AI SOC that watches them has to follow the same rule. An alert from such a segment carries account names, hostnames, internal addresses and file paths. An investigation adds the account’s history, related events from the SIEM and the decompiled code of a file. None of it may leave.

A SOC analyst holds a sealed envelope marked user, host and path; seven threads pull at it, and one of them is cut

Running the models locally is where every review starts, and it closes the first connection. Below are all seven: what each one is, why it matters, and how to close it. In SOC Jedi.AI on-premises with local models, nothing leaves the network and no internet connection is needed; each section shows how that path is closed.

1. Model API Calls

This one looks obvious, but model calls hide in more places than the chat window. An AI SOC calls a model when a new log format arrives, when every alert is decided on, at each stage of an investigation, when a file’s decompiled code is read, and when an analyst asks a question. Search by meaning needs an embedding model as well. If any one of them still points at a cloud API, alert data leaves the network.

How to close it. Point every model call at an endpoint inside the perimeter, and check the list per agent, not per product.

In SOC Jedi.AI every agent runs the model chosen for it: a local model from our list on the organization’s hardware, or any OpenAI- or Anthropic-compatible endpoint inside the network, such as a vLLM server or a LiteLLM gateway in front of local models. With local models, inference runs inside the perimeter and nothing leaves the network.

2. Downloads on First Start

Open-source AI components fetch files the first time they need them, and the first time is often in production:

  • Hugging Face libraries download weights, tokenizers and configs from the Hub. With HF_HUB_OFFLINE=1 they make no HTTP calls to the Hub and read only the local cache; a missing file raises an error (Hugging Face, environment variables).
  • tiktoken downloads its encoding files from openaipublic.blob.core.windows.net on first use (tiktoken, openai_public.py) and caches them in the system’s temporary directory unless TIKTOKEN_CACHE_DIR is set (tiktoken, load.py). A temporary directory does not survive every restart. With no offline switch, the way to close it is a TIKTOKEN_CACHE_DIR filled in advance.
  • LiteLLM fetches its model price list from raw.githubusercontent.com when the package is imported, and falls back to the copy bundled with it if the fetch fails. LITELLM_LOCAL_MODEL_COST_MAP=True skips the fetch (LiteLLM, get_model_cost_map.py).

How to close it. Build the images where the internet is available. Download every file a component needs (model weights, tokenizers, encoding files), check its hash, and put it in the image or on a persistent volume. Then set the offline switches, so a missing file stops with an error instead of opening a connection.

3. Usage Telemetry

Several open-source components report usage by default. vLLM collects anonymous usage data unless VLLM_NO_USAGE_STATS=1 or DO_NOT_TRACK=1 is set (vLLM, usage stats). Self-hosted Langfuse (the open-source build) sends aggregated usage metrics to PostHog at eu.posthog.com unless TELEMETRY_ENABLED=false is set on its application containers; the Enterprise build keeps telemetry on for license checks (Langfuse, telemetry). Langfuse also checks GitHub for new versions; without internet access that check fails without stopping the server (Langfuse, networking).

How to close it. Switch telemetry off in each component’s configuration, and keep the outbound deny rule at the firewall as a second layer.

The vendor’s own telemetry belongs on the same list. In SOC Jedi.AI it is opt-in: numbers only, none of the organization’s data. With telemetry off, we see nothing.

4. Traces Sent to a Cloud Service

A robot works inside a closed square while a security camera on the wall watches it; the camera’s cable runs out through the wall to the cloud

Tracing is how a team sees what an agent read, what it wrote and which tools it called. A trace holds the full prompt, and in an AI SOC the prompt holds the alert. A tracing service in the cloud receives the same data the local models were chosen to protect.

How to close it. Run the tracing service inside the perimeter. Langfuse is open source, can be self-hosted, and does not require internet access (Langfuse, networking).

SOC Jedi.AI keeps its own timeline of every investigation: which agent started, what it read and wrote at each stage, how long it took, and the arguments and result of every tool call. The same traces can go to the organization’s own Langfuse as well.

5. Container Images and Packages

An installer that pulls images from a public registry, or a component that runs pip install or npm install when it starts, needs the internet at the worst moment: during installation or recovery.

How to close it. Everything the system runs comes in as files: images, pinned by digest, loaded into an internal registry or straight into the container runtime; packages in an internal mirror; no package downloaded when a component starts.

SOC Jedi.AI is installed with one command inside the network, with or without internet access.

6. Updates

A cutaway of an airlock: a sealed package with an orange tag waits in the chamber between a closed door to the outside and a closed door to the network

An update check is a connection to the vendor, and an automatic update is a download from it. In a closed network nothing arrives by itself. There is an import path instead: usually a transfer station where removable media are scanned and approved, and a named owner who carries files across.

How to close it. Updates arrive as a package through that path and are applied by hand.

In SOC Jedi.AI, where the organization opens a path to our update server, updates download on the schedule it sets. In a fully closed network the update package is brought in by hand and applied with one command. The local models come from our list, and which model each agent runs is the team’s setting. When a new model does better in our tests, we tell customers before it enters the default build.

7. Enrichment Lookups

This one is the hardest to see, because the lookups are part of the investigation itself. A typical lookup asks a service on the internet about the reputation of an IP address, a domain or a file hash. Each lookup carries an indicator from inside the network to a service outside it.

How to close it. Answer from inside the perimeter first, and bring outside intelligence in rather than send questions out:

  • The connected tools and the platform’s memory. In SOC Jedi.AI the agents look up addresses, domains, hashes and accounts in the tools the team connects: the SIEM, the EDR, the directory. Retro analysis and a knowledge graph add what the platform has already seen.
  • The file’s own code. Reputation answers only for files someone has already seen. For the rest, SOC Jedi.AI decompiles the file and agents read its code. Every analysis stays in the platform as the organization’s own threat intelligence, for investigations and the assistant.
  • Feeds carried in. Feeds are downloaded outside and brought in through the import path, like updates, to a platform such as MISP, which runs and updates in an air-gapped network (MISP airgap). MISP and OpenCTI connect to SOC Jedi.AI as ready-made apps.
  • One narrow path out. Where live lookups are allowed, they leave through one proxy in the DMZ that reaches only named services and logs every query, with outbound rules as strict as inbound ones (NIST SP 800-82r3, 5.2.3.1). Only public addresses, domains and hashes go out, never files: an uploaded file may be shared with the scanner’s premium customers (VirusTotal, how it works), and its author may learn it has been found (SANS ISC). SOC Jedi.AI reaches only the outside sources the team connects.

How to Check the Gap

An analyst holds up an unplugged network cable while a robot beside him still takes an alert to its verdict

The check has four steps, in this order:

  • Deny. Deny all outbound traffic at the perimeter, not only on the hosts. Give the system the internal DNS, time and certificate services that other internal systems use.
  • Run. Run one investigation end to end: an alert in, every stage, the verdict and the report.
  • Restart. Restart every component, from clean containers where the deployment allows, and run it again. A cache kept in a temporary directory is gone after the restart, and a file fetched on first start has to come from disk this time.
  • Repeat. Repeat the check on a schedule, as with other security controls, and whenever a component is added or a path out is opened.

Conclusion

Local models close the connection every review starts with. The other six live in libraries, installers, tracing and the investigation itself, and each has a setting or a procedure that closes it. Where a SOC still needs outside intelligence, feeds come in through the import path, and live lookups take one narrow path that logs every query.

The deployment options are on Deployment, and how models are chosen and data is handled is on Your models & data.

All posts
  • AI in the SOC · · 9 min read

    AI SOC Response Actions: 7 Limits to Set Before Agents Act

    An agent that reads attacker-written text all day will sometimes be steered or simply wrong. Seven limits decide what a wrong decision can do: from playbooks and scoped credentials to approvals, untrusted data and logs.

  • AI in the SOC · · 8 min read

    Alert Fatigue: 4 Reasons a SOC Misses the Alert That Matters

    In 2013 an alarm was raised, escalated and ignored. Four reasons alarms in a SOC go unanswered, with sources and in analysts’ own words. And what changes when AI makes the first check of every alert.

  • Attack analysis · · Research by: Bohdan Melnykov, Artur Shamsiev · 11 min read

    Faster Than Traditional Triage: AI-Assisted Analysis of an APT Loader Chain

    Discover how AI-assisted analysis uncovered a multi-stage APT loader chain using legitimate binaries, DLL side-loading, and encrypted payloads to support stealthy intrusion activity.

Request a demo

Get an AI SOC analyst on your alerts this week

Leave your details and the engineers who built it will show you the platform live and answer your questions

Interested in