SmartGraphical lets developers spot logical smart-contract bugs missed by automated tools
SmartGraphical significantly improves detection of non-trivial logical vulnerabilities in smart contracts
Security & privacy arXiv 9 Mar 2026 Method Prototype evidence
Published as “SmartGraphical: A Human-in-the-Loop Framework for Detecting Smart Contract Logical Vulnerabilities via Pattern-Driven Static Analysis and Visual Abstraction”
Why it matters
The framework can materially improve auditors' ability to spot costly logical bugs, potentially preventing large financial losses in deployed smart contracts.
Summary
SmartGraphical achieves a high detection rate for logical smart-contract bugs, reporting an 89% true-positive rate on a benchmark of 100 vulnerable contracts and boosting developer detection from 12% to 58.3% when visual dependency mapping is used. In a comparative test, the tool’s average detection rate of 85.7% far outperformed two leading LLMs (average 48%). The evidence comes from a user study with 100 developers and analysis of 139 real-world exploits, but the system still generates heuristic alerts in 82% of cases, indicating a non-trivial false-positive load.
What they found 4
- Logical errors are the leading cause of high-impact breaches in Ethereum.
“Our empirical study, based on the analysis of 139 real-world exploits, confirmed that logical errors are the leading cause of high-impact breaches in the Ethereum network.”
- SmartGraphical attains an 89% true-positive detection rate for logical errors on 100 vulnerable contracts.
“The performance analysis of SmartGraphical on a benchmark set of 100 vulnerable smart contracts showed its high effectiveness, with a 89% true positive detection rate for logical errors.”
- Visual dependency mapping raises developer detection of intricate design errors from 12% to 58.3%.
“The addition of visual dependency mapping greatly improved the performance of the developers, increasing the detection rate of intricate design errors from 12% to 58.3%.”
- SmartGraphical’s average detection rate (85.7%) surpasses two top LLMs (average 48%).
“the average detection rate was found to be 85.7%, while the LLMs performed at an average of 48%.”
Caveats 4
- Although the tool produced heuristic alerts in 82% of the cases, the findings clearly highlight the need for our Human-in-the-Loop (HITL) solution.
- As the SmartGraphical framework uses a set of heuristic patterns defined through Regex, its accuracy may be limited by the quality and extent of these heuristics.
- As a Human-in-the-Loop system, the accuracy of the SmartGraphical framework may depend on the user’s level of expertise.
- The SmartGraphical framework targets functional logic vulnerabilities. It does not detect off-chain attacks such as Rug Pulls or private key thefts, which do not involve the execution logic of a smart contract.
What’s new here 4
- Combines static analysis with an interactive graphical view of contract control flow.
- Introduces a human-in-the-loop workflow where developers validate heuristic warnings.
- Provides heuristic pattern detection specifically for business-logic vulnerabilities, not just syntax errors.
- Evaluates the approach against large language models and shows superior detection of logical flaws.