Metraipolis › archive › dc_0d4d613231f9
EventSpec: Defining and Detecting Event-Semantic Issues in Blockchain Ecosystems — arXiv:2609.07865
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.07865
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T13:40:27.486Z
- SHA-256 of the archived text
28985747bfacdfaec7356b3eda6101f4423157834a282c8f37b4182163035d74- Stable URL of this page
https://metraipolis.com/documento/dc_0d4d613231f9
How to cite
EventSpec: Defining and Detecting Event-Semantic Issues in Blockchain Ecosystems — arXiv:2609.07865 — arXiv (en), https://arxiv.org/abs/2609.07865 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_0d4d613231f9 (Metraipolis archive dc_0d4d613231f9, sha256 28985747bfacdfaec7356b3eda6101f4423157834a282c8f37b4182163035d74)
BibTeX
@misc{dc0d4d613231f9,
title = {EventSpec: Defining and Detecting Event-Semantic Issues in Blockchain Ecosystems — arXiv:2609.07865},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.07865},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_0d4d613231f9; sha256 28985747bfacdfaec7356b3eda6101f4423157834a282c8f37b4182163035d74},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.07865. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In recent years, smart contracts have become the backbone of decentralized applications (DApps), and off-chain systems such as bridges, wallets, and indexers rely heavily on event logs to track contract execution and state changes. However, the Ethereum Virtual Machine (EVM) does not validate or enforce event semantics, so logs can diverge from on-chain state, misleading off-chain systems into accepting incorrect state transitions. Existing smart contract vulnerability detection tools focus on logic bugs, with limited support for detecting event-semantic defects. To address this gap, we collect audit reports and incident cases and apply open card sorting to define five classes of event-semantic defects: event collision, state-event mismatch, unauthorized event emission, event emission mismatch, and event parameter mismatch. We propose EventSpec, which infers event specifications from a contract corpus via behavior inference and semantic-constraint extraction and applies differential checking to identify event-semantic defects in target contracts. We run EventSpec on 6,617 real-world contracts and evaluate detection effectiveness based on manually labeled results; EventSpec achieves an overall comprehensive precision of 90.17%. We further provide an off-chain evaluation harness that reproduces two off-chain attack vectors on any EVM-compatible chain: event origin confusion caused by unintended emitters and event-state desynchronization where events lack matching state updates. Using this harness, we demonstrate the feasibility of these attacks on bridge relayers, blockchain explorers, and NFT marketplaces, and report six wallet issues, four of which were confirmed (including a $600 bounty), with two remaining pending. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-09-09 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR) ; Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2609.07865 — 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-16T13:09:48.488Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).