# From High-Level Types to Low-Level Monitors: Synthesizing Verified Runtime Checkers for MAVLink

Source: [From High-Level Types to Low-Level Monitors: Synthesizing Verified Runtime Checkers for MAVLink](<https://www.sota2.com/research/paper/69d48f757d0172140ec7423c>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-04-08T05:00:04.658Z

Authors: Arthur Amorim, Paul Gazzillo, Max Taylor, Lance Joneckis

Published: 2026-04-04T22:45:02.000Z

## Abstract

Standard communication protocols for Unmanned Aerial Vehicles (UAVs), such as MAVLink, lack the capability to enforce the contextual validity of message sequences. Autopilots therefore remain vulnerable to stealthy attacks, where syntactically correct but semantically ill-timed commands induce unsafe states without triggering physical anomaly detectors. Prior work (DATUM) demonstrated that global Refined Multiparty Session Types (RMPSTs) are an effective specification language for centralized MAVLink protocol enforcement, but suffered from two engineering failures: manual proof terms interleaved with protocol definitions, and an OCaml extraction backend whose managed runtime is incompatible with resource-constrained UAV hardware. We present Platum, a framework that addresses both failures with a minimal DSL requiring only the five semantic components of a global session type (sender, receiver, label, payload variable, refinement predicate), whose structural well-formedness conditions are confirmed via reflective decision procedures in Meta-F\*. Confirmed specifications are compiled directly into flat, allocation-free C Finite State Machines (FSMs), deployed as centralized proxy monitors at the GCS/UAV communication boundary. Our evaluation demonstrates a 4x reduction in total monitor latency and lower memory overhead compared to DATUM, measured via ArduPilot SITL simulation.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Runtime Monitoring Performance Evaluation on MAVLink Mission Upload sub-protocol](<https://www.sota2.com/research/sota/runtime-monitoring-performance-evaluation-on-mavlink-mission-upload-sub-protocol.md>): Runtime Monitoring Performance Evaluation; MAVLink Mission Upload sub-protocol; RSS Delta (MB): 8.39.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2604.03886>)

[PDF](<https://arxiv.org/pdf/2604.03886.pdf>)
