Implementation · Off-chip devices & sensors

SASH confidential network logger

An open-source prototype that routes a facility's inference traffic through a logger and re-runs requests on a separate cluster to check it serves inference.

Also called Confidential Network Logger (CNL); SASH inference verification prototype

R1ProposedProvider-reported

Summary

The Singapore AI Safety Hub (SASH) describes confidential network loggers (CNLs) as systems that split and copy traffic leaving a data centre's cable. In SASH's planned next prototype, an FPGA certifies the traffic it sees, and a random sample of inputs and outputs goes to a separate recomputation cluster, which re-runs them on its own model copy and flags mismatches; the verifier would see only encrypted hashes. The aim is to show a facility serves inference, not training. The first prototype's code is public; it re-runs every request rather than a sample and computes no hashes. A hardware demonstration used DGX Spark GPUs and Raspberry Pis. As of September 2026 it has not been tested at realistic scale or against a stated adversary. SASH says the recomputation cluster's security cannot yet be monitored, that a Raspberry Pi logger ties the design to particular supply chains, and that side channels remain.

ReadinessR1Proposedmedium confidence · rubric v1.0 · 2026-09-23

R1: public code exists, but it runs a toy model through a software proxy with no stated adversary.

Rubric assessment
  • R1 met: SASH publicly describes the design (a traffic-splitting logger plus sampled recomputation on a mutually inspected cluster), the claim (inference rather than training) and its stated limitations 1. Public code exists 2.
  • R2 not met: the implementation does not run under conditions representative of the verification use in any key respect. The model is Gemma 3 270M on a CPU inference image, and the logger is a software proxy 2. The hardware demonstration used DGX Spark GPUs and Raspberry Pis 1. The only adversary is a demo switch that replaces outputs with random characters 2. As of September 2026 no evaluation by others has been published.

Confidence is medium: the code can be read directly, but the hardware demonstration is known only from SASH's blog post.

Gaps to the next level
  • A hardware logger (the planned FPGA version) on a real data-centre link, with realistic model size or traffic volume.
  • A stated adversary and threat model, with testing against it.
  • Random sampling and hashed or certified traffic records, as described in the blog post, implemented in the public code.

What it is

The Singapore AI Safety Hub (SASH) describes an international collaboration to build inference-verification mechanisms that distinguish model inference from training in data centres 1. Its early partners include the Oxford Martin AI Governance Initiative and the Future of Life Institute 1. The researchers span Singapore, the US, the UK, Hungary, Canada and Germany 1.

The core component is a Confidential Network Logger (CNL): "specialised traffic analysis systems which split and copy network traffic coming out of a cable" 1. SASH argues that, unlike on-chip mechanisms, CNLs "can be installed on most datacenters" 1. The first prototype is published as open-source code under the MIT licence, and its README calls it "a prototype demo for verifying LLM inference" 2. It implements network logging combined with recomputation. SASH's planned next prototype samples requests, while the published code re-runs all of them 1 2.

How it works

SASH describes the flow planned for its next prototype as follows 1:

  1. An FPGA placed between the host's cluster and its output gateway issues "cryptographic certificates attesting to the encrypted traffic it has seen" as traffic passes through 1.
  2. A random sample is sent to a recomputation cluster "which has been mutually inspected by both parties" and houses another copy of the model 1.
  3. The cluster recomputes the received inputs, and an alarm is triggered if the outputs do not match 1.

SASH says the verifier would see only "encrypted hashes" of inputs and outputs, so it can tell whether they match without reading them 1. SASH motivates the approach by the different traffic patterns of the two workloads 1. It describes inference as many small bursts of activity on relatively few GPUs, and training of large models as sustained, cyclical activity on many GPUs 1.

The published code splits the system into a gateway, a network logger, a main cluster, a recomputation cluster and a dashboard 2:

  • The gateway encrypts each request and passes it to the logger 2.
  • The logger forwards it to the main cluster, then sends the request and response to the recomputation cluster, and releases the response only if the check passes 2.
  • The recomputation cluster re-runs the request and compares the response text for an exact match 2.

In this version, every request is forwarded for verification and no hashes of the traffic are computed; the random sampling and hashes described in the blog post belong to the planned next prototype 2 1. Reproducible inference, which exact matching needs, is covered in Deterministic and bit-exact inference.

Evidence

  • Hardware demonstration. In SASH's demonstration, "a pair of DGX Spark GPUs sit in for the audited datacenter and recomputation cluster", and Raspberry Pis stand in for the logger and the data-centre frontend 1.
  • Public code. The code's container setup serves the Gemma 3 270M instruction-tuned model on a CPU inference image, and a demo switch simulates covert training by replacing output with random characters 2.
  • Next prototype. SASH says a further prototype with an FPGA is planned 1.

Limitations

SASH lists the following 1:

  • "There is no means to monitor the security of the recomputation cluster" 1.
  • Using a Raspberry Pi 5 as the logger locks the design into Broadcom and Arm supply chains 1.
  • Future versions would add zero-knowledge proofs to the recomputation method, eliminate a wider range of side-channel vulnerabilities, and scale the design to production traffic volumes 1.

The general limitations of network taps, such as covert capacity in model outputs and line-rate hashing, are covered in Network taps and certifiers.

Known flaws

Published flaws, with their severity, kind and status. How flaws are rated.

  • Recomputation cluster security is not monitoredSignificantOpen questionOpen

    SASH states that the current prototype has no means to monitor the security of the recomputation cluster, which holds a copy of the model and decides whether an alarm is raised.

    Sources: [1]
  • Side channels not yet addressedSignificantOpen questionOpen

    SASH lists eliminating a wider range of side-channel vulnerabilities as future work.

    Sources: [1]
  • Logger hardware supply chainMinorOpen questionOpen

    The prototype uses a Raspberry Pi 5 as the logger, which SASH says locks the design into Broadcom and Arm supply chains.

    Sources: [1]

Blockers

Technical detail

Show technical detail
  • Services. The repository starts five services together: a Svelte dashboard (port 5173) and FastAPI services for the gateway (8010), network logger (8020), main cluster (8030) and recomputation cluster (8040) 2.
  • Gateway. It wraps each inference request in an envelope encrypted with AES-GCM-SIV, using a 256-bit key derived by SHA-256 from a configured host key and a nonce derived from the request ID and direction, and posts it to the network logger 2.
  • Network logger. It forwards the encrypted request to the main cluster, then posts the encrypted request and response to the recomputation cluster's /verify endpoint. It returns the response only if the result is "verified"; otherwise it returns an HTTP 400 "Recomputation failed" 2.
  • Recomputation cluster. It decrypts both, re-runs inference and compares response text for exact equality. Inference calls an OpenAI-compatible endpoint with seed 0 2.
  • Model and demo modes. The Docker configuration serves google/gemma-3-270m-it on a CPU vLLM image, and a mock mode returns placeholder text. A demo switch replaces output characters with random hex characters to "simulate covert training" 2.
  • Difference from the blog post. In this version the logger is an inline software proxy that forwards every request for verification and computes no hashes of the traffic, whereas the blog post describes random sampling and hashes for the next, FPGA-based prototype 2 1.

Sources

  1. CSingapore AI Safety Hub (SASH) (2026). Internationalising AI Verification. SASH blog. Source recordSupports: project aims, CNL description, workflow, hardware demo, partners, limitations and future work · whole post
  2. BSingapore AI Safety Hub (SASH) (2026). inference-verification: Inference Verification Prototype. GitHub. Source recordSupports: components, data flow, encryption, recomputation comparison, model, demo switch, licence · README.md; run-dev.sh; components/gateway, network_logger, recomputation_cluster, lib/

I-0008JSONSource-checked 2026-09-23 · changed 2026-09-24Suggest a correction

Drafted with AI assistance and checked against the cited sources by an independent verifier. Expert review pending. Readiness assessed by the AI draft on 2026-09-23. How records are made.