Compositional where-declassification model offers stronger security than prior definition
The authors assert their security definition provides more security than the most related previous lower-order definition
Software arXiv 20 Apr 2026 Theory Theory
Published as “Compositional security definitions for higher-order where declassification”
Why it matters
Enables modular verification of libraries and components that use lock-based where declassification in higher-order languages.
Summary
The paper defines a compositional security definition for higher-order where declassification using a logical-relation model, and shows it is stricter than the prior lower-order definition. It introduces the λ-WHR language with lock-based declassification policies and proves the type system sound relative to the semantics. The work is purely theoretical (no empirical evaluation) and relies on a termination-insensitive logical relation, limiting its applicability to programs without higher-order state for certain comparisons.
What they found 4
- The authors build a model of where declassification using logical relations.
“We use logical relations to build a model (and thus security definition) of where declassification.”
- Their security definition provides more security than the most related prior lower-order definition.
“We show that the resulting security definition provides more security than the most related previous definition, which is for the lower-order setting.”
- Existing higher-order where/when declassification definitions are non-compositional.
“As a result, existing definitions of higher-order program security with where/when declassification are not compositional.”
- When restricted to first-order state, the new definition is stronger (less permissive) than Flow-Locks security.
“We prove that our security definition, restricted to first-order state, is stronger-i.e., less permissive-than the prior definition”
Caveats 6
- The security definition is termination-insensitive, which may miss leaks observable via termination behavior.
- The comparison to Flow-Locks security is limited to programs without higher-order state.
- The work does not incorporate most of the extensions from Paralocks, limiting its expressiveness.
- We choose to stay with a termination-insensitive logical relation because: (a) It is standard in literature. In particular, the two security definitions of Flow Locks in [8] are termination-insensitive, and (b) Any type system that is sound with respect to a termination-sensitive logical relation must also establish program termination, which is difficult in practice.
- Hence, to get a meaningful comparison between Flow-Lock security and our security definition, we only consider programs with lower-order state, i.e., programs that do not store functions in memory.
- In order to focus on the key features of higher-order where declassification, we did not consider most of Paralocks’ additions.
What’s new here 4
- Provides the first compositional security definition for higher-order where declassification.
- Uses a value-based setting with security-labeled values instead of store-based labels.
- Introduces the notion of relevant declassification steps to stop enforcing indistinguishability when appropriate.
- Shows the new definition is stricter (less permissive) than the prior lower-order Flow-Locks definition.