Researchers propose a two-layer attestation scheme for multi-agent system outputs and delegation chainsAttesting Outputs and Delegation Ancestry in Multi-Agent AI Systems
Deployment-side two-layer proof compares three lineage designs: after subkey compromise, only co-signed DAG rejects unauthorized parent binding.
- After multi-agent delegation across independent deployment parties, credentials can indicate who can act, but they do not necessarily bind bytes released later, nor can they prove that the parent approved dynamically created edges after a subkey is compromised. Post-hoc investigation requires both types of evidence.
- Trusted deployment-party runtime signs hash of released bytes, does not detect prompt injection. Lineage layer compares signed linked list, Merkle chain variant, and co-signed DAG: cross-deployment edges require parent and child to sign the same edge list; if parent is offline or refuses, delegation fails closed.
- With uncompromised keys, signed parent commitments reject intermediate node splicing, while independent node signatures do not. After sub-key compromise, hash chains and Merkle accept arbitrary parent binding; the co-signed DAG rejects it. Across 27,000 fixed mutations, no invalid presentation is accepted. In live runs, all 30 co-signed tasks pass full verification, and controlled claims with only the sub-key are rejected.
- The authors state Merkle partial path proofs were not evaluated; compromised runtimes, open registries, endpoint collusion, streaming order, and prompt injection defenses are outside the model. Experiments cover a fixed mutation matrix, loopback E12, and 1,000 valid co-signed paths on three-zone AWS; cloud numbers exclude TLS/mTLS, KMS, and model serving latency.
- Benchmarks
- 固定对手矩阵 B1–B5LangGraph 1.2.6 StateGraphE12 MCP/A2A/Ollama 现场工作流E10 进程分离E11 容器E11–AWS 三可用区
- Metrics
- 无效呈现接受数Wilson 95% 上界谱系核验时延签发时延完整核验时延端到端时延
The researchers propose a two-layer attestation design for multi-agent systems to answer two questions after an incident: which deployer published the reported bytes, and whether each cross-deployer edge was authorized. The design does not rely on a shared authority, public logs, or pre-agreed workflows. A trusted deployer runtime signs a hash of each published output and records edge authorization with chain evidence. Under a unified threat model, the authors compare three schemes: signed hash chains, Merkle chain variants, and co-signed DAGs. After a sub-key compromise, the single-signature design allows unauthorized parent binding, while the co-signed DAG rejects it because the parent must authorize the edge. On an Apple M1 Pro, chain-only checks take 24.3–499.2 microseconds per hop. In a local multi-service workflow, the parent discovers the child's A2A Agent Card, the child calls an MCP tool and publishes local LLM output; all 30 signed DAG tasks pass full verification, controlled claims with only the sub-key are rejected, and average end-to-end latency is 813.1 ms versus 770.8 ms without evidence.
Paper analysis
What problem does this paper attempt to solve?
Ex post, one must reconcile the deployment side that took over the bytes, and whether each cross-deployment-side edge was authorized by the parent.
After dynamic cross-deployer delegation, one must verify which deployer emitted these bytes and whether each cross-deployer edge was authorized by both parties.
- Scenario: The authors state agents traverse independently operated deployers via multi-hop delegation. After an incident, one must answer which deployer emitted these exact bytes and whether the parent deployer authorized this edge. This is a post-hoc evidence question, not an assertion about agent behavior.
- Gaps: The authors state credentials record subject and permissions at issuance, not necessarily binding later outputs or providing a complete authorization path. G1: Credentials do not witness bytes emitted later at runtime. G2: After sub-key compromise, a child's signature on a new parent reference does not indicate the parent approved the relationship.
- Observation: The authors argue the two gaps require two layers of independently verifiable evidence, not stronger credentials. Verifiers may lack a shared authorization service, public logs, or pre-committed workflows, and must decide based on the presented path.
- Approach: Propose deployer-side two-layer proof, comparing signed hash chains, Merkle chain variants, and co-signed DAG (SIGNED-DAG). The runtime signs hashes of emitted outputs; lineage records edge authorization. The authors state the primitives are standard; the contribution is deployer-side binding and the evidence required in this setting.
- Threat model:
- Objectives: O1 reject output substitution and replay (verifier has persistent nonce state); O2 reject malformed, truncated, or spliced lineage; O3 reject new cross-deployer edges not authorized by the parent when a single child deployer key is compromised. Not preventing malicious instructions, not judging output safety, not enforcing application policy.
- Adversary: Can control tool responses and agent behavior, observe public keys and verifier source code, replay or modify evidence in transit, and construct arbitrary structural payloads. Cannot forge signatures under uncompromised keys, find collisions or preimages defeating hash binding, compromise trusted runtimes, or self-register deployers.
- System and trust: Deployers host agents and control signing keys, issuing delegation records when calling another agent. Consumers verify the presented root-to-leaf path. Trust the runtime to sign faithfully, private keys, the admission registry, and the verifier; agents, tools, transport, and supplied chain documents may be untrusted (Table II). Prompt injection defenses are out of scope (Table III).
What related research exists?
The authors position this paper on post-hoc byte binding and bilateral edge authorization, and compare with AIP, HDP, and MemLineage.
Related work is grouped by authorization and behavior evidence, delegation lineage, provenance chains, and contemporaneous identity protocols.
- Agent authorization and behavior evidence: Greshake et al. (2023) discuss indirect prompt injection altering behavior after authorization checks. Chan et al. (2024) mark behavior verification as a missing capability. The authors state that a high probe AUC does not by itself establish malicious content detection. MCP standardizes tool and context exchange; A2A specifies protocol-level authentication and authorization for inter-agent communication. The authors state that deployer-side binding only records emitted bytes, neither judging semantic safety nor preventing their generation.
- Delegation and audit primitives: W3C DID and Verifiable Credentials provide single-hop primitives. The IETF agent audit architecture records delegation transfer in a broader interoperability framework (Kuehlewind and Birkholz, cited as an in-progress Internet-Draft). South (2025) addresses authenticating delegated permissions to agents. Llambí-Morillas and Fernández-Fernández (2026) formalize evidence that a specific request satisfies policy in an execution context. The authors state this paper is narrower: binding emitted bytes and indicating which signatures are needed for cross-deployer edges after sub-key compromise; the evidence can feed the above authorization and audit layers.
- Provenance and chain integrity: in-toto (Torres-Arias et al., 2019) verifies pre-committed software supply chain layouts. SPIFFE/SPIRE issue workload identities from registered trust domains and support update propagation. The authors state this paper creates delegation on demand between independently operated deployers, without public logs or pre-declared graphs.
- Contemporaneous protocols and complementary controls: AIP uses append-only capability tokens and an optional, agent-signed final result hash; Table I notes this optional hash is not counted as deployer-side binding. HDP excludes key compromise. MemLineage targets memory integrity. Mandato targets pre-action policy compliance. Information flow control handles compromised behavior. JWT and OAuth express signed claims and delegated permissions; the authors state they do not by themselves bind later bytes to credentials or establish a full lineage path.
- Baselines and comparison objects: Experiments compare NO-CHAIN, HASH-ONLY, NAIVE-SIG, signed hash chains, Merkle chain variants, and SIGNED-DAG. The evaluation is not a public benchmark run but fixed structure mutations, LangGraph 1.2.6, process/container/three-zone AWS, and live workflows with MCP, A2A, and local LLMs. Table I compares AIP, HDP, and MemLineage on attributes: the authors mark deployer-side output binding, comparative chain analysis, parent edge co-signing, sub-key compromise analysis, and structural verification tests as present in this paper and absent in the three (HDP's sub-key item is marked Excluded).
- Positioning: The authors target post-hoc evidence, i.e., emitted bytes, and bilateral deployer authorization of an edge. They state the distinction lies in deployer-side binding and which construction requires parent consent after sub-key compromise.
How does the paper address this problem?
Runtime signs released bytes; cross-deployment edges are co-signed by parent and child, and single-signature construction does not require parent consent.
Two layers of evidence separately answer two ex-post questions: Layer 1 binds deployment-side runtime-released bytes, Layer 2 compares lineage constructions, with co-signed DAG across deployment-side edges.
System model and structural attacks
- Roles: A principal delegates tasks to agents operated by deployment sides DA, DB, …. Deployment sides host agents, hold signing keys, and issue delegation records when invoking another agent. A record contains issuer, child instance, proposed parent, declared depth, expiry, nonce, and evidence construction. The prototype has no separate global chain_id; chains are root-to-leaf paths presented in order.
- Two evidence types: Output evidence binds deployment-side credentials to bytes released at runtime. Lineage evidence binds each delegation record to its parent; cross-deployment-side edges may require both ends to approve. O1–O3 cover only ex-post evidence.
- Structural attacks: B1 orphan insertion, B2 intermediate-node deletion and reconnection, B3 cross-chain transplant, B4 ancestor modification after existing children. B5 sibling fan-out creates multiple valid children under a valid parent and requires a signed child cap plus verifier state, not a stateless cryptographic predicate (Table III). Truncation is handled by signed depth, replay by nonce and expiry, output substitution by signed hash.
Output attestation (Layer 1)
- Placement: The deployment side binds after runtime produces output, before delivery or further delegation. Agents hold neither signing keys nor fill signed fields.
- Record: A versioned record contains instance and system identifiers, deployment-side name, creation and expiry times, parent reference, declared depth, chain proof, SHA-256 output_hash, 128-bit nonce, signed binding_scope, lifecycle metadata, and optional policy fields. The envelope additionally carries a key_id derived from the public key. The deployment side signs the full record's deterministic, recursively sorted JSON with Ed25519 as the primary signature.
- Verification: Resolve the deployment side in a trusted local registry, check key_id match and non-revocation, verify the primary signature and validity period, and recompute the hash over the exact bytes supplied by the consumer. Reject duplicate nonces within the same presented chain; if persistent nonce storage is provided, also reject nonces previously consumed by that verifier.
- Granularity: The schema can sign per_session, per_turn, per_tool_call, per_n_tokens, but the prototype does not implement session identifiers, segment indices, tool-call identifiers, or streaming-order verifiers. The authors state that if a trusted runtime signs attacker-directed output, the record only truthfully attests to that fact.
Three lineage constructions (Layer 2)
- Criteria: R1, bind a node to its parent when keys are uncompromised, making B1–B4 detectable; R2, consumers can verify the full path without a public log; R3, a child from another deployment side claiming a cross-deployment-side parent must have parental consent. The authors state R3 is the differentiator under key compromise.
- Signed linked list: prev_hash is the SHA-256 of the parent record's canonical JSON; the issuer's signature covers the full record containing that field. The authors state it satisfies R1 and R2 while the relevant keys remain secret, with one hash and one signature check per hop; it does not satisfy R3, as a child can point to any publicly visible parent record.
- Merkle chain variant: Replace the per-hop parent commitment with the Merkle root of the current lineage prefix, with leaves as canonical node representations. The authors state full-path verification adds only one consistency check and introduces no additional authorizing principal; a compromised child can recompute affected roots and sign new nodes, so it also does not satisfy R3. The authors state it is included because it is often suggested for provenance attestation.
- Co-signed DAG: Cross-deployment-side edges are signed by both parent DA and child DB over the same domain-separated canonical edge list. The child signature indicates DB accepts the delegation; the parent signature indicates DA authorizes this edge. Same-deployment-side edges need only a local signature. The parent must be online when creating an edge; refusal or counter-signature timeout closes the delegation as failed. Deployment sides may represent same-deployment-side hops with a linked list and queue cross-deployment-side requests. The in-process test harness centralizes access to co-signers; process, container, and AWS experiments exercise remote signer RPC separately.
- Edge binding: τ = Canon(domain, SHA256(Canon(vA)), v̄B). v̄_B is the child record with the signature list being generated emptied, to avoid signature cycles; τ binds the parent receipt digest and remaining child fields, and the child's primary signature then seals the completed record. The domain label prevents an edge signature from being reinterpreted by another protocol.
Integrity, registry, and cryptographic instantiation
- Depth and lifecycle: Each record contains a signed ancestry_depth; records are rejected if the count and declared depth disagree. Nonces prevent the same verifier from reusing a record. Co-signed edges place construction identifier, co-signer set, and child nonce in the edge list; there is no separate edge nonce. Lifecycle events are new, reload, branch, composite, fine_tune; the authors state the current evaluation does not claim a completed lifecycle-semantics audit.
- Registry: A local authorized public-key table resembles a TLS trust store and can be revoked locally. The authors state production key rotation, persistent distributed revocation propagation, and cross-verifier replay storage are not implemented. The authors state the protocol does not protect an open ecosystem where attackers can register deployment sides themselves.
- Cryptography: Ed25519 and SHA-256 are implementation choices. The analysis uses strong unforgeability under chosen messages and hash collision resistance (and preimage resistance where needed). The prototype serialization is deterministic within the prototype but is not full RFC 8785/JCS. The authors give an edge authorization game: an adversary holding one child key wins if it can make a verifier accept a cross-deployment-side edge not signed by an uncompromised parent. The authors state that under Ed25519 SUF-CMA and SHA-256 collision resistance, SIGNED-DAG's win probability is negligible; linked list and Merkle have win probability 1 when the compromised party is the child endpoint.
What experiments did the paper conduct?
After sub-key compromise, only the co-signed DAG rejects arbitrary parent binding; all 27,000 invalid presentations are rejected.
Experimental Setup
- Platform: Unless otherwise noted, MacBook Pro, Apple M1 Pro (6 performance cores, 2 efficiency cores), 16 GB unified memory, macOS 15.7.4; Python 3.11, cryptography ≥ 42, Ed25519, deterministic local JSON (not full JCS).
- Constructions and matrices: NO-CHAIN, HASH-ONLY, NAIVE-SIG, LINKED-LIST, MERKLE, SIGNED-DAG. The current revision runs 1,000 trials per design–attack pair. Unexpected verifier exceptions abort the experiment and are not counted as rejections.
- LangGraph: 1.2.6 StateGraph, three-node Planner → Researcher → Writer, with Writer on the second deployment party; deterministic outputs, no LLM client; signature hook is linked list.
- Local and cloud: E12 is three loopback-only processes: parent signer, child A2A JSON-RPC agent, MCP Streamable-HTTP tool; child text generated by Ollama llama3.1:latest with temperature zero. E11–AWS is three Amazon Linux 2023 t3.small instances in different availability zones: parent signer, child signer, public-key-only coordinator.
- Metrics: Structural presentation is accepted or rejected; zero-acceptance cells report Wilson 95% upper bound. Latency includes lineage-only check, signing, full verification, and end-to-end. Table VII notes that controlled child-key-only claims are not attack success rate estimates.
- Historical activity: Table IV marks LLM-guided structural activity as Historical, targeting linked lists, not rerun after the current edge revision. The authors state that prompts, variants, or revision metadata are missing, and this is only exploratory context.
Main Results
Verification results under subkey compromise and collusion are according to Table VI (linked list and Merkle are reported combined in that table):
Compromised party and target Linked list / Merkle SIGNED-DAG Child DB, bind arbitrary parent Accept Reject Parent DA, rewrite parent after child reference appears Reject Reject Same deployment party, rewrite entire suffix Accept Accept Both endpoints, forge cross-deployment edge Accept Accept - The authors state the distinguishing point is whether the parent signs the edge. Figure 2 also marks that all three designs accept same-party suffix rewrites; only the co-signed DAG rejects arbitrary cross-deployment parent binding. Figure 1 marks child-only signatures as ACCEPT when σA is missing, and SIGNED-DAG as REJECT.
- Without compromised keys (Table V, ✓ indicates attacker can construct accepted chain): NO-CHAIN and HASH-ONLY are ✓ on B1–B5. NAIVE-SIG is ✓ on B2, B5, and rejects on B1, B3, B4. Linked list, Merkle, and SIGNED-DAG reject B1–B4; B5 is marked as rejected under the signature's max_children policy and verifier state. The authors state that independent node signatures cannot detect middle concatenation, and signed parent commitment is the minimal additional evidence for that case.
- The authors state that Table VI only covers edge creation, not policy-semantic authorization, revocation freshness, and both-endpoint collusion. A note states that the child's signature commitment to the original parent anchors the original parent, so rewriting an existing parent reference after the parent key is compromised is rejected.
Fixed Mutation Compliance
- What was tested: Lineage-only for 3 designs × B1–B5 × 1,000; combined receipt for 3 designs × B1–B4 × 1,000, checking main signature, key_id, expiry, output hash, and nonce. B5 only exercises the local fan-out detector in lineage-only mode (Figure 3, Table IV).
- Results: All 27,000 mutations rejected. Each design–attack cell 0/1,000, Wilson 95% upper bound 0.38%; Figure 3 also aggregates to 0/3,000 across the three designs. B5 for combined receipt is marked N/A.
- Author interpretation: The authors state this is not an empirical security bound; under Section III assumptions, a successful edit implies a predicate omission or incorrectness. Section III-E states that adaptive and lifecycle activity tests check whether the implementation executes the stated predicates, and do not empirically verify Ed25519 or SHA-256; Section VI-C states that the corresponding archive summary is not verification of the revised implementation.
Latency and Field Workflows
- Lineage-only: Depth 5, 1,000 trials, means: linked list 24.3 µs, Merkle 72.7 µs, SIGNED-DAG 499.2 µs. The authors state this does not include main receipt checks and is not full verification cost; co-signed numbers include verification of the revised full child edge list. The paper does not report serialized sizes for the previous edge format.
- LangGraph: 1,000 executions after 100 warm-ups, each three-node chain passes combined verification. Signing mean 0.171 ms/node (p95 0.214 ms), or 0.512 ms/task (p95 0.663 ms); receipt–chain verification mean 0.832 ms (p95 1.013 ms). The authors state this is local protocol overhead, not model serving latency, and omits SIGNED-DAG's online co-signing handshake.
- E12 and AWS: Table VII, 10 warm-ups and 30 tasks per condition, condition order rotated, tool evidence and prompts fixed. No evidence: 30/30, end-to-end 770.8/846.0 ms, 0 bytes, child-key-only claim unauditable. Linked list: 30/30, 826.2/941.1 ms, 1,868 bytes, accepts the claim. SIGNED-DAG: 30/30, 813.1/927.7 ms, 2,096 bytes, rejects the claim, and no task aborts. The authors state the co-signed mean is 42.3 ms (5.5%) higher than no evidence; its LLM generation mean is 681.3 ms, child signing 11.6 ms, full verification 16.7 ms, and evidence is 228 bytes more than linked list. The linked list end-to-end mean is higher than co-signed (826.2 ms vs. 813.1 ms), and the authors do not explain that ordering. AWS, in 100 warm-ups and 1,000 trials, all paths pass with no aborts; signing mean 3.651 ms (p95 4.384 ms), full verification 5.015 ms (p95 6.642 ms). Persistent replay, unregistered parents, and revoked child keys are rejected; parent refusal aborts signing. The authors state these numbers exclude TLS/mTLS, KMS signing, model client, and production authorization service latency.
Other Ablations and Analysis
- E10 (spawn/Pipe) and containerized E11: each verifies 1,000 dual-signer paths; no latencies given in the text, stating traces remain in the artifact.
- Same-party full-suffix rewrite and both-endpoint collusion forging edges: Table VI shows both linked list/Merkle and SIGNED-DAG accept.
- Output ordering and sessions: Table III marked as Not implemented, requiring signed sequence fields.
- Historical LLM summary: The authors state it is not current security evidence (Table IV, Section VII).
- Canonical encoding: Table III marks deterministic local serialization as Prototype scope, not JCS.
What are some points that can be further explored?
The authors place partial path proofs, open registries, endpoint collusion, streaming order, and prompt injection protection outside the model.
Limitations and Future Directions Noted by the Authors
- Partial path proofs: Merkle commitments can support partial path proofs, which the authors state were not evaluated (Section VII).
- Measurement boundaries: LangGraph uses deterministic outputs. E12's loopback services are separate deployment-party trust domains, not independent organizations or AWS accounts; public network latency, TLS/mTLS, OAuth, KMS, or production authorization service latency were not measured (Section VII).
- Archive summary: The archived LLM-generated summary is not current security evidence (Section VII).
- Beyond the model: Compromised runtimes, open registries, cross-verifier replay protection, production key rotation protocols, endpoint collusion, streaming order semantics, LLM quality, and application policy enforcement remain outside the model (Section VII).
- Not prompt injection protection: The conclusion states the construction supports post-hoc audit and attribution, not prompt injection protection (Section VIII).
Experimental Coverage
- Current deterministic checks cover B1–B5 (lineage-only) and B1–B4 (combined receipt) for three lineage designs, 1,000 per cell; expected results without compromised keys also include NO-CHAIN, HASH-ONLY, NAIVE-SIG (Table IV, Table V, Figure 3).
- LangGraph 1.2.6 is 1,000 three-node executions after 100 warm-ups, signature hook is linked list, outputs deterministic and no LLM client, without SIGNED-DAG online co-signing (Section VI-D).
- E12 uses Ollama llama3.1:latest, temperature zero, 10 warm-ups and 30 tasks per condition; parent discovers child Agent Card, child calls MCP tool then releases local model text (Section VI-D.a, Table VII).
- Process-separated E10, container E11, and three-availability-zone AWS each verify 1,000 valid dual-signer paths; AWS latency excludes TLS/mTLS, KMS, and model serving (Section VI-D, abstract).
- The paper does not report prompts, variants, and revision metadata for historical LLM activity, nor does it give latencies for E10 and container E11 in the text. Section V-E states the current evaluation does not claim a complete lifecycle semantic audit. Output ordering and session verification are marked as not implemented in Table III.
Summarize the main content of the paper
Two-layer proof records released bytes and edge authorization; after subkey compromise, only co-signed DAG rejects unauthorized parent binding.
Deployment-side two-layer proof, used to answer two post-hoc questions after multi-agent cross-deployment delegation: who released these bytes, and does this cross-deployment edge have parent authorization.
- Problem: Credentials record subject and permissions at signing time, do not bind later runtime outputs; after subkey compromise, a parent reference signed only by the child cannot show parent consent. The authors define this as evidence gaps G1, G2, and state the construction is not prompt injection protection.
- Method: Trusted runtime signs SHA-256 of released bytes and deployment metadata with Ed25519. For lineage, signed linked list and Merkle chain variant authorize an edge only by the child deployment party; SIGNED-DAG requires parent and child to co-sign a domain-separated edge list, failing closed if parent is offline or refuses. Same-party edges require only local signing.
- Security results: Without compromised keys, signed parent commitment can reject middle concatenation, while NAIVE-SIG, which signs only the node's own identity, cannot (Table V). After child key compromise, linked list and Merkle accept arbitrary parent binding, SIGNED-DAG rejects (Table VI, Figure 2). Same-party suffix rewrites and both-endpoint collusion forging edges are accepted by all three designs.
- Implementation and overhead: 27,000 fixed mutations are all not accepted (0/1,000 per cell, Wilson 95% upper bound 0.38%). Depth-5 lineage-only means range from linked list 24.3 µs to co-signed DAG 499.2 µs. In E12, 30 co-signed tasks all pass full verification, end-to-end mean 813.1 ms, no-evidence path 770.8 ms; controlled child-key-only claims are rejected, while linked list condition accepts. On three-availability-zone AWS, 1,000 valid co-signed paths all verify, full verification mean 5.015 ms, excluding TLS/mTLS, KMS, and model serving.
- Author conclusion: The authors state that a single trust domain can use linked list; to resist unauthorized cross-deployment edges after subkey compromise, parent co-signing of the full edge list is needed. The construction makes outputs and delegation paths auditable, does not prevent agent compromise, and does not judge whether outputs are safe.