Q1: Is this CBOR item acceptable to the A2A operation?
Multiple ChoiceA decoder accepts a well-formed and valid CBOR text string. The A2A operation schema requires a map containing integer keys 1 and 2.
A decoder accepts a well-formed and valid CBOR text string. The A2A operation schema requires a map containing integer keys 1 and 2.
An A2A telemetry message is decoded only to data-model values; it is not hashed, signed by encoded bytes, or compared byte-for-byte. Its profile has not selected a deterministic encoding.
An attacker sends a CBOR map containing role twice: role=reader followed by role=admin. The gateway library keeps the first entry; the backend library keeps the last. The profile requires one unambiguous role value for authorization.
Two A2A implementations sign the CBOR-encoded request bytes after locally re-encoding the same map. One uses Section 4.2.1 core deterministic encoding; the other uses Section 4.2.3 length-first map ordering. The profile says only deterministic CBOR and requires identical signature inputs.
An unauthenticated A2A endpoint accepts well-formed CBOR. A 2 KB input can declare enormous lengths or deeply nest arrays until the decoder exhausts memory or stack. The requirement is bounded work before authentication.
An agent computes request_id=SHA-256(encoded CBOR). A gateway decodes and re-encodes the same data-model value using a different valid representation before sending it to the backend, which recomputes request_id. The profile requires semantically identical requests to have the same ID across this gateway.