AttackPathGNN detects cross-function smart contract bugs with 92% F1
AttackPathGNN achieves 92.3%±0.2% F1 on SmartBugs Wild and 90.8%±2.5% detection on SmartBugs Curated benchmarks
AI/ML arXiv 4 Jun 2026 Method Prototype evidence
Published as “AttackPathGNN: Cross-function vulnerability detection in smart contracts using state interference graphs and conjunction pooling”
Why it matters
The model’s high detection rates and actionable explanations could substantially improve automated smart-contract auditing workflows.
Summary
AttackPathGNN achieves a mean detection rate of 90.8 ± 2.5 % on the 143-contract SmartBugs Curated benchmark, far surpassing Slither (45.5 %) and Mythril (57.3 %). The model recovers six of ten DASP10 categories at 100 % across all seeds and reaches 98.7 % on reentrancy. Evidence is reported as mean ± standard deviation over five independent training seeds, providing statistical confidence. However, detection rates drop to 80 % for Access Control and 83.1 % for Unchecked Return, and a small set of contracts are consistently missed due to limitations in the precondition set.
What they found 1
- High overall detection performance on a public benchmark
“AttackPathGNN attains a mean detection rate of 90.8 ± 2.5 % (95 % CI ± 2.2 %) on the 143-contract vulnerable subset of SmartBugs Curated.”
Caveats 5
- False-negative rate is reported as 4.3 ± 0.3 %, indicating some missed vulnerabilities.
- Detection rates for Access Control (80 ± 5 %) and Unchecked Return (83.1 ± 4.6 %) are substantially lower than the 100 % achieved on other categories.
- Eight contracts are consistently missed across all seeds, revealing architectural limits.
- The stable-miss population sets the architecture’s current ceiling, which will not be moved by any amount of further training under the current precondition set.
- The eight current preconditions do not encode “function is intended as a constructor but is not declared as one”, causing missed detection of Parity wallet initializer exploits.
What’s new here 4
- Introduces a State Interference Graph that explicitly links functions sharing mutable storage with typed edges and directed reentrancy-path edges defined by a five-condition predicate.
- Proposes conjunction pooling, a differentiable AND-aggregator over eight named exploit preconditions that collapses the exploit score when any mitigation is present.
- Generates structured remediation reports that rank dangerous function pairs, list shared variables, and identify the specific precondition whose mitigation would close the attack path.
- Reports performance as mean ± standard deviation over five random seeds, a level of statistical rigor absent from prior GNN-based smart-contract detectors.