Are audit records trustworthy? Testing clinical governance requirements in a container-isolated multi-agent LLM pipelineCan the Audit Trail Be Trusted? Testing Clinical Governance Requirements in a Contained Multi-Agent LLM Pipeline
The authors run 12 controlled attacks on the Connexin multi-agent pipeline: the baseline satisfies containment, but G2–G4 attacks succeed 600/600 times; the hardened relay blocks 1,200 attempts.
The worker agent is fully compromised (for example, via prompt injection); the attacker controls its code and can send arbitrary requests from within the container, possessing only the network access the worker legitimately has and its own credentials in the hardened variant. The relay, container runtime, and host are trusted; container escape is out of scope.
- Clinical research multi-agent LLM pipelines require attributable, auditable governance records. The authors test whether container isolation plus relay auditing is sufficient, especially whether the audit trail remains trustworthy when one agent is compromised.
- The authors turn containment, attribution, non-interference, and protected oversight into 12 attacks, repeat each 100 times on the Connexin baseline and the hardened relay, and measure message handoff, concurrent throughput, and end-to-end delivery cost.
- The baseline blocked all G1 attempts, but all G2–G4 attacks succeeded, and forged senders were recorded as real identities. The hardened relay blocked all attempts and recorded the actual credential identity; the median relay−direct difference for 1 KB handoffs was 0.53 ms.
- The experiment includes only one host, one relay, two agents, and synthetic workloads, with no LLM in the loop; attacks are executed by scripts. The authors did not test container escape, attacks on the relay itself, content-level data exfiltration, or governance processes; absolute latency is limited to this host.
- Metrics
- attack success counts with Wilson 95% confidence intervalshandoff latencythroughputend-to-end delivery time
Research shows that container isolation alone cannot make multi-agent LLM pipelines produce audit records trustworthy for clinical governance. The authors translated four governance requirements—isolation, attributability, non-interference and protected oversight—into 12 attacks launched by compromised agents, each executed 100 times, testing the open-source isolation system Connexin, which had passed its own verification suite, and a hardened relay. Connexin blocked all 500 attempts to bypass the relay or subvert routing policy, but in the remaining 600 attempts compromised agents succeeded in all of them at impersonating other agents, reading or silently consuming other agents' messages, reading the audit ledger, replaying messages and accessing the internet, with forged messages written to the ledger in the impersonated party's name, so that audit records appeared authoritative but were wrong. The hardened relay, which determines identity from each agent's independent credential rather than from message content, blocked all 1,200 attempts and logged each rejected request by credential, adding a median 0.53 ms per 1 KB handoff versus a direct connection (0.29 ms for the baseline relay).
Related events and news
1 events · 0 news mentions
- This event's paper
容器隔离难保多智能体LLM审计可信
Paper analysis
What problem does this paper attempt to solve?
To examine whether container isolation and routing relay can satisfy clinical governance, especially identity attribution and audit trustworthiness after an agent is compromised.
The core question is: in an isolated multi-agent LLM pipeline, after one agent is compromised, can clinical governance still reliably answer “which agent did what.”
- Clinical scenario and importance: The authors use a clinical research pipeline as an example, where different agents define cohorts, check exposures and doses, and review against guidelines, and may access protected health information and affect clinical conclusions. Clinical auditing, incident review, and research integrity depend on attributable records; the authors also cite WHO guidelines and the EU AI Act's requirements for automatic event logging.
- Gaps in existing engineering answers: A common approach is container network segmentation, with all communication passing through a relay that checks routing policy and writes a ledger. Connexin's own functional validation suite has passed, but the authors argue that these checks only verify that the system works as designed, not whether governance requirements hold under attack.
- Core observation and hypothesis: Based on zero-trust principles, the authors hold that network location does not confer trust, and that governance design should assume any agent may become an adversary; verifying only isolation and expected behavior may miss identity forgery, mailbox interference, and audit reads that do not cross network boundaries.
- What the paper proposes: The authors turn four governance requirements into 12 attacks and test the Connexin baseline; they then implement a hardened variant that changes only the relay, measure the latency and throughput costs of mediation and hardening, and provide review questions for a governance committee.
- Threat model:
- Goal: Make a compromised worker communicate beyond its authority, impersonate identities, replay, read or consume others' messages, read the ledger, or connect to the internet.
- Knowledge and capabilities: The attacker controls the worker code and can send arbitrary requests from within its container; it has only its legitimate network access and, in the hardened variant, its own credentials. A7 additionally gives the identifiers of other agents' queued messages, as a worst case of identifier leakage.
- Trust boundary: The relay, container runtime, and host are trusted; container escape is out of scope. The victim system is Connexin's gateway, relay, worker, reviewer, and their audit records.
What related research exists?
Related work covers clinical AI governance, agent isolation and access control, and A2A communication; this paper focuses on the audit consequences when identity is claimed rather than verified.
Clinical AI governance and accountability
- Scally and Donaldson (1998): Discuss clinical governance and quality improvement, providing the basis for the authors to define a framework of accountability for care and research quality and safety in healthcare organizations.
- WHO (2024) and EU AI Act (2024): WHO offers recommendations for accountable use of generative AI to governments, developers, and healthcare providers; Article 12 of the EU AI Act requires high-risk AI to automatically record events. The authors note that both assume logs are faithful, whereas this paper tests this assumption under attack.
Containment of LLM agents
- IsolateGPT (Wu et al., 2025): Isolates third-party LLM applications in separate execution environments, mediating all interactions through a central hub; this is relevant background for this paper's container isolation plus relay design.
- Container escape research (Marchand et al., 2026): The authors cite its conclusion that frontier models can exploit container misconfigurations and some runtime and kernel weaknesses to escape; this paper explicitly does not test escape, but studies what a compromised agent can do without escaping.
Agent access control
- SEAgent (Ji et al., 2026): Frames agent attacks as privilege escalation, including a multi-agent confused-deputy variant, and implements attribute-based mandatory access control.
- AgentGuard (Luo et al., 2026) and CaMeL (Debenedetti et al., 2025): The former implements attribute-based access control on tool calls, and the latter separates control flow from data flow so that untrusted data cannot change agent behavior. The authors state that all three works decide whether an action is permitted and rely on knowing which agent is acting.
Inter-agent communication and security
- A2A (2025) and A2ABreak (Lotfi et al., 2026): A2A standardizes agent discovery and task exchange; A2ABreak's security analysis holds that A2A establishes identity only at the transport layer and does not carry identity across delegation hops.
- Survey of open problems in multi-agent security (Schroeder de Witt et al., 2025): Lists inter-agent authentication and accountability as open problems. The authors position this paper as measuring what happens to the audit trail when identity is only claimed and not verified.
Experimental comparison: The paper does not use other attack or defense methods as baselines; the comparison is between Connexin's baseline and hardened relay variants, the attacks are the authors' defined A1–A12, and the performance comparison is against a direct receiver that performs no policy checks and writes no ledger.
How does the paper address this problem?
Map four governance requirements to 12 attacks, then harden the relay with credential identity, owner access, and protected auditing, and quantify the cost.
The overall approach is to turn clinical governance requirements into repeatable system security tests, then modify only the missing controls in the Connexin relay. The experiment compares the baseline and hardened variants, and separately measures the relay's overhead relative to a direct route.
Governance requirements and attack mapping
- G1 Containment: Agents can reach other agents only through the mediator, and routing, message types, and recipients conform to role policy; A1 and A2 test direct connections, and A3, A4, and A11 test out-of-policy routing, types, and recipients.
- G2 Attribution: Actions must not be accepted or recorded as those of another agent, as replays of earlier actions, or as actions of an unidentified caller; this corresponds to A5 impersonation, A9 replay, and A12 publishing without credentials.
- G3 Non-interference: Agents must not read others' messages or mark them as processed; A6 reads the gateway mailbox, and A7 consumes its messages. G4 Protected oversight requires that agents cannot read the ledger or directly access external systems, corresponding to A8 and A10.
- Logging requirement: Regardless of whether an attempt is blocked, governance requires that rejected actions be recorded under the actual initiator, not merely the identity claimed in the request.
Connexin baseline architecture
- Network and components: The gateway is the only externally reachable component and authenticates external callers with a bearer token; the relay is the only component connected to multiple networks. The worker and reviewer each share a network only with the relay, and agents share no network with each other (Figure 1).
- Policy and auditing: The relay checks each agent's permitted recipients and message types against a capability registry; allowed messages are queued, and rejected messages are refused. Each decision is appended to a JSON-lines ledger with a timestamp and policy-decision time.
- Mailboxes and containers: Agents poll the relay mailbox every 0.5 s and acknowledge processed messages. Containers run as non-root, drop all Linux capabilities, and enable no-new-privileges, a read-only root filesystem, and memory, CPU, and process limits.
Five changes in the hardened relay
- Credentials determine identity: Each agent receives a random bearer token, and only the relay stores the mapping from token to agent name; if the token does not match the sender claimed in the message, publishing is rejected.
- Replay protection: Requests carry a nonce and timestamp; the relay rejects requests outside a 30 s window and nonces already seen within the window.
- Owner mailboxes and audit protection: Only the authenticated mailbox owner can read or acknowledge messages; the ledger and metrics require operator (gateway) credentials.
- Internal networks: All networks are created as internal networks, so containers have no internet route.
- Rejection logging: The ledger records both the caller's authenticated identity and claimed identity; the relay changes are about 80 lines of Python, with the policy registry, agents, and container settings unchanged.
Attack execution and success criteria
- Repetition protocol: Each of the 12 attacks is executed 100 times from within the worker container, tested separately for each variant. An attack counts as successful only if the attacker obtains the target result, for example a forged message is delivered, or the contents of another agent's message are obtained.
- Canary and ledger review: Before the attacks, a legitimate sender queues 100 canary messages to the gateway; after the attacks, the ledger is audited case by case to check whether the action was recorded and which agent it was attributed to.
- Statistics: Attack successes are reported as counts and Wilson 95% confidence intervals. Latency is reported as median and 95th percentile, with 2,000 bootstrap resamples giving 95% CIs for the median and for the paired relay-minus-direct difference.
Cost measurement design
- Handoff latency: For 1, 10, and 100 KB payloads, 1,000 relay–direct pairs are sent each, with random order within each pair, preceded by 20 warm-up pairs; the sender opens a new connection per request.
- Concurrency and end-to-end: 1, 4, and 16 concurrent senders share 400 1 KB messages, and throughput and per-request latency are reported. Separately, 200 messages are sent at 10 per second to compare delivery times for direct, relay with 0.5 s polling, and relay with 0.05 s polling.
- Resource conditions: The same host has 2 vCPU, 8 GB RAM, Linux 6.8.0-149-generic, and Docker 29.1.3; the relay is limited to 1 CPU and 512 MB, and each agent and direct receiver is limited to 0.5 CPU and 256 MB.
What experiments did the paper conduct?
The baseline passed G1 but failed all of G2–G4 and misattributed in the logs; hardening blocked all attempts, and performance tests also showed that polling dominates end-to-end latency.
Experimental setup
- Systems under test: Connexin baseline and hardened relay, each containing a gateway, relay, worker, and reviewer; the experiment has no LLM in the loop, the workload is synthetic data, and the attacker is a scripted compromised worker.
- Attacks and sample size: A1–A12 each 100 times per variant; A12 is marked n/a in the baseline because the baseline has no credential that can be omitted, so each variant has 1,100 applicable attempts in practice. Before the attacks there are also 100 canary messages sent to the gateway.
- Performance comparison: The direct receiver uses the same web framework and request model as the relay but performs no policy checks and writes no ledger; handoff has 1,000 pairs per row, concurrency has 400 1 KB messages per cell, and end-to-end has 200 per path.
- Metrics: Attack success counts and Wilson 95% CI; whether the ledger records and identity attribution; handoff median/p95 and paired relay−direct differences; throughput, request p95 latency, and end-to-end delivery time.
- Run conditions: The two variants run on the same host as separate temporary Docker Compose projects in an environment coexisting with other unrelated workloads, with no host ports; apart from the hardening changes, images, resource limits, and hardening flags are the same.
- Models and review: The paper runs no LLM and uses no LLM judge or human review; success is determined by whether the attacker achieves the target result, and the ledger is checked by the experimental suite.
Main results
Governance requirement and attack Baseline success/attempts Hardened success/attempts G1: A1, A2, A3, A4, A11 each 100 times each 0/100, total 0/500 each 0/100, total 0/500 G2: A5 impersonate reviewer to publish to gateway 100/100 0/100 G2: A9 replay a captured valid request 100/100 0/100 G2: A12 publish without credentials n/a 0/100 G3: A6 read gateway mailbox 100/100 0/100 G3: A7 acknowledge and consume gateway messages 100/100 0/100 G4: A8 read the full audit ledger 100/100 0/100 G4: A10 establish an internet connection 100/100 0/100 According to Table 1; the n/a for A12 is marked in the paper's original table.
- Overall results: The baseline blocked 500/500 G1 attempts, but all 600/600 G2–G4 attempts succeeded; hardened blocked all 1,200 attempts, including the 100 credential-less publishes not applicable to the baseline.
- Individual interval: The main text reports 100/100 success for baseline A5, 95% CI 96–100%; on this basis the authors consider containment necessary but insufficient to satisfy the remaining governance requirements.
- Authors' explanation: These successful attacks do not cross network boundaries, so neither network isolation nor validation suites that test only expected behavior can see them; the problem is that the relay trusts the sender in messages, provides the mailbox to any caller, and opens the ledger to all agents.
Whether the audit trail is faithful
- Impersonation records: Both variants recorded all relayed impersonation attempts, 100 each. In the baseline, 100/100 record the reviewer as sender and none record the worker; in hardened, 100/100 carry the worker's authenticated identity.
- Reads and acknowledgements: In the baseline, reads of others' mailboxes leave 0 ledger entries; 100 hijacked acknowledgements are recorded as ordinary acknowledgements, without recording which agent initiated them.
- Rejection records after hardening: Hardened records 100/100 and 100/100 entries for rejected mailbox reads and acknowledgements respectively, all attributed to the worker. The authors argue that trustworthy but wrong logs would lead incident review to attribute the worker's actions to the reviewer and its model, prompts, and data.
Cost of mediation and hardening
- Handoff: In Table 2, the paired relay−direct median difference for 1 KB is 0.29 ms [0.26, 0.33] for baseline and 0.53 ms [0.50, 0.55] for hardened; the baseline relay is slower in 76% of pairs. The corresponding differences for 100 KB are 0.23 ms [0.19, 0.27] and 0.43 ms [0.39, 0.46], with no failures across all 12,000 handoff requests.
- Concurrent throughput: In Table 3, at 16 senders relay throughput goes from 706 messages/s for baseline to 651 messages/s for hardened, and the authors report that hardening reduced it by 8%. Senders share the worker's 0.5 CPU limit, and the relay's CPU quota is twice that of the direct receiver, so the authors ask for comparison between the two variants rather than treating the numbers as path ceilings.
- End-to-end: In Table 4, the baseline direct median is 2.0 ms; the relay is 31.0 ms with 0.05 s polling and 265 ms with the 0.5 s polling actually used by agents. The authors consider polling the main end-to-end cost and propose that a push-based relay could remove most of this latency while retaining mediation.
Other ablations and analyses
- Payload analysis: In Table 2, the 10 KB paired relay−direct median difference is 0.29 ms [0.26, 0.32] for baseline and 0.52 ms [0.46, 0.56] for hardened.
- Run drift: The authors report that the direct route itself moved 0.24 ms between two runs, and using paired differences they calculate that hardening adds about 0.23 ms per handoff.
- Concurrency exception: In Table 3 at 16 senders, relay throughput is higher than direct; the authors explicitly attribute this to the relay's higher CPU quota and do not interpret it as the relay path itself being faster.
- Figure 2: The text coordinates show the x-axis as 1, 10, 100 KB and the y-axis as handoff latency (ms), with the legend distinguishing direct/relay and baseline/hardened; bars are median and whiskers are p95, and the specific values are according to Table 2.
What are some points that can be further explored?
The authors list boundaries such as scripted attacks, no LLM, and two agents on a single machine, and identify governance oversight simulation on attributable auditing as the next step.
Limitations and future directions noted by the authors
- System and attack scale: §8 Limitations explicitly states that the experiments involve only one host, one relay instance, and two agents, use synthetic payloads, and have no LLM in the loop; the attacker is a script, so the results define what a compromised agent can do, not what an LLM would choose to do.
- Concurrency comparison conditions: The same section notes that, per the deployment configuration, the relay has twice the CPU of the direct receiver (1 vs. 0.5 CPU), which favors the relay under concurrency, so throughput should be compared between variants, not between the relay and direct routes.
- Applicability conditions of absolute latency: The same section states that other workloads share the host; although both variants have identical conditions and handoff uses paired measurements, absolute latencies remain specific to that host.
- Credential protection boundaries: The same section notes that bearer tokens on the internal network protect against a compromised peer, not against an attacker able to read relay traffic or memory; the latter requires mutual TLS or signed messages, together with key rotation.
- Exfiltration and untested attack surface: The same section notes that removing the internet route only prevents direct exfiltration, and agents can still place data in messages that are allowed to be sent; content-level controls are out of scope. Container escape, attacks targeting the relay itself, and governance processes that would use the audit trail were also not tested.
- Future direction: §8 calls the last item the natural next step: with an attributable audit trail, clinical governance can be simulated in the same environment to test which oversight designs most quickly detect a failing or subverted agent.
Scope of experimental coverage
- Attack coverage: §6 and Table 1 cover the authors' defined A1–A12, 100 times per type per variant; A12 for the baseline is n/a, and the hardened variant executed 1,200 times in total.
- System coverage: The experimental subjects in §4 and §6 are the two Connexin relay variants and the two agents, worker and reviewer; there is no LLM in the loop, and the paper reports no tested LLM, model version, or LLM review.
- Performance coverage: Table 2 covers 3 payloads, 1,000 pairs per row; Table 3 covers 3 concurrency levels, 400 entries per cell; Table 4 covers 200 entries per path. The paper reports no independent repeated rounds for the attack experiments; the repetition unit is 100 attempts per attack type.
- Measurement environment: §6 explicitly states that both variants run on the same machine and the host has other unrelated load; handoff uses pairing and random order, and statistics use Wilson CI and 2,000 bootstrap resamples.
- Out-of-scope items: §8 explicitly lists container escape, attacks on the relay itself, content-level controls, and governance processes as not included in testing; these are the scope boundaries given by the authors.
Summarize the main content of the paper
Connexin experiments show that isolation can hold routing but cannot hold identity and auditing; credential-based hardening blocks the tested attacks, but the evidence is limited to a scripted environment without an LLM.
This is a system governance experiment for a clinical research multi-agent LLM pipeline: the authors test Connexin with a compromised worker, rather than only checking its normal functionality.
- Problem: Container network segmentation, relay routing policy, and a JSON-lines ledger appear to provide both role constraints and auditing, but clinical accountability requires that logs attribute faithfully; the authors break this requirement into G1 containment, G2 attribution, G3 non-interference, and G4 protected oversight.
- Method: The four requirements are mapped to A1–A12, with each attack executed 100 times per variant. The hardened relay derives identity from per-agent credentials, adds 30 s nonce/timestamp replay protection, owner-only mailboxes, operator-only audit data, and internal networks, and records both actual and claimed identity.
- Security results: In Table 1, the baseline blocks 500/500 G1 attempts, but 600/600 G2–G4 attempts succeed; the hardened variant blocks all 1,200 attempts, including publishing without credentials, which does not apply to the baseline.
- Audit results: In the baseline, 100/100 impersonation logs record the reviewer as the sender, mailbox reads leave 0 records, and 100 hijacked acknowledgments are written as ordinary acknowledgments; the hardened variant records the corresponding rejections under the worker's authenticated identity.
- Cost results: In Table 2, the 1 KB paired relay−direct median difference is 0.29 ms for the baseline and 0.53 ms for the hardened variant; Table 3 reports that with 16 senders, hardening reduces relay throughput by 8%. Table 4 shows that with 0.5 s polling, the baseline end-to-end median is 265 ms, versus 2.0 ms for direct.
- Authors' conclusion: The authors argue that verifiable agent identity, owner-scoped access, and protected audit data should be baseline requirements for clinical research multi-agent systems, not optional hardening; they also emphasize that the results come from a single machine, two agents, synthetic load, and scripted attacks, and cannot be used to infer that a real LLM would choose these behaviors.
Research lineage
6 foundations · 0 follow-ups in libraryNo later in-library follow-ups recorded yet.
Hover or focus a connected paper to inspect the citation context.