Subscribe to the Non-Human & AI Identity Journal

Flight protocol

The Flight protocol is the data transport React uses to move component information between client and server in React Server Components. It is security-sensitive because the server must parse structured input that can influence execution flow if validation is weak or assumptions about origin are wrong.

Expanded Definition

Flight protocol is the internal transport format React uses to carry server component data between the server and the browser during React Server Components rendering. It is not a general web standard, and usage in the industry is still evolving, so teams should treat it as a framework-specific serialization channel rather than a public application protocol. In practice, the risk is not the name itself but the fact that the server must parse structured input and reconcile it with component state, routing, and execution flow. That makes boundary validation, origin assumptions, and deserialization safety central concerns. The right mental model is closer to a privileged control plane than a passive response payload, which is why governance should align with NIST Cybersecurity Framework 2.0 principles for secure data handling and integrity.

The most common misapplication is treating Flight payloads as trusted framework internals, which occurs when server logic assumes only legitimate React clients can generate them.

Examples and Use Cases

Implementing Flight protocol rigorously often introduces stricter parsing and compatibility constraints, requiring organisations to weigh rendering flexibility against the cost of tighter validation and testing.

  • Server Components stream pre-rendered UI fragments to the browser, with Flight carrying the component references and props that React reconciles during hydration.
  • A platform team inspects malformed Flight payloads to confirm that unexpected fields, nested objects, or altered component references are rejected before execution paths are influenced.
  • A security review maps a React Server Components deployment against guidance from NHI Mgmt Group to understand how backend trust assumptions can be abused when service boundaries are too loose.
  • An application developer uses signed requests, input schema checks, and origin enforcement so that only intended server-side rendering flows can construct the data sent over Flight.
  • During incident analysis, defenders compare a suspicious React server interaction to cases like the Schneider Electric credentials breach to reason about how trusted automation paths can become attack surface when controls are weak.

Why It Matters in NHI Security

Flight protocol matters in NHI security because modern React applications often rely on service accounts, API gateways, deployment bots, and server-side automation that sit behind the transport path. If the protocol boundary is misunderstood, attackers may exploit overly permissive server logic, trigger unintended data fetches, or influence privileged backend actions through crafted component traffic. That turns a UI transport concern into an identity and authorization concern, especially where secrets, tokens, or build-time credentials are available to rendering services. NHI Mgmt Group research shows that 96% of organisations store secrets outside of secrets managers in vulnerable locations, which amplifies the impact when a server component path becomes exposed. Defenders should therefore treat Flight as part of the trust boundary around automated identity execution, not just frontend plumbing. Organisational risk typically becomes visible only after an application leaks privileged backend data or behaves unexpectedly under malformed requests, at which point Flight protocol becomes operationally unavoidable to address.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST Zero Trust (SP 800-207) and NIST AI RMF set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Agentic AI Top 10 Covers framework-driven request handling risks where structured inputs can influence execution.
OWASP Non-Human Identity Top 10 NHI-02 Highlights secret and trust-boundary weaknesses that affect server-side transport paths.
NIST CSF 2.0 PR.DS-1 Addresses protection of data in transit across internal application trust boundaries.
NIST Zero Trust (SP 800-207) SC-7 Applies zero trust segmentation to internal application flows that should not be inherently trusted.
NIST AI RMF MAP Requires inventorying and understanding system inputs that can affect automated behavior.

Treat Flight payload handling as a privileged boundary and restrict any secrets exposed to rendering services.