PSR2 detects atomicity violations in smart contracts with 94.69% F1
PSR2 achieves a 94.69% F1 score for atomicity violation detection, far surpassing existing tools
Security & privacy arXiv 8 Apr 2026 Method Prototype evidence
Published as “PSR2: A Phase-based Semantic Reasoning Framework for Atomicity Violation Detection via Contract Refinement”
Why it matters
The framework can substantially improve automated detection of atomicity violations in smart contracts, especially for ERC-721 NFTs, while cutting spurious alerts.
Summary
PSR2 achieves a 94.69% F1-score on complex ERC-721 contracts, far surpassing Slither (23.68%) and Semgrep (51.86%). The result is based on experiments with 1,600 smart-contract samples from three public benchmarks, and an ablation study shows the fusion module cuts the false-positive rate to 6.40%, roughly half of the single-module variants. The paper does not include an explicit discussion of limitations.
What they found 2
- PSR2 attains a 94.69% F1-score on ERC-721 reentrancy scenarios, outperforming existing tools.
“achieving an F1-score of 94.69% in complex ERC-721 scenarios compared to 51.86% for existing tools.”
- The Fusion Decision Module reduces the false-positive rate to 6.40% compared with the decoupled modules.
“reducing the FPR to 6.40%.”
Caveats 2
- On the generic Reentrancy benchmark PSR2’s F1-score drops to 87.72%, indicating performance varies across vulnerability classes.
- The quoted line from Table 1 shows PSR2 78.13 98.04 87.72 for the Reentrancy dataset.
What’s new here 3
- Combines path-sensitive control-flow graph analysis with semantic AST extraction to resolve both structural and contextual blind spots.
- Introduces a unified atomicity inconsistency model that abstracts different vulnerability types into a common logical primitive.
- Implements a Fusion Decision Module that cross-validates structural paths against semantic facts, markedly lowering false positives.