By NHI Mgmt Group Editorial TeamBased on NetFoundry: “Zero Trust Network Sandboxing for Agentic AI, Enforced in the Linux Kernel” (October 7, 2026)

TL;DR: AI agents decide at runtime what to connect to, while IP-based firewalls cannot see which container, process, or executable opened a connection, according to NetFoundry; its kernel-level zLAN sandbox applies deny-by-default policy per container and per executable with fail-closed enforcement and structured audit logs. The governance gap is that agentic systems can bypass network assumptions built for stable workloads, so control has to move below the agent and onto the connection attempt itself.


At a glance

What this is: This is a technical analysis of a kernel-level network sandbox for AI agents that denies outbound connections by default and ties policy to process identity, not IP address.

Why it matters: It matters because IAM and security teams need controls that can govern agentic runtime behavior when conventional host firewalls cannot distinguish a legitimate service from a hijacked agent or spawned binary.


Context

AI agents do not behave like static applications because they decide at runtime which services to call, which creates a governance gap for network controls built around fixed hosts and predictable traffic. When the identity of the connecting process matters more than the IP address, the control plane has to move from perimeter filtering to per-process enforcement.

That gap becomes sharper in containerised environments, where an agent, a sidecar, and a downloaded binary can share the same interface and still need different network outcomes. The article frames the problem as an identity and reachability issue, not just a firewall issue, because policy must follow the executable that initiates the connection.


Key questions

Q: How should security teams control outbound access for AI agents in containers?

A: They should enforce deny-by-default outbound policy at the point of connection, not only at the container boundary. The control must distinguish the specific process or executable making the request, because agentic workloads can spawn shells, subprocesses, or downloaded tools that should not inherit the same network reach as the parent agent.

Q: Why do AI agents create more governance risk than ordinary integrations?

A: AI agents can connect quickly, run continuously, and accumulate broad permissions across multiple services. That combination makes ownership blur and scope drift more likely, so the real risk is not the tool itself but the uncontrolled access path it creates across enterprise systems.

Q: What are the signs that an agent network sandbox is too weak?

A: A weak sandbox allows broad container-level access, relies on IP address alone, or fails to separate the agent from a sidecar or helper process. If a spawned shell can reach destinations that the main agent was allowed to use, the control is not precise enough for agentic workloads.

Q: How do teams govern agent identity when the agent and sidecar share the same interface?

A: They should key authorization to kernel identity, not to the shared network interface. That lets the platform apply different policy to processes that look identical on the wire but represent different runtime subjects inside the host, which is essential when container namespaces are shared.


Technical breakdown

Why IP-based firewalls fail for agentic runtime traffic

Traditional host firewalls make decisions on packet metadata such as source IP, destination IP, and port. That model works when a workload is stable and the network identity is a good proxy for the application identity. It breaks when an AI agent can spawn subprocesses, fetch tools, or change its path of execution inside the same container. In that case, the firewall sees only shared infrastructure, not which executable actually made the request. eBPF changes the enforcement point by moving policy into the Linux kernel, where the system can inspect the calling process before a packet exists. See the Agentic AI Security Guide.

Practical implication: Treat the process and executable as the enforcement subject, not the container or IP address alone.

How eBPF creates deny-by-default network policy below the agent

eBPF lets small verified programs run inside the kernel and inspect socket creation and packet flow. In this model, one hook intercepts connect() calls and another filters outbound packets, so policy can fail closed at more than one layer. That matters because an agentic workload can try to reach destinations that were never part of its original workflow. If either enforcement layer or its daemon fails, the default remains deny rather than allow. This is the architectural shift: network permission becomes a runtime decision made at the point of connection, not a static container setting. Read Zero Trust for AI Agents.

Practical implication: Build outbound control so that a daemon crash does not widen access.

Why per-executable policy matters inside the same container

A container boundary is not enough when an agent can invoke tools, shells, or downloaded binaries inside the same runtime. Per-executable policy uses kernel identity to decide whether curl, node, a shell, or a subprocess may connect even when they share the same container. That closes a common assumption gap: if the container is trusted, everything inside it is trusted. For agentic systems, that assumption is too broad. The relevant control is the executable mask attached to each allowed destination, which lets policy distinguish the agent's intended path from an unexpected runtime branch.

Practical implication: Separate approved agent executables from everything else inside the same workload.


NHI Mgmt Group analysis

Identity-based reachability is the real control boundary for agentic systems. The article shows that packet-level filtering cannot express the difference between an agent, its sidecar, and a spawned binary when they share infrastructure. That makes the network path itself an identity problem, not just a connectivity problem. Practitioners should read this as a warning that runtime autonomy expands the number of identities that can legitimately try to connect.

Deny-by-default becomes mandatory when the actor chooses its own next step. The more an agent can decide at runtime, the less useful pre-provisioned network trust becomes as a governance model. The article's kernel-enforced sandbox reflects a broader shift in identity security: permission must be evaluated at action time, not assumed from deployment context. The implication is that access policy for agents must move closer to the call site.

Per-executable policy is the most useful named concept in this model. It captures the fact that a container can contain both approved and unapproved runtime paths, and those paths must not inherit the same network reach. That concept matters beyond this deployment because it maps directly to how agentic abuse happens in practice: the initial workload is legitimate, but the executed path changes. Practitioners should design controls around executable-level intent, not container-level trust.

Shared-network isolation only works when enforcement keys off kernel identity. The article's shared interface example shows why network namespace similarity is not sufficient for governance. Two processes can look identical from the outside and still need different policy outcomes based on cgroup or process identity. The implication for the field is that agent governance will increasingly depend on controls that can discriminate inside the host, not just around it.

Agentic AI makes shadow reachability a governance problem, not a firewall tuning problem. If an agent can discover, scan, or call destinations that were never intended for its task, then the boundary failure is one of identity and authorization scope. The article points to a model where enterprise resources stay unreachable and undiscoverable to unauthorized identities. Practitioners should treat hidden reachability as a first-class governance objective.

From our research library:

What this signals

Governance programmes built for stable workloads assume that a trusted deployment boundary is a reliable proxy for runtime intent. Agentic systems break that assumption because the same container can issue legitimate and illegitimate connection attempts in the same session, so the control surface has to shift to per-action enforcement inside the host.

Per-executable network policy: The useful unit of control is not the pod or container but the executable that actually initiates the call. That matters for teams standardising agent authorisation because authorisation now has to survive shells, subprocesses, and downloaded binaries that appear after deployment.

Security leaders are already signalling that identity management must change for agentic AI systems, with 69% agreeing that identity management must fundamentally shift to address them according to the 2026 Infrastructure Identity Survey. The practical consequence is that reachability, auditability, and policy ownership all need to move closer to execution rather than deployment.


For practitioners

  • Move outbound control to the kernel layer Enforce deny-by-default network policy at connection time so the agent cannot rely on shared interface state or container-wide trust to reach external services.
  • Apply policy per executable, not just per container Allow only named binaries and expected runtime paths to reach approved destinations, and deny shells, subprocesses, and downloaded tools inside the same workload.
  • Fail closed when the policy daemon is unavailable Design enforcement so that loss of userspace state does not widen access and so every new connection remains denied until a rule explicitly allows it.
  • Log every connection attempt with process identity Capture executable path, destination, verdict, and process context so investigators can reconstruct what an agent attempted to reach and why it was allowed or denied.
  • Classify agent network policy as a governance control Assign ownership for agent reachability, review allowed destinations regularly, and treat unapproved outbound paths as an identity governance failure rather than a perimeter exception.

Key takeaways

  • AI agents turn network access into a runtime identity problem because the subject making the connection can change during execution.
  • Packet-level controls alone do not distinguish the intended agent from helper processes, downloaded tools, or a hijacked runtime path.
  • The strongest control pattern here is deny-by-default, per-executable enforcement with audit logging at the kernel boundary.

Related NHI Mgmt Group resources: Agentic AI Identity Guide · Agentic AI Security Guide · Zero Trust for AI Agents · AI Agent Authorisation Guide


Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10, OWASP Agentic AI Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-05 — Overprivileged NHIAgent network policy is about preventing broad, unbounded reachability for non-human identities.
NHI-10 — Human Use of NHIThe article emphasizes governance over agent identity and unauthorized use of agent pathways.
Recommendation — Limit agent connectivity to the minimum destinations and executables needed for the task. Ensure human operators cannot widen agent reach beyond approved identity and policy boundaries.
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseAgentic runtime access can be abused when identity and privilege are too broad for the actual action path.
Recommendation — Bind every agent action to explicit identity and privilege checks before allowing external access.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe article is fundamentally about enforcing authorizations for outbound access requests.
Recommendation — Apply PR.AA-05 to constrain agent network entitlements and review allowed destinations regularly.
MITRE ATT&CKTA0006; TA0010 — Credential Access; ExfiltrationThe control is designed to prevent agents from reaching destinations used for data theft and exfiltration.
Recommendation — Map agent outbound-control gaps to credential access and exfiltration paths in your detections.

Key terms

  • Agentic AI: Autonomous AI systems capable of planning, deciding, and taking actions, including calling APIs, writing code, and orchestrating other agents, with minimal human oversight. Agentic AI introduces new NHI risks as agents must authenticate to external services.
  • Default-Deny Network Policy: A default-deny network policy blocks all pod traffic unless an explicit rule allows it. In Kubernetes, this approach reduces lateral movement and data exfiltration risk by forcing teams to define approved communication paths for ingress and egress at the namespace or workload level.
  • Per-Executable Policy: A control pattern that authorizes network access based on the specific binary or process path initiating the connection. This is critical for agentic environments because an allowed container may still contain a shell, subprocess, or downloaded tool that should not inherit the same reachability.
  • Kernel-Level Enforcement: A control pattern that intercepts network or credential handling below the application layer. It reduces exposure because the user-space process never needs to hold the secret material directly, which lowers the chance of leakage through memory inspection, logs, or process tools.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on October 22, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org