arXiv:2610.09730cs.CROct 2026

Manuscript Offprint

arXiv:2610.09730

Trust a Few: The Weakest Assumptions a Protocol Needs

Bhumika Mittal, Aalok Thakkar

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Protocol verifiers check whether a protocol meets a security goal under stated trust assumptions: that a key is never leaked, that a value is fresh, that a channel is authentic. They do not say which of those assumptions the goal needs. Rowe, Guttman and Liskov asked for the weakest assumptions under which a protocol achieves a goal, and left the question for future research. We answer it for assumptions about keys, values and channels. Call a run that violates the goal an attack, and the assumptions that would rule it out its stopping set. The least a protocol must trust to meet a goal is exactly the set of minimal ways to stop all of its minimal attacks: the smallest sets of assumptions that contain a member of every minimal attack's stopping set. Several such sets may exist, none weaker than another. The answer becomes unique once either/or assumptions are allowed, and it is a single set exactly when every minimal attack is stopped by a single assumption. The reason is a Galois connection between assumptions and goals: a goal may end in “or”, so the strongest goal for given assumptions exists whenever shape analysis terminates, but its hypothesis may not, so the weakest assumptions for a goal need not. With no protocol-specific argument, the same structure gives the trust needed by a conjunction of goals, an exact condition under which composed protocols need no extra trust, and a restatement of the attack-containment tenet of Rowe et al. with attacks compared by their stopping sets. To compute the answer, a loop asks a protocol verifier whether a candidate suffices, records what stops each attack it reports, and recomputes the candidates. Deciding whether some trust of at most k assumptions suffices is NP-hard. With a bounded analyser of our own and with CPSA as the verifier, the loop finds the weakest trust for 18 goals over ten protocols (counting our running example) and their variants, and on every one it agrees with evaluating every trust with the same verifier. The answers include an assumption that our model of the adopted fix of Kerberos PKINIT states but the client’s authentication of the server does not need, and channel assumptions under which Needham–Schroeder meets its goal in our bounded analyser, with one instance per role and channels read as limits on injecting and reading messages. On synthetic instances with up to 80 candidate assumptions and a set-family oracle in place of a verifier, when the reported attacks have minimal stopping sets, every completed run of the loop makes exactly as many goal queries as there are minimal attacks and weakest trusts together. The loop is Reiter’s, the query bound is an instance of known results on learning monotone Boolean functions, and the verifier is a standard one. What is new is the characterisation in the goal language of Rowe et al. and what follows from it.

1 Introduction

Love all, trust a few, do wrong to none.

Shakespeare, All's Well That Ends Well, Act 1, Scene 1

The Countess gives this advice to her son Bertram as he leaves home for the King's court, a place full of people whose honesty he cannot check. A security protocol is sent into the same

Figure

fix Π\Pi, τ\tau, solve for strongest χ\chi: shape analysis [55]

fix Π\Pi, χ\chi, solve for weakest τ\tau: this paper

fix τ\tau, χ\chi, solve for Π\Pi: protocol synthesis [49]

Figure 1: The three objects a protocol analysis relates, with the clause of the Countess's advice that each answers, and the three problems obtained by solving for each in turn.

position. It must exchange messages with anyone on the network, and the adversary may control every message it receives. It relies on a few things it cannot check itself: that a key is never leaked, that a value is fresh, that a channel is authentic. And it must still meet its goal: no one is deceived, and no secret leaks.

Protocol verifiers such as ProVerif, Tamarin and CPSA check the last part of that advice for a chosen middle part [8, 47, 51]: given the assumptions, they decide whether the protocol meets its goal. When the check succeeds, the designer knows the assumptions are enough. The designer does not learn which of them the goal needs, unless the check is repeated under each combination of assumptions, as some analyses do (Section 11). This paper computes the middle part, the few things a protocol must trust for a given goal.

In 2005 the Kerberos public-key extension PKINIT, already widely deployed, was found to admit a man-in-the-middle attack: an insider could relay a client's request to the authentication server under its own identity and learn the session keys [12]. Two repairs were proposed. The researchers who found the flaw suggested binding the client's identity into the server's signature. The authors of the standard, wanting to keep the message format, suggested replacing a nonce with a keyed hash of the client's request. (Our CPSA model of this fix, which is not shipped with CPSA, simplifies it to an unkeyed hash; Section 9.2.) Both repairs stop the attack, and a verifier confirms this in seconds. The debate between them was about what each repair rests on: which keys must stay uncompromised, which values must be fresh, and what a deployment must provide for the guarantee on paper to hold. A standards committee weighs this when it chooses a repair, and so does the implementer of a constrained device deciding what the hardware must protect. The nearest tool support checks a claim against each member of a lattice of adversary or threat models, built from capabilities such as compromising keys or state [4], compromising devices or channels [38, 37], or exploiting weak hash functions [14], and reports the models under which the claim holds. That question is the dual of ours, and Section 11 compares the two.

Write τ⊩χ\tau \Vdash \chi for “under the assumptions τ\tau, protocol Π\Pi achieves goal χ\chi against a Dolev–Yao adversary” [21, 60], and call a set of assumptions τ\tau a trust. The relation ties together three objects, and fixing two and solving for the third gives three problems (Fig. 1). Solving for the protocol is protocol synthesis, attempted since Perrig and Song [49] and still hard. Solving for the goal is the problem Rowe, Guttman and Liskov solved [55]: for a fixed protocol and fixed assumptions, the protocol achieves a single strongest goal, and their shape analysis, the search that CPSA performs, computes it. This paper solves for the trust.

Rowe, Guttman and Liskov also posed the trust problem [55]. In their goal language a security goal is an implication ∀xˉ.(Φ⇒Ψ)\forall \bar{x}. (\Phi \Rightarrow \Psi): the hypothesis Φ\Phi is a conjunction of atoms, and the conclusion Ψ\Psi is a disjunction of existentially quantified conjunctions. With the hypothesis fixed, the goals the protocol achieves have a single strongest member. With the conclusion fixed, they observe, the hypotheses under which the protocol achieves it need not have a single weakest member. They describe finding the weakest ones as a kind of abduction, write that they are unaware of any tools designed to support the “impoverish-as-possible” reasoning it needs, and suggest it for future research [55, Section 6.4]. Alves-Foss and Soule generate necessary preconditions for protocol goals in a belief logic [1], and the threat-model lattices above answer the dual question for adversary capabilities by enumeration. To our knowledge the question has not been answered for hypotheses of the goal language of [55].

The answer. Call a run of the protocol that violates the goal an attack, and call the assumptions that would rule out an attack its stopping set. The minimal attacks are those whose stopping sets contain no other attack's stopping set. The least a protocol must trust to meet a goal is exactly the set of minimal ways to stop all of its minimal attacks: the smallest trusts that contain a member of every minimal attack's stopping set. There may be several of them, none weaker than another. The answer is unique once either/or assumptions, such as “ k1k_{1} or k2k_{2} is uncompromised”, are allowed, and a protocol verifier can compute it. There is a single weakest trust, with no either/or, exactly when every minimal attack is stopped by one assumption. The weakest trust and the minimal attacks determine each other, by a classical result of Edmonds and Fulkerson and of Isbell [23, 35]. Section 2 works all of this out by hand on a signed challenge-response. The same example refutes the informal criterion for uniqueness, which leaves out the word “minimal”.

Why either/or is needed. Assuming more never makes a goal fail, and a weaker goal is never harder to meet. Because of these two properties, wherever the maps “the strongest goal a trust achieves” and “the weakest trust that achieves a goal” both have values, they form a Galois connection: a pair of maps that determine each other. Birkhoff’s polarities [7] always give a connection between sets of trusts and sets of goals; between single trusts and single goals it exists exactly when the weakest trust is unique (Section 5). Both maps produce a disjunction. For the strongest goal it is the disjunction over the minimal runs compatible with a hypothesis, and the goal language of [55] allows disjunctions in conclusions, so the strongest goal exists whenever shape analysis terminates [55, 32, 50]. For the weakest trust it is the disjunction of the minimal sufficient trusts, and the language allows no disjunction in hypotheses, so a single weakest trust need not exist. This gap comes from the goal language and is the same for every protocol. Adding either/or hypotheses closes it. This is the disjunctive completion used in abstract interpretation [16]. Over finitely many assumptions the completion is computable, though not cheaply (Section 8.5).

What is ours. We propose no new search algorithm. The order theory, the duality between attacks and trusts and the bound on verifier queries are known results whose sources we name (Section 11). That weakest assumptions need not be unique was shown, with an either/or example, for environment assumptions in synthesis by Chatterjee, Henzinger and Jobstmann [13], and the finite sets of goals of Rowe et al. [55, Section 3.4] can already state an either/or hypothesis as one goal per disjunct. What we add is the following: the weakest trust in the goal language of [55], as the counterpart of the strongest goal under achievement, with its non-uniqueness traced to the missing disjunction in hypotheses; its description as the minimal ways to stop every minimal attack, with the uniqueness criterion of Theorem 6.7, a direct consequence of blocker duality that corrects the informal criterion; the observation that restricting hypotheses to trust atoms (A2) is what keeps the set of candidate assumptions finite (A1), which the completion and the computation both need; and a computation of the answer with a protocol verifier as oracle, including the replay query that recovers stopping sets. The restriction also fixes the scope of the answer. Rowe et al. ask about hypotheses that are arbitrary conjunctions of atoms, including atoms about role positions and parameters. We answer the question for hypotheses made of trust atoms, and Section 10 states what the general case would require.

References (61)