Authorization can persist after revocation in GitHub, NATS, and Kafka
Effect closure often fails in real systems and their tool can detect and mitigate these failures
Systems arXiv 2 Sep 2026 Method Prototype evidence
Published as “When Does Authorization End? Effect Closure at Provider Boundaries”
Why it matters
Effect Fence can be deployed in Kafka to prevent unauthorized appends while preserving the progress of unrelated requests.
Summary
The paper introduces policy-relative effect-closure semantics and a checker (EFFECTBOUND) that decides whether a provider boundary can guarantee that no issued authority can cause a rejected effect, and it proposes an implementation called Effect Fence for Kafka. It shows, via case studies on GitHub, Kubernetes, NATS, and Kafka, that many existing interfaces lack the controls needed to achieve effect closure, and that adding Fence can block new use of revoked authority while allowing in-flight work to finish. The evaluation details (e.g., performance numbers) are not provided in the supplied excerpts, so the strength of the empirical evidence cannot be assessed.
What they found 2
- Across six structural paths in GitHub, Kubernetes, NATS, and Kafka, missing controls, hidden active work, and premature model boundaries prevent effect closure.
“Across six structural paths in GitHub, Kubernetes, NATS, and Kafka, we find missing controls, hidden active work, and premature model boundaries.”
- Effect Fence blocks new use of revoked authority and delays return until earlier in-flight work completes, extending closure to append.
“We therefore designed Effect Fence: it blocks new use of revoked authority and delays return until earlier in-flight work completes, extending closure to append.”
Caveats 2
- The checked results are conditional on the paths and continuations represented in each contract; they do not establish that every provider path was modeled.
- Repeated head reads cannot permanently distinguish the two worlds because the provider may move the head after the final read.
What’s new here 4
- Formal definition of policy-relative effect-closure and the notion of effect frontier adequacy.
- Reduction of the closure realizability problem to a partially observed discrete-event system and a machine-checked decision procedure.
- Implementation of EFFECTBOUND, a verifier that produces winning strategies or losing certificates for provider contracts.
- Effect Fence, a concrete system added to Kafka to enforce effect closure without blocking unrelated work.