PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
December 5, 2025ACM Transactions on Software Engineering and Methodology2 citations

MANDO-LLM: Heterogeneous Graph Transformers with Large Language Models for Smart Contract Vulnerability Detection

View Full Paper
NNNhat Minh NguyenHNHoang H. NguyenLTLong Le Thanh

Key Points

  • Vulnerability detection improved significantly, achieving F1-scores from 0.59% to 80.72% at the contract level.
  • This new framework leverages heterogeneous graph transformers with large language models for enhanced feature capture.
  • Analysis indicates superior performance on large-scale imbalanced datasets, particularly at the line-level for vulnerabilities.
  • Such advancements highlight the significant role of modern models in ensuring smart contract security.

Abstract

Detecting vulnerabilities in smart contracts is vital for the security and reliability of decentralized apps. To facilitate vulnerability detection, contract codes, including bug patterns, are represented as heterogeneous graphs with various nodes and edges, like control-flow and function-call graphs. However, existing graph learning techniques struggle with large, complex graphs. This paper presents MANDO-LLM, a novel framework that combines heterogeneous graph transformers (HGTs) with large language models (LLMs) for detecting vulnerabilities in smart contracts represented as heterogeneous contract graphs built upon control-flow and call graphs. MANDO-LLM uses LLMs to capture code features from control-flow and call data, customizes HGTs to learn embeddings with specific node-edge meta relations, and employs classifiers for vulnerability detection in Solidity code at both contract and line levels. Our evaluation shows that MANDO-LLM significantly outperforms existing methods on real-world large-scale imbalanced datasets, with F1-score improvements from 0.59% to 80.72% at the contract level. It is also one of the first effective methods for identifying line-level vulnerabilities, with performance boosts ranging from 3.09% to over 95% across different vulnerability types. MANDO-LLM’s versatility allows easy retraining for various vulnerabilities without needing manually defined patterns.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Nguyen et al. (2025) studied this question.

synapsesocial.com/papers/693231368e51979591dcebd3https://doi.org/10.1145/3765751
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1Finding structure in time1990 · 2,942 citations
  2. 2Heterogeneous Graph Transformer2020 · 1,443 citations
  3. 3node2vec2016 · 11,076 citations
  4. 4DeepWukong2021 · 326 citations
  5. 5A Survey on Ethereum Systems Security2020 · 482 citations