← Lab /Software

Parametric information flow unifies confidentiality, integrity, and downgrading in one framework

A modal type system can simultaneously enforce full non-interference and robust downgrading without extra extensions

Software arXiv 20 Jul 2026 Theory Theory

Published as “The Duality of Information Flow: Reconciling Robust Downgrading with Non-Interference”

Why it matters

The result suggests that practical, full-spectrum information-flow languages can be built without sacrificing the strongest non-interference guarantees, simplifying the design of secure programming languages.

Summary

The paper shows that robust downgrading can be achieved without weakening non-interference by using a single framework based on the open and closed modalities of modal type theory. Their parametric information flow system reconstructs full-spectrum information flow (confidentiality and integrity) and proves non-interference via a binary logical relations argument, mechanized in Lean. The evidence is purely theoretical, with no empirical evaluation, but the proofs are detailed and compared against prior DCC-based and robust downgrading approaches.

What they found 2

  1. Non-interference is proved to hold even with advanced downgrading mechanisms, yielding strong modularity guarantees.

    “Our non-interference property accounts for sophisticated downgrading mechanisms without making semantic concessions to them, providing extraordinarily strong modularity guarantees.”

  2. Data with robustness restrictions cannot be accessed by computations lacking the required dependencies.

    “Corollary 5.10 provides that data with robustness restrictions against certain contexts is unavailable to computations in those contexts, which is analogous to the separation properties pursued by the more complex formulations.”

Caveats 2

  • A minor limitation is that the case for existentials requires both sides to have the same implementing dependencies φ′. We might relax this restriction by interpreting dependency variables as relations to be substituted into the type A, following the interpretation of type variables under relational parametricity [Reynolds 1983]. Existentials could then be included in the sealing judgement A≥φ, as forecast in Section 3.1. However, this induces a steep increase in complexity and departs from all other accounts of non-interference. We leave such a generalization to the future.
  • The reverse direction does not hold in our case, due to the choices made in Section 3.3.2 to diverge from the standard modalities. ... We consider it future work.

What’s new here 4

  • Unifies confidentiality and integrity reasoning in one type system using dual modalities.
  • Recovers robust downgrading as an ordinary 2-hyperproperty without extending the core theory.
  • Provides a mechanized proof of non-interference that incorporates sophisticated downgrading mechanisms.
  • Shows how anti-dependencies (closed modality) and dependencies (open modality) interact to enforce both information hiding and flow tracking.