The Fallback Group That Quietly Turns Your Agent Mesh Classical

The most common post-quantum misconfiguration in agent-to-agent fabrics is a key exchange list that offers the hybrid group first and plain X25519 second. In a pull request it looks like good practice, and it passes every reviewer. When one hop in the path can't handle the hybrid handshake, the mesh renegotiates down to classical, every health check stays green, and delegation tokens cross that hop with no post-quantum protection. You keep availability, lose the guarantee, and no alert fires.

Why reviewers approve it

The diff is reasonable on its face: a groups list of X25519MLKEM768 followed by X25519, usually with a comment calling it hybrid with graceful fallback. Reviewers read that as defence in depth, because TLS 1.3 negotiation picks the strongest common group and the fallback only ever applies to legacy peers. The flaw is that nothing records which branch actually ran. The decision moves out of the config file and into whatever peer, sidecar or load balancer answers the handshake on a given day. Static review checks intent, and this failure only appears at runtime.

What actually breaks

The hybrid key share is the concrete trigger: X25519MLKEM768 adds 1,216 bytes to the ClientHello, which pushes it past a single packet at a standard 1,500 byte MTU. Middleboxes, older L4 balancers and some service mesh proxies that assume a single-packet ClientHello either drop the fragmented hello or strip the unknown group. The client then retries with X25519 alone, and that retry is exactly what the fallback entry allows. The usual cause is a routine change somewhere else: a proxy image rollback, a new ingress tier in front of one agent pool, or a failover to a secondary region that was never rebuilt with an OpenSSL that has native ML-KEM support, which arrived in the 3.5 line. Within the fabric's own logic, the system is doing its job, because the failover worked. My estimate is that most teams hit this during a regional failover, since that is when traffic reaches the infrastructure that was tested least.

A check you can run before lunch

From a host inside the mesh, run openssl s_client from a 3.5 or later build against each agent endpoint with the groups option set to X25519MLKEM768 and nothing else, then grep the output for the line beginning Negotiated TLS1.3 group: a hop that cannot complete the handshake fails outright instead of degrading, so every failure is a hop where your fallback is live right now, and running the same loop against the secondary region's endpoints usually finds the ones your primary region hides.

Fail over the path, not the cryptography

The lasting fix keeps resilience and drops the silent degradation. Export the negotiated group as a label on the sidecar's handshake metrics and alert on any classical group among connections that carry capability tokens or delegation chains, because those stay valuable long after the session closes and are exactly what harvest now, decrypt later targets. The decision rule is simple: a hop that carries authority must refuse a classical-only group, and only health probes and anonymous telemetry may fall back. When a PQC hop fails, the mesh should route to another PQC-capable replica rather than renegotiate weaker keys, which means keeping spare post-quantum capacity in every failover target. As a rough estimate, that headroom costs less than one incident review. The trade-off you keep is a real outage when every PQC path is gone, and you should decide that deliberately, in advance, instead of finding out in a postmortem.

Can I just remove X25519 from the list everywhere?

Not until the handshake check passes against every endpoint, including failover regions and anything that terminates TLS in front of agents. Remove classical fallback first on hops that carry tokens, keep it on probes and telemetry, and widen enforcement as the failures from the check go to zero.

Back to A2AShield · Domains

← Back to A2AShield
Engineering & Architecture Brief

The Fallback Group That Quietly Turns Your Agent Mesh Classical

The most common post-quantum misconfiguration in agent-to-agent fabrics is a key exchange list that offers the hybrid group first and plain X25519 second. In a pull request it looks like good practice, and it passes every reviewer. When one hop in the path can't handle the hybrid handshake, the mesh renegotiates down to classical, every health check stays green, and delegation tokens cross that hop with no post-quantum protection. You keep availability, lose the guarantee, and no alert fires.

Why reviewers approve it

The diff is reasonable on its face: a groups list of X25519MLKEM768 followed by X25519, usually with a comment calling it hybrid with graceful fallback. Reviewers read that as defence in depth, because TLS 1.3 negotiation picks the strongest common group and the fallback only ever applies to legacy peers. The flaw is that nothing records which branch actually ran. The decision moves out of the config file and into whatever peer, sidecar or load balancer answers the handshake on a given day. Static review checks intent, and this failure only appears at runtime.

What actually breaks

The hybrid key share is the concrete trigger: X25519MLKEM768 adds 1,216 bytes to the ClientHello, which pushes it past a single packet at a standard 1,500 byte MTU. Middleboxes, older L4 balancers and some service mesh proxies that assume a single-packet ClientHello either drop the fragmented hello or strip the unknown group. The client then retries with X25519 alone, and that retry is exactly what the fallback entry allows. The usual cause is a routine change somewhere else: a proxy image rollback, a new ingress tier in front of one agent pool, or a failover to a secondary region that was never rebuilt with an OpenSSL that has native ML-KEM support, which arrived in the 3.5 line. Within the fabric's own logic, the system is doing its job, because the failover worked. My estimate is that most teams hit this during a regional failover, since that is when traffic reaches the infrastructure that was tested least.

A check you can run before lunch

From a host inside the mesh, run openssl s_client from a 3.5 or later build against each agent endpoint with the groups option set to X25519MLKEM768 and nothing else, then grep the output for the line beginning Negotiated TLS1.3 group: a hop that cannot complete the handshake fails outright instead of degrading, so every failure is a hop where your fallback is live right now, and running the same loop against the secondary region's endpoints usually finds the ones your primary region hides.

Fail over the path, not the cryptography

The lasting fix keeps resilience and drops the silent degradation. Export the negotiated group as a label on the sidecar's handshake metrics and alert on any classical group among connections that carry capability tokens or delegation chains, because those stay valuable long after the session closes and are exactly what harvest now, decrypt later targets. The decision rule is simple: a hop that carries authority must refuse a classical-only group, and only health probes and anonymous telemetry may fall back. When a PQC hop fails, the mesh should route to another PQC-capable replica rather than renegotiate weaker keys, which means keeping spare post-quantum capacity in every failover target. As a rough estimate, that headroom costs less than one incident review. The trade-off you keep is a real outage when every PQC path is gone, and you should decide that deliberately, in advance, instead of finding out in a postmortem.

Technical FAQ: Can I just remove X25519 from the list everywhere?

Not until the handshake check passes against every endpoint, including failover regions and anything that terminates TLS in front of agents. Remove classical fallback first on hops that carry tokens, keep it on probes and telemetry, and widen enforcement as the failures from the check go to zero.

Related Architecture Specifications (PQCECOSYSTEM): mldsasafe.com · mlkemprotocol.com · mlkemvault.com

More Technical Articles on a2ashield.com

The Autonomous AI Agent Threat Matrix: Prompt Injection, Model Poisoning, and Identity Spoofing →Autonomous Agent Economies: Smart Contract Escrow and Cryptographic Service Level Agreements (SLAs) →The hybrid group list that passes review and quietly downgrades your agent mesh →