Visual RFC.
ALL RFCs / RFC 7464
Read the RFC ↗
RFC 7464 / JSON TEXT SEQUENCES

Keep recovery separate from trust

05

Different parsing strategies can expose different results; record framing provides no cryptographic integrity.

RFC 7464 · § 3EXAMPLE
3 / 3
Keep recovery separate from trustOne candidate contains string foo followed by 456. An incremental parser might return foo, while a whole-candidate parser might reject it. These are possible outcomes; neither framing nor recovery supplies integrity.The same bytes can expose different resultsPossible parser outcomes from RFC 7464 §3RS "foo" LF 456 LF RSOne candidate between the RS bytesincrementalMay yield "foo"Skip later bytes;possibly warnwhole candidateMay rejectNot one JSON textFraming provides no cryptographic integrity
03
A whole-candidate parser may reject it.

The entire candidate is not one JSON text. Different outputs expose a security boundary; no integrity guarantee follows.

Source for this drawing: RFC 7464 · Read RFC section 3 ↗

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Terms in this drawing
Canonical representation
One uniquely defined textual form; this format does not provide one.
Integrity protection
A way to detect unauthorized changes; record separators do not provide it.
Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

KEY POINT

Treat input as untrusted even when recovery succeeds.

  • All JSON security considerations apply. Parsers must fail gracefully on malicious input; this framing format provides no cryptographic integrity protection.
  • With RS "foo" LF 456 LF RS, an incremental parser might produce "foo" and skip the rest, while a parser requiring the entire candidate to be one JSON text might reject it. The RFC presents both possible outcomes, not a required universal acceptance rule.
  • Ignored parse failures and these differences can smuggle data past parsers that do not warn. Repeated parsing and re-encoding can add or strip trailing LF bytes and break signature validation. Neither JSON nor this sequence format defines a canonical text representation.
DETAILS

The drawing compares two possible parsing strategies for the same bytes. It does not call one result authenticated, prescribe a signature scheme or claim that warnings alone prevent every attack. Boundary detection, JSON parsing, application policy and integrity checks are separate concerns.

Read the RFC section ↗

All chapters in RFC 7464

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗