Detecting speculative leaks with compositional semantics

The work

AuthorsXaver Fabian; Marco Guarnieri; Boris Köpf; Jose F. Morales; Marco Patrignani; Jan Reineke; Andres Sanchez
Editors
Typemisc
Year2026
Citekeyfabian2026detecting

Identifiers

arXiv2603.29800 from its landing_page_url

Related

Distinct fromguarnieri2020spectector
Distinct fromsong2026scheri

From bibtex.

Abstract

Speculative execution enhances processor performance by predicting intermediate results and executing instructions based on these predictions. However, incorrect predictions can lead to security vulnerabilities, as speculative instructions leave traces in microarchitectural components that attackers can exploit. This is demonstrated by the family of Spectre attacks. Unfortunately, existing countermeasures to these attacks lack a formal security characterization, making it difficult to verify their effectiveness. In this paper, we propose a novel framework for detecting information flows introduced by speculative execution and reasoning about software defenses. The theoretical foundation of our approach is speculative non-interference (SNI), a novel semantic notion of security against speculative execution attacks. SNI relates information leakage observed under a standard non-speculative semantics to leakage arising under semantics that explicitly model speculative execution. To capture their combined effects, we extend our framework with a mechanism to safely compose multiple speculative semantics, each focussing on a single aspect of speculation. This allows us to analyze the complex interactions and resulting leaks that can arise when multiple speculative mechanisms operate together. On the practical side, we develop Spectector, a symbolic analysis tool that uses our compositional framework and leverages SMT solvers to detect vulnerabilities and verify program security with respect to multiple speculation mechanisms.

A copy is held

pdf, 1.2 MB. Not published — it may be under copyright. The facts and links here are.

How it got here

How it got hereagent via bibtex
Added2026-09-17 16:12 UTC
Approved bya person 2026-09-17 16:49 UTC

Cite it as

@misc{fabian2026detecting,
  title        = {Detecting speculative leaks with compositional semantics},
  author       = {Xaver Fabian and Marco Guarnieri and Boris Köpf and Jose F. Morales and Marco Patrignani and Jan Reineke and Andres Sanchez},
  year         = {2026},
}

This record lives at https://refs.drheap.org/fabian2026detecting/ and will keep doing so.