Graded Modal Types for Integrity and Confidentiality

09/08/2023
by   Daniel Marshall, et al.
0

Graded type systems, such as the one underlying the Granule programming language, allow various different properties of a program's behaviour to be tracked via annotating types with additional information, which we call grades. One example of such a property, often used as a case study in prior work on graded types, is information flow control, in which types are graded by a lattice of security levels allowing noninterference properties to be automatically verified and enforced. These typically focus on one particular aspect of security, however, known as confidentiality; public outputs are prohibited from depending on private inputs. Integrity, a property specifying that trusted outputs must not depend on untrusted inputs, has not been examined in this context. This short paper aims to remedy this omission. It is well-known that confidentiality and integrity are in some sense dual properties, but simply reversing the ordering of the security lattice turns out to be unsatisfactory for the purpose of combining both kinds of property in a single system, at least in our setting. We analogize the situation to recent work on embedding both linear and uniqueness types in a graded framework, and use this framing to demonstrate that we can enforce both integrity and confidentiality alongside one another. The main idea is to add an additional flavour of modality annotated for integrity, such that the existing graded comonad for tracking confidentiality now also acts as a relative monad over the new modality, with rules allowing information to flow from trusted to public to private.

READ FULL TEXT

page 1

page 2

page 3

research
08/29/2017

Nonmalleable Information Flow: Technical Report

Noninterference is a popular semantic security condition because it offe...
research
10/24/2022

Static Information Flow Control Made Simpler

Static information flow control (IFC) systems provide the ability to res...
research
09/27/2017

A Permission-Dependent Type System for Secure Information Flow Analysis

We introduce a novel type system for enforcing secure information flow i...
research
02/25/2019

An Access Control Model for Robot Calibration

High assurance surgical robotic systems require robustness to both safet...
research
01/30/2018

The Reification of an Incorrect and Inappropriate Spreadsheet Model

Once information is loaded into a spreadsheet, it acquires properties th...
research
12/30/2021

Deriving Distributive Laws for Graded Linear Types

The recent notion of graded modal types provides a framework for extendi...
research
07/12/2018

Gradual Parametricity, Revisited

Bringing the benefits of gradual typing to a language with parametric po...

Please sign up or login with your details

Forgot password? Click here to reset