The hybrid group list that passes review and quietly downgrades your agent mesh

A TLS group list that reads X25519MLKEM768 followed by X25519 looks like post-quantum protection with a safety net. In an agent-to-agent fabric it is usually a silent downgrade path. When a single peer, sidecar or proxy stops offering the hybrid group, the handshake falls back to classical X25519 and no log line reports it. Reviewers approve it because every line is correct on its own.

Why the fallback gets merged

The classical group is rarely added out of carelessness. A hybrid key share carries an ML-KEM encapsulation key that makes the ClientHello larger than some middleboxes and older load balancers will forward in one piece. The first rollout then hits handshake timeouts on a few paths, and somebody appends X25519 to get traffic flowing again. The diff is one line, the tests pass because the test peers speak both groups, and the reviewer sees the PQC group listed first. Nobody reviews the runtime outcome, which is the group each pair of agents actually negotiated after the fabric has run for a week. A capability token or delegation chain sent over that channel may carry an ML-DSA signature, following NIST's post-quantum standards for signatures and key establishment, but the session key protecting it in transit can be recorded today and decrypted later.

Check it now

Pick any host that holds a valid agent client certificate and run openssl s_client against a peer endpoint. You need OpenSSL 3.5 or later, the first release with native ML-KEM support. Pass the agent certificate and key, and limit the offer with `-groups X25519`. If the handshake completes and the negotiated group line shows X25519, that endpoint accepts a classical-only session from an authenticated agent, which is the plainest form of the downgrade. Run it again with `-groups X25519MLKEM768` to confirm the hybrid path works at all. An endpoint that fails this second test but passed the first has been running classical all along. Script both tests across your service registry and you get an inventory in minutes instead of a postmortem months from now.

Degrade on purpose, not by accident

The fallback itself is defensible. When a PQC-capable component fails, the fabric should keep agents talking instead of halting a workflow. The decision rule is to treat a classical negotiation as an explicit degraded state. Cap it at a window of 900 seconds per agent pair, emit it as a metric labelled with both identities, and enforce policy so that no delegation or capability token with write scope is issued over a session that negotiated a classical group. Inside the window, read paths stay up while privileged paths wait. Once the window closes, the connection is refused and the alert escalates, so someone has to fix the middlebox or the stale library before the exception quietly becomes the configuration.

The same bug one layer up

Signatures follow the same pattern: an attestation verifier that accepts ECDSA when the ML-DSA check throws an error is the same mistake one layer up, and it deserves the same test.

Won't refusing classical sessions break agents on old runtimes?

Yes, and you want that information. Every refusal names a runtime that needs an upgrade, and the time-bounded window keeps its read access alive while the owner ships the fix.

Back to A2AShield · Domains

← Back to A2AShield
Engineering & Architecture Brief

The hybrid group list that passes review and quietly downgrades your agent mesh

A TLS group list that reads X25519MLKEM768 followed by X25519 looks like post-quantum protection with a safety net. In an agent-to-agent fabric it is usually a silent downgrade path. When a single peer, sidecar or proxy stops offering the hybrid group, the handshake falls back to classical X25519 and no log line reports it. Reviewers approve it because every line is correct on its own.

Why the fallback gets merged

The classical group is rarely added out of carelessness. A hybrid key share carries an ML-KEM encapsulation key that makes the ClientHello larger than some middleboxes and older load balancers will forward in one piece. The first rollout then hits handshake timeouts on a few paths, and somebody appends X25519 to get traffic flowing again. The diff is one line, the tests pass because the test peers speak both groups, and the reviewer sees the PQC group listed first. Nobody reviews the runtime outcome, which is the group each pair of agents actually negotiated after the fabric has run for a week. A capability token or delegation chain sent over that channel may carry an ML-DSA signature, following NIST's post-quantum standards for signatures and key establishment, but the session key protecting it in transit can be recorded today and decrypted later.

Check it now

Pick any host that holds a valid agent client certificate and run openssl s_client against a peer endpoint. You need OpenSSL 3.5 or later, the first release with native ML-KEM support. Pass the agent certificate and key, and limit the offer with `-groups X25519`. If the handshake completes and the negotiated group line shows X25519, that endpoint accepts a classical-only session from an authenticated agent, which is the plainest form of the downgrade. Run it again with `-groups X25519MLKEM768` to confirm the hybrid path works at all. An endpoint that fails this second test but passed the first has been running classical all along. Script both tests across your service registry and you get an inventory in minutes instead of a postmortem months from now.

Degrade on purpose, not by accident

The fallback itself is defensible. When a PQC-capable component fails, the fabric should keep agents talking instead of halting a workflow. The decision rule is to treat a classical negotiation as an explicit degraded state. Cap it at a window of 900 seconds per agent pair, emit it as a metric labelled with both identities, and enforce policy so that no delegation or capability token with write scope is issued over a session that negotiated a classical group. Inside the window, read paths stay up while privileged paths wait. Once the window closes, the connection is refused and the alert escalates, so someone has to fix the middlebox or the stale library before the exception quietly becomes the configuration.

The same bug one layer up

Signatures follow the same pattern: an attestation verifier that accepts ECDSA when the ML-DSA check throws an error is the same mistake one layer up, and it deserves the same test.

Technical FAQ: Won't refusing classical sessions break agents on old runtimes?

Yes, and you want that information. Every refusal names a runtime that needs an upgrade, and the time-bounded window keeps its read access alive while the owner ships the fix.

Related Architecture Specifications (PQCECOSYSTEM): fips203ready.com · mlkemcert.com · mlkemsec.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) →