Skip to content

Paper: eBPF holds an agent's outbound connections in the kernel and releases them only after a verifier signs off

Paper Tracker· arXiv:2610.26501· Ashok Subbabhatta Gopalakrishna·Indexed by this site · 2026-10-20· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The kernel suspends a pod's outbound TCP at connect(), and the isolation verifier allows it per socket; eBPF loopback hold median 4.29ms.

Threat modelThe adversary fully controls the code inside the supervised pod: it can connect from the main process, a child process, or a new binary to any address, port, and protocol; it can rename or rebuild the executable, contact the verifier, replay verdicts, and race concurrently; it can observe traffic between the interceptor and the verifier. It cannot escape the cgroup, obtain node root, read signing or logging authentication keys, or forge socket cookies. The sandbox and namespace isolation assumptions hold.

Questions
Agents act externally through outbound connections; gateways, SDK hooks and proxy settings can be bypassed by subprocesses or direct sockets, and approvals are not bound to the connection the kernel actually opens.
Methods
eBPF on the cgroup rewrites TCP to the node interceptor before connect() sends the packet, attributing by socket cookie. Only after the isolated verifier signs is that socket released once; with no verdict it resets. The content gate reads plaintext at the TLS library boundary without terminating TLS.
Experiments and results
On Linux 6.18, the eBPF path passed 36 adversarial checks. Loopback, N=200, eBPF native: median hold 4.29 ms. On a single node, all 600 connections were allowed; the streaming gate under three TLS runtimes denied subsequent outbound writes on the same connection.
Limitations and future work
In Section 9 the authors state that only IPv4 was done, UDP is only pinned and not adjudicated, the evaluation is single-node, and the content gate is a prototype on loopback TLS 1.2 and targets hostile input rather than hostile code. A multi-node manifest exists but was not measured.
Experimental setup36-check adversarial suite、loopback echo servers et al. · adversarial check pass、hold latency median/p95 et al.
Benchmarks
36-check adversarial suiteloopback echo serversk3s v1.34.1 single-node clusterinternal-apiexternal-sinkTLS 1.2 content-gate demo
Metrics
adversarial check passhold latency median/p95connections releasedposts receivedpolicy evaluation time
AI summaryThe paper proposes connection escrow, using a 98-instruction eBPF program attached to a pod's cgroup to hold each outbound TCP connection on the connect() path before packets are generated. The interceptor attributes connections by socket cookie, process, executable digest, cgroup and pod identity, buffers the first bytes and requests a verifier in a separate container; only a signed release decision that specifies that socket cookie and destination, is unexpired and unused releases the connection, and if no decision arrives before the timeout the connection is reset. The authors ran 36 adversarial checks on Linux 6.18 (33 for the iptables path) and report that denied connections do not reach their destination and that forged, replayed, expired and late decisions are all rejected; on a single-node Kubernetes setup all 600 connections went through the gate, with a median added latency of 4.3 ms per released connection (p95 6.8 ms).

The paper proposes connection escrow, using a 98-instruction eBPF program attached to a pod's cgroup to hold each outbound TCP connection on the connect() path before packets are generated. The interceptor attributes connections by socket cookie, process, executable digest, cgroup and pod identity, buffers the first bytes and requests a verifier in a separate container; only a signed release decision that specifies that socket cookie and destination, is unexpired and unused releases the connection, and if no decision arrives before the timeout the connection is reset. The authors ran 36 adversarial checks on Linux 6.18 (33 for the iptables path) and report that denied connections do not reach their destination and that forged, replayed, expired and late decisions are all rejected; on a single-node Kubernetes setup all 600 connections went through the gate, with a median added latency of 4.3 ms per released connection (p95 6.8 ms).

Related events and news

1 events · 1 news mentions

News that mentions this paper

大模型安全周报:防线开始溃于组合,智能体授权与审计系统性缺口

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Outbound connections must be suspended at the kernel connect(), and the verdict bound to that one socket.

    Inspection of outbound connections must happen on a kernel path the agent cannot change, and be bound to the one socket actually opened.

    • Scenario: the authors say the outbound call is the point where text becomes external action; adversarial text includes prompt injection, poisoned documents and compromised upstream tools. The assets are pod data confidentiality, and external systems not being written to, deleted from or exfiltrated by unapproved connections.
    • Existing shortcomings: gateways, SDK hooks and proxy environment variables can be bypassed by self-built sockets, subprocesses, or runtimes that ignore proxy settings. The authors say the kernel policy they know of is a long-lived allowlist: once a destination is allowed, every connection and every process in scope is allowed, and the approval is not bound to a specific socket.
    • This paper: the authors propose connection escrow. connect() is suspended before the SYN; the interceptor attributes by cookie; the isolated verifier signs and then releases that socket only once; with no verdict it resets, and late approvals are void. The agent is unmodified. Policy is replaceable, which the authors explicitly place out of scope.
    • Threat model:
      • Boundary: the agent, subprocesses, libraries and tool servers it launches within the supervised pod (or cgroup) are untrusted. The trusted computing base is the kernel, node agent, verifier and cluster control plane (API server, kubelet, CNI). The boundary is the pod's cgroup. The verifier is in its own pod with its own key.
      • Capabilities: the adversary fully controls code in the pod. It can connect to any address, port and protocol; initiate from the main process, a subprocess, a thread or a newly exec'd binary; rename, copy or rebuild executables; construct arbitrary application-layer bytes; contact the verifier directly; replay observed verdicts; race concurrently. It can observe node traffic between the interceptor and verifier.
      • Cannot: escape the cgroup, obtain node root, read the verifier signing key or the interceptor's record authentication key, or forge the kernel socket cookie. Sandbox and namespace isolation are assumed to hold, and escrow composes with them rather than replacing them.
      • Goals: G1 if denied, no packet reaches the destination; G2 attribute to cookie, process and platform identity such as SPIFFE; G3 the verifier is unreachable and unimpersonable; G4 release only one socket, one destination at a time; G5 fail closed, late verdicts invalid; G6 require no SDK, proxy variables, library changes or sidecar.
  2. What related research exists?

    The authors use Table 6 to position this paper as having five properties simultaneously, and say prior systems did not have all of them.

    The authors group by enforcement location and use Table 6 to compare five properties. The critique writes only the differences the paper names.

    • Synchronous external authorization
      • Envoy ext_authz and Istio CUSTOM: ext_authz suspends an HTTP request or TCP connection within a timeout and hands it to an external service, optionally fail-closed; Istio's CUSTOM is built on it. The paper notes: it sees only traffic through the proxy, identity stops at the pod or mTLS principal, it does not see the process, the verdict is not bound to the kernel socket, and traffic not through the sidecar can bypass it.
    • Host firewall and isolation
      • OpenSnitch: uses NFQUEUE to hold new connections in the kernel, identifies the process, then asks the user, adopting a default after 15 seconds; "once" makes the verdict per connection. The authors say this is the closest non-agent precedent, but it has no workload identity, no independent verifier, no socket-bound token.
      • Pak and Kouznetsov (2006): isolate suspicious communication for later verdict. The authors only say such isolation is not new.
    • Kernel-side agent control
      • Observation and enforcement: AgentSight (Zheng et al., 2025) observes with eBPF but does not enforce. ActPlane (Zheng et al., 2026), Tetragon, mcpguard-dynamic, ProcRoute (Sagayam, 2026) block, kill, notify or authorize per process in the kernel. AgentKernel (Zou et al., 2026) argues for an enforcement boundary beneath the agent. The authors say these systems' policy entries are long-lived: a match is authorization, and nothing waits for an external verdict.
      • AARM (Errico, 2026): specifies intercept first, then decide, and lists eBPF as a possible architecture, but has no socket-level mechanism.
    • Sandbox and attribution
      • Claude Code and NVIDIA OpenShell: egress goes through an out-of-sandbox proxy or CONNECT proxy. The former asks about a new host and then allows that host within the session; the latter identifies the binary via procfs and blocks unknown endpoints until policy is relaxed. The authors say both approve a destination, not a connection, and act only on traffic through the proxy.
      • Tran et al. (2026): argue for a per-agent sidecar under an independent control plane. The authors say this paper realizes that architectural position in the kernel rather than at the proxy.
      • Attribution building blocks: socket cookie, the cgroup connect hook described by Meta, SPIFFE/SPIRE resolving pod identity through the same cgroup path. The authors say that to their knowledge, no prior system keys an external verifier's one-time approval to a socket cookie.

    Baselines are unsupervised direct connection, HTTP_PROXY pointed at a deny-all sidecar proxy, and iptables versus eBPF. Benchmarks/datasets are the 36-item adversarial suite and loopback echo, internal-api and external-sink on single-node k3s; the content gate control is withholding only the first application data record and then concatenating (Table 5).

    The authors say this paper's position is that the five Table 6 properties hold simultaneously: external suspension, process and workload attribution, enforcement before the packet leaves, deny after deadline, one-time socket binding; and say no prior system has all five. The checkmark columns in the table may be misaligned in plain text, so they are not transcribed cell by cell here.

  3. How does the paper address this problem?

    cgroup/connect4 rewrites the destination before packet egress and only allows a signed verdict naming that socket cookie.

    connection escrow places the check in the kernel connect(): every outbound TCP connection from the supervised cgroup is rewritten to the node interceptor before a packet exists; the interceptor attributes it by socket cookie and parks the first bytes; a verifier in another pod signs; only a verdict naming that socket allows it through. Fig. 1–3 are the components, one exchange, and the allow and deadline timelines.

    Why connect()

    The authors compare placements in Section 3.1: a sidecar or egress proxy only sees traffic the workload actively hands to it, and the connection already exists when it sees the request, so it cannot achieve G6 and G1; NFQUEUE can suspend packets in the kernel, but attribution relies on finding the process after the fact, there are races under high load, and there is no workload identity; BPF-LSM is synchronous and before packet egress, but the verdict is a local allow or deny and cannot sleep waiting for an external verifier; ordinary transparent redirection can hand off to a userspace component that can wait, but it loses the original destination and identity. cgroup/connect4 is simultaneously synchronous, before packet egress, able to rewrite the destination, reads the cgroup and pid in process context, and covers all processes in the pod by cgroup. After rewriting, the original destination is recovered via the cookie.

    Hook point and attribution

    • Program: type BPF_PROG_TYPE_CGROUP_SOCK_ADDR, attached at BPF_CGROUP_INET4_CONNECT. It reads the cookie, writes the original address and port, cgroup id, pid, and time into an LRU hash, and rewrites user_ip4/user_port. Including UDP rules and counters, it has 98 instructions, no backward jumps, and runs once per connection. It is attached per pod cgroup with BPF_F_ALLOW_MULTI. Connections outside the supervised cgroup are not rewritten. sendmsg4 has 50 instructions and handles connectionless UDP; sockops has 22 and writes peer_map at ACTIVE_ESTABLISHED to recover the cookie across network namespaces.
    • iptables fallback: when eBPF cannot be loaded, OUTPUT TCP is redirected to the interceptor by agent uid, and the destination is recovered with SO_ORIGINAL_DST. The interceptor must be a different uid. This path scans /proc to fill in pid and cgroup, has no UDP pinning; root inside the container can setuid to escape uid matching, and the cgroup-keyed eBPF follows child processes.
    • Three attributions (Table 1): the cookie comes from peer_map or inet_diag; the process comes from the eBPF map or /proc, and the digest reads the inode pointed to by /proc/<pid>/exe, so renaming does not change the digest; platform identity comes from the longest-prefix registry of cgroup paths, including pod uid, namespace, service account, and SPIFFE id. Offline fields are filled in by the kernel or the node agent. The node agent only watches local pods with the supervision label and refreshes periodically.
    • Parking and verifier: reads at most 4 KiB and at most 150 ms. For HTTP/1.x it takes the method, host, and path; for ClientHello it takes the SNI; otherwise it is opaque. Bytes are not forwarded before allow, and their hash enters the verdict. Records use HMAC-SHA256 mounted only into the interceptor container. Policy matches names (including globs), Kubernetes services or addresses, and ports, methods, and path prefixes by SPIFFE id; the first match decides allow, deny, or hold. A token bucket limits the allow rate. Cluster IPs are reverse-mapped to service identity via the API server. Destinations that are the verifier are denied, with reason destination_is_verifier.
    • UDP: UDP to the configured cluster resolver dns_ip:53 is allowed, and all other UDP is denied in the kernel with EPERM. The authors state that DNS is latency-sensitive and the resolver is fixed and trusted, so it is pinned rather than escrowed. Verdicts for UDP and the IPv6 hook are left to Section 9.

    Allow gate, deadline, and deployment

    The verdict issued by the verifier is v=Signverifier(escrow_id, cookie, H(dst, first bytes), ALLOW|DENY, tissued, texpires, nonce), covering only this escrow, this cookie, and this destination and first-bytes hash.

    • Gate: the id is still alive; the signature verifies under the verifier key; it names that id, that cookie, and that destination hash; it is not expired; it is not consumed; the result is ALLOW. On success, the id is consumed under a lock, then it connects to the destination, forwards the parked bytes, and splices. Any other result, including a transport error to the verifier, sets SO_LINGER to zero and closes. The authors state that it does not connect() to the destination before the gate passes, so a denied connection sends no SYN.
    • Deadline and receipts: a hold rule leaves the decision at the verifier until the operator allows it or its hold times out. The interceptor deadline D is independent and shorter. After D the id is retired, and a late verdict is stale (Fig. 3). In the suite, T3 uses D=1000 ms. Receipts are appended to the interceptor hash chain; the verifier has a separate chain. Changing one entry breaks the chain at that entry.
    • Deployment: a DaemonSet runs the node agent with host PID and host network and attaches connect4, sendmsg4, and sockops to the pod cgroup. The verifier is a Deployment in a separate namespace, and NetworkPolicy allows only node addresses. Pods only need the supervision label and service account. When eBPF cannot be loaded, an iptables init container and a sidecar variant sharing the process namespace can be used. A long-running agent is supervised for its lifetime once attached; a pod that starts before attachment is covered from its next connection.

    A content gate that does not terminate TLS

    Encryption cannot hide the destination address, but it can hide the body at an allowed destination. A uprobe at the entry of the TLS library write function copies up to 16 KiB per write into a kernel FIFO; another pair of probes binds the TLS handle to the socket. The loader inspects the ELF: if Go symbols are present it uses the Go program, if SSL_write is present it uses static OpenSSL, otherwise it uses shared libssl. The two programs have 52 instructions each. The authors state that BoringSSL keeps the SSL_write signature, so the same mechanism covers it. The handshake remains end-to-end, the certificate is the server's own, and the enforcer holds no keys and does not decrypt the wire.

    • Streaming hold: the authors state that holding only the first application data and then splicing is wrong: subsequent requests on the same keep-alive, and body tails longer than one record, are not visible, and the first record of HTTP/2 is still the connection preface. The streaming gate binds the connection to the handle of the first write and consumes only writes on that handle; it calibrates ciphertext overhead with the first record and, after n bytes are counted, treats the next as a new write. If allowed, it releases the record; if denied, it resets, and held records do not leave the node. If no plaintext appears within the timeout, it denies. In TLS 1.3, after ServerHello the outer type is uniform, and the gate holds every subsequent record, using a uprobe that exists only for application writes to decide what to evaluate, still without decrypting.
    • Scope set by the authors: the content model is a deterministic logistic regression placeholder on request features and is replaceable. At most one 16 KiB is seen per write; HTTP/2 HEADERS need an HPACK decoder, and DATA is plaintext. Writes and connections are disambiguated by socket via /proc, with a few-microsecond race against fd binding. The authors state that bringing your own TLS, stripping symbols, or inlining encryption leaves the probes with no target, and the gate fails closed; in an address space owned by the adversary, decoy writes and buffer races are available. The content gate targets hostile input on an honest agent; the connection gate targets hostile code.
  4. What experiments did the paper conduct?

    36 eBPF adversarial checks passed; median loopback hold 4.29 ms, all 600 connections allowed.

    Experimental setup

    • Host: Sections 6.1–6.2 come from one log on 2026-10-19: 2 vCPU virtualized Intel Xeon 2.80 GHz, Linux 6.18, cgroup v2, Python 3.13, clang 18, all loopback. Sections 6.4 and 6.5 were logged separately on the same host.
    • Subjects: each agent in the suite is a separate unprivileged uid process within a cgroup; end-to-end uses unmodified curl; the cluster uses a urllib client in an unmodified image. Three content gate runtimes: Python with shared OpenSSL 3, C statically linked against libssl, Go using crypto/tls. Scoring is a deterministic logistic regression placeholder.
    • Controls: unsupervised direct connection; iptables versus eBPF; native Ed25519 versus pure Python; HTTP_PROXY pointed at a deny-all sidecar proxy; in the content gate, withholding only the first application data record versus the streaming gate.
    • Cluster: k3s v1.34.1, single node, cgroup v2. internal-api is allowed for that workload identity, external-sink is not. The node agent runs as a host process against real pods in DaemonSet fashion.
    • Judgment: whether the destination accepts, first byte, receipt fields, and reset or release. The paper does not write of an LLM judge or human agreement.
    • Scale: latency N=200 sequential connections, plus 16 concurrent processes with 12 connections each. Adversarial checks 36 on eBPF and the applicable 33 on iptables. The cluster is 6 pods with 100 each. The paper does not report the number of repetitions per suite item.

    Main results

    The table below is the latency of one released connection on loopback, in ms, written as median/p95. The last column is connections/second. According to Table 3, left to right corresponds to eBPF native, iptables native, eBPF pure Python. N=200 is sequential connections; the 16-process row is 16 processes with 12 connections each.

    | Path | Hold | Agent wall clock | Unsupervised wall clock | 16-process hold | Connections/s | | eBPF, native | 4.29 / 6.82 | 5.47 / 8.36 | 0.74 / 0.96 | 31.53 / 47.93 | 126.4 | | iptables, native | 5.76 / 7.01 | 7.10 / 8.57 | 0.86 / 1.20 | 59.50 / 100.14 | 100.2 | | eBPF, pure Python | 9.31 / 11.50 | 10.59 / 13.06 | 0.84 / 1.12 | 90.08 / 114.92 | 102.7 |

    • The authors say policy evaluation is 24 µs; the rest is in one new HTTP/1.1 round trip to the verifier, attribution, signature verification at the gate, and the outbound connect. The eBPF path gets the pid from the kernel, the iptables path scans /proc. The abstract writes the same eBPF loopback hold as 4.3 ms median, 6.8 ms p95.
    • The authors say the pure Python Ed25519 gap is mainly in the two signatures, and say this gives an upper bound on what a native verifier plus persistent connections could recover. The body writes 16 concurrency as 32 ms median, 48 ms p95, 126 connections/s, and says throughput varies across runs on the shared two vCPUs; queuing is in the single-process Python interceptor and the threaded verifier, not in the kernel program.
    • The authors say that if the tool call itself takes hundreds of milliseconds to seconds, a 5 ms hold is below the call's own noise. The authors say the real operational cost is the suspension rule: when no one answers, the full deadline is paid.

    Adversarial suite

    • What was tested: T0–T14 of Table 2, attached to G1–G6, plus budget, HTTP, and receipt chain. Initiated by processes within the pod cgroup; the suite records destination accept and receipts.
    • Results: the paper reports all 36 eBPF items and the applicable 33 iptables items passed. The three UDP pinning items of T14 apply only to the kernel path, and iptables records them as not applicable. T3's D=1000 ms, the table records a measured 1001 ms; the body writes that connect() returned due to reset 1.07 s after start. T6 connections to the verifier address were rejected. T11 subprocesses and copied, renamed interpreters were still suspended, with the digest and cgroup unchanged. T5 covers wrong key, wrong cookie, wrong destination hash, expiry and replay. T9's budget is 2 per minute, with the third rejected.
    • Authors' interpretation: the authors say "destination did not accept" is an accept-level observation; no packet leaves comes from the code path, i.e. no connect() to the destination before the gate passes, and on eBPF the agent's connect() destination address did not pass the hook. That address is in escrow_map, not on the wire.

    Cluster and bypass

    • Enforcement: unsupervised, GET, POST and subprocess all arrived, and external-sink recorded the body. Under escrow, two internal-api releases, receipts rule[0], rule[1], attributed to SPIFFE id, cgroup, pid and the resolved Host; three external-sink (including a subprocess) were reset before the packet reached the Service, with no record at external-sink. The authors say by kernel count every TCP connect was suspended and DNS pinned to the cluster resolver; the paper does not give the counts of these.
    • Table 4: under sidecar the HTTP call is blocked (403), the raw socket is reached, stored 1; under escrow both are blocked (reset), stored 0. The authors say this is the difference between a bypassable environment control and an operating system boundary.
    • Scale: 6 pods each opened 100 to internal-api, 600 total, 600/600 suspended and released, 59 connections/s; hold 18 ms median, 38 ms p95, 57 ms p99. The authors say this is higher than loopback because the path includes the pod network and DNS each time, and the interceptor, verifier, six pods and k3s share two CPUs; the bottleneck is the single-process Python interceptor, not the kernel hook's one map update per connect.

    Content gate

    • Setup: an HTTPS server with its own certificate, TLS 1.2. The three runtimes share the relay, model and gate, changing only the probe location. On the same connection a benign request is sent first, then an exfiltration request. There is also an exfiltration write after a 40 KiB benign write (the library emits three TLS records), and two interleaved TLS sessions in one process.
    • Results: in Table 5, the first-record gate for all three runtimes does not inspect the subsequent POST, and the server receives two requests; the streaming gate records deny .999 and resets, receiving only the first. The body writes allow p=0.001, deny p=0.999. Certificate verification succeeded in all six runs; the paper reports the relay and uprobe hold no keys and do not decrypt wire bytes.
    • Authors' interpretation: in the 40 KiB check, the streaming gate scores the first write once and releases three records, then treats the fourth as a new write and rejects it. In the interleaved sessions, the benign connection completes, and the exfiltration write stays on its own connection, rejected and not reaching the server. The authors say Go is closest to practice: the binary is statically linked and bundles TLS, a libssl probe would miss it, and when Go's net/http negotiates HTTP/2 the first record is not a request.

    Other ablations and analysis

    • Table 3 attribution median/p95 (ms), in the order eBPF native, iptables native, eBPF pure Python: 0.87/1.58, 2.02/2.60, 0.89/1.08.
    • Park first byte: 0.10/0.15, 0.11/0.14, 0.10/0.14.
    • Verifier round trip: 2.21/3.51, 2.44/3.02, 3.69/4.90.
    • Release gate: 0.31/0.44, 0.34/0.46, 3.31/4.51.
    • Connect to destination: 0.43/0.60, 0.47/0.62, 0.53/0.74.
    • Section 6.3 unmodified curl: the allowed port receipt is RELEASED, comm=curl, source=bpf_connect4; the same attempt to the verifier port and from a subshell were reset, with reason destination_is_verifier. The paper does not report the latency of this smoke test.
  5. What are some points that can be further explored?

    In Section 9 the authors state that IPv6, UDP verdicts, multi-node and the content gate prototype remain to be completed.

    Limitations and future directions noted by the authors

    • Protocol families: the suspension point covers IPv4 TCP; IPv6 connect6 and sendmsg6 are not implemented. UDP is pinned rather than escrowed, allowing covert channels within DNS traffic and general UDP payloads not entering adjudication (Section 9; Section 3.6 says left for future work).
    • Resolution and iptables: names are resolved before connect(), so an attacker-controlled name reaches authoritative servers via the cluster resolver. The authors say what G1 hides is the connection attempt, not that the name has already been queried. iptables matches by uid, thus assuming the agent is unprivileged (Section 9).
    • Attribution and peer name: without SNI or an identifiable request, the verifier has only the destination tuple. Attribution via /proc requires CAP_SYS_PTRACE; the eBPF path still reads /proc for the executable digest. After rewriting, getpeername() returns the interceptor address, and the authors say cgroup/getpeername4 is not yet written (Section 9).
    • Implementation form: the prototype interceptor is single-process Python and the verifier is a threaded Python server, and the concurrency numbers reflect this rather than the kernel program (Section 9). Section 8 discusses scaling with a compiled interceptor, persistent pipelined connections to the verifier, and SO_REUSEPORT.
    • Content gate: covers shared and static OpenSSL and Go's crypto/tls; Rustls needs its own probe, and stripped binaries need out-of-band offsets; the model is a placeholder; at most one 16 KiB is scored per write; HTTP/2 headers need a model-side HPACK decoder; demonstrated on loopback TLS 1.2, not yet at cluster scale. The authors say its adversary is hostile input on an honest agent, not hostile code (Section 9).
    • Node and next steps: the threat model trusts the node, and root on the node can unload the program. The authors say the product direction is to pair escrow with attestation of the loaded program set; Section 8 says the natural next step is to combine this paper's release with the integrity half already present in their prior gateway (Sections 8, 9).

    Scope of experimental coverage

    • The adversarial suite and microbenchmarks are one logged run on Linux 6.18, 2 vCPU, loopback; all 36 eBPF items and the applicable 33 iptables items passed (Table 2). End-to-end uses unmodified curl (Section 6.3).
    • Latency is broken down for N=200 sequential connections, plus 16 concurrent processes with 12 each (Table 3). Policy evaluation of 24 µs is written in the Section 6.2 body.
    • The cluster experiment is single-node k3s v1.34.1, two Services, including the sidecar control (Table 4) and 6 pods with 100 connections each (Section 6.4). The paper does not report multi-node measurements.
    • The content gate is TLS 1.2, loopback, three runtimes, two kernel programs, plus a 40 KiB multi-record check and an interleaved-session check (Section 6.5, Table 5). The paper does not report cluster-scale content gate numbers.
    • The paper does not report the number of repetitions per adversarial suite item. The deadline used by T3 is D=1000 ms.
  6. Summarize the main content of the paper

    The kernel suspends outbound TCP, an isolated verifier allows it once per socket, and a deadline resets it.

    connection escrow suspends the supervised pod's outbound TCP at the kernel connect(), so that a verifier the pod cannot reach decides on a per-socket basis whether to allow it.

    • Problem: An agent's outbound call turns given text into external action. Gateways, SDK hooks, and proxy settings can be bypassed by direct sockets or subprocesses, and long-lived allowlists do not bind a given approval to a given socket.
    • Method: A 98-instruction cgroup eBPF rewrites the destination before the outgoing SYN; when eBPF cannot be loaded, it redirects via iptables by uid. The interceptor uses the kernel socket cookie to link the process, executable digest, and SPIFFE identity, and parks up to 4 KiB. The verifier signs with its own key in a separate pod. Release requires the signature, cookie, destination and first-byte hash, unexpired and unused; if there is no verdict before the deadline, it resets, and late verdicts are voided. The content gate uses a uprobe to read plaintext at the TLS write boundary; the tunnel remains end-to-end, and the executor holds no keys.
    • Results: On Linux 6.18 loopback, the eBPF path passes 36 adversarial checks, and iptables passes the 33 that apply (Table 2). With eBPF native, N=200, the median hold for an allowed connection is 4.29 ms, p95 6.82 ms; policy evaluation 24 µs (Table 3, Section 6.2). On single-node k3s, all 600 connections to internal-api are allowed; the sidecar's raw socket is parked 1 time, escrow 0 (Section 6.4, Table 4). On three TLS runtimes, the streaming gate denies subsequent exfiltration writes on the same connection, with the main text recording p=0.999 (Table 5 records deny .999).
    • The authors' conclusion: The authors state that what counts as acceptable is a separate question, and this paper gives the check a place to stand. For tool calls that themselves take hundreds of milliseconds to seconds, the authors state that a few milliseconds of allow or deny is below call noise, and what to watch is the deadline of the suspension rule. The authors state that it stacks with network policy and service mesh, and what it adds is whether this pod can open this connection at this moment.
Read originalarxiv.org