Metraipolis › archive › dc_557583f43d72
NEBULA: A Language - Independent Specification for Opaque Rotating Refresh Tokens — arXiv:2608.04115
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.04115
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-31T11:27:26.000Z
- SHA-256 of the archived text
c4da73a18769381cce6115e47d0af0323703fbe43a6e44a7a647f89f1f9d58a5- Stable URL of this page
https://metraipolis.com/documento/dc_557583f43d72
How to cite
NEBULA: A Language - Independent Specification for Opaque Rotating Refresh Tokens — arXiv:2608.04115 — arXiv (en), https://arxiv.org/abs/2608.04115 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_557583f43d72 (Metraipolis archive dc_557583f43d72, sha256 c4da73a18769381cce6115e47d0af0323703fbe43a6e44a7a647f89f1f9d58a5)
BibTeX
@misc{dc557583f43d72,
title = {NEBULA: A Language - Independent Specification for Opaque Rotating Refresh Tokens — arXiv:2608.04115},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.04115},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_557583f43d72; sha256 c4da73a18769381cce6115e47d0af0323703fbe43a6e44a7a647f89f1f9d58a5},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.04115. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Refresh tokens are among the most sensitive credentials in modern authentication systems: long-lived, bearer-style, and sufficient to mint access tokens for days or weeks. RFC 9700, the current Best Current Practice for OAuth 2.0 security, mandates that refresh tokens issued to public clients be rotated on every use with replay (reuse) detection, or be sender-constrained. But the BCP specifies policy, not mechanism: it prescribes no wire format, no storage schema, no ordering of verification steps, no concurrency contract, and no semantics for edge cases such as lost-response retries or key rotation. Implementations may therefore diverge in precisely the corner cases that determine security outcomes. We present NEBULA, a precise, language-independent specification of the RFC 9700 refresh-token model, together with ten conformant reference implementations (TypeScript, Python, Go, Rust, Java, PHP, C#, Ruby, Elixir, Dart). NEBULA tokens are opaque -- a 128-bit public selector and a 256-bit secret verifier, both CSPRNG output, carrying no claims and no signature -- so token validity is a property of server-side state rather than of cryptographic verification. Its conformance methodology publishes the behavioural suite as data rather than as prose: 38 scenarios in one machine-readable file that every implementation executes through a thin per-language runner, so that drift by transcription is structurally excluded. We describe the specification -- including a compare-and-set rotation contract that closes a reproducible bypass of reuse detection under concurrent refresh -- analyse its security properties including its post-quantum posture, and report on cross-language conformance as a method for multi-implementation security specifications. The specification, implementations, and conformance artefacts are open source under the Apache License 2.0. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-08-06 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR). Pagina del lavoro: https://arxiv.org/abs/2608.04115 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-31T11:17:19.435Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-08-06?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).