mlsanityData to 14 Oct 2026

ORACAL: A Robust and Explainable Multimodal Framework for Smart Contract Vulnerability Detection with Causal Graph Enrichment

arXiv 2603.28128 ↗First posted 30 Mar 2026cs.LG cs.CRcited by 0

Not on the map. Why?

Abstract (arXiv)

Although Graph Neural Networks (GNNs) have shown promise for smart contract vulnerability detection, they still face significant limitations. Homogeneous graph models fail to capture the interplay between control flow and data dependencies, while heterogeneous graph approaches often lack deep semantic understanding, leaving them susceptible to adversarial attacks. Moreover, most black-box models fail to provide explainable evidence, hindering trust in professional audits. To address these challenges, we propose ORACAL (Observable RAG-enhanced Analysis with CausAL reasoning), a heterogeneous multimodal graph learning framework that integrates Control Flow Graph (CFG), Data Flow Graph (DFG), and Call Graph (CG). ORACAL selectively enriches critical subgraphs with expert-level security context from Retrieval-Augmented Generation (RAG) and Large Language Models (LLMs), and employs a causal attention mechanism to disentangle true vulnerability indicators from spurious correlations. For transparency, the framework adopts PGExplainer to generate subgraph-level explanations identifying vulnerability triggering paths. Experiments on large-scale datasets demonstrate that ORACAL achieves state-of-the-art performance, outperforming MANDO-HGT, MTVHunter, GNN-SC, and SCVHunter by up to 39.6 percentage points, with a peak Macro F1 of 91.28% on the primary benchmark. ORACAL maintains strong generalization on out-of-distribution datasets with 91.8% on CGT Weakness and 77.1% on DAppScan. In explainability evaluation, PGExplainer achieves 32.51% Mean Intersection over Union (MIoU) against manually annotated vulnerability triggering paths. Under adversarial attacks, ORACAL limits performance degradation to approximately 2.35% F1 decrease with an Attack Success Rate (ASR) of only 3%, surpassing SCVHunter and MANDO-HGT which exhibit ASRs ranging from 10.91% to 18.73%.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 32 of its 84 references that are in the map. First posted on arXiv 30 Mar 2026.

Builds on

32 of 84 references.

References · 32

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2017Graph Attention Networkscited by 8,923
  3. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
  4. 2019GNNExplainer: Generating Explanations for Graph Neural Networkscited by 737
  5. 2022MTEB: Massive Text Embedding Benchmarkcited by 640
  6. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
  7. 2020Parameterized Explainer for Graph Neural Networkcited by 426
  8. 2019Unmasking Clever Hans Predictors and Assessing What Machines Really Learncited by 365
  9. 2022Correct-N-Contrast: A Contrastive Approach for Improving Robustness to Spurious Correlationscited by 172
  10. 2024Evaluation of Retrieval-Augmented Generation: A Surveycited by 146
  11. 2021Causal Attention for Vision-Language Taskscited by 111
  12. 2021Causal Attention for Interpretable and Generalizable Graph Classificationcited by 108
20 more
  1. 2019Slither: A Static Analysis Framework For Smart Contractscited by 89
  2. 2022Debiasing Graph Neural Networks via Learning Disentangled Causal Substructurecited by 83
  3. 2021Combining Graph Neural Networks with Expert Knowledge for Smart Contract Vulnerability Detectioncited by 34
  4. 2024Assessing Adversarial Robustness of Large Language Models: An Empirical Studycited by 21
  5. 2020How Effective are Smart Contract Analysis Tools? Evaluating Smart Contract Static Analysis Tools Using Bug Injectioncited by 20
  6. 2024Graph Neural Networks for Vulnerability Detection: A Counterfactual Explanationcited by 12
  7. 2023DAppSCAN: Building Large-Scale Datasets for Smart Contract Weaknesses in DApp Projectscited by 9
  8. 2022Revisiting Adversarial Attacks on Graph Neural Networks for Graph Classificationcited by 8
  9. 2024Coca: Improving and Explaining Graph Neural Network-Based Vulnerability Detection Systemscited by 8
  10. 2025SCALM: Detecting Bad Practices in Smart Contracts Through LLMscited by 8
  11. 2024HGAttack: Transferable Heterogeneous Graph Adversarial Attackcited by 6
  12. 2021EtherSolve: Computing an Accurate Control-Flow Graph from Ethereum Bytecodecited by 4
  13. 2024SC-Bench: A Large-Scale Dataset for Smart Contract Auditingcited by 4
  14. 2023Consolidation of Ground Truth Sets for Weakness Detection in Smart Contractscited by 3
  15. 2026Cost-Efficient RAG for Entity Matching with LLMs: A Blocking-based Explorationcited by 3
  16. 2024Smart Contract Vulnerabilities, Tools, and Benchmarks: an Updated Systematic Literature Reviewcited by 2
  17. 2025MTVHunter: Smart Contracts Vulnerability Detection Based on Multi-Teacher Knowledge Translationcited by 2
  18. 2025An empirical analysis of vulnerability detection tools for solidity smart contractscited by 1
  19. 2025HeTa: Relation-wise Heterogeneous Graph Foundation Attack Modelcited by 1
  20. 2025PINE: Pipeline for Important Node Exploration in Attributed Networkscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024Retrieval Augmented Generation Integrated Large Language Models in Smart Contract Vulnerability Detection
  2. 2025SAEL: Leveraging Large Language Models with Adaptive Mixture-of-Experts for Smart Contract Vulnerability Detection
  3. 2025LISA Technical Report: An Agentic Framework for Smart Contract Auditing
  4. 2025Large Language Model based Smart Contract Auditing with LLMBugScanner
  5. 2026CLEAR: Causal Context-Based Agentic Reasoning for Vulnerability Detection
  6. 2025ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detection
  7. 2026Knowledge Over Parameters: Evolving Smart Contract Vulnerability Detection ↗
  8. 2026Decoupled Smart Contract Audits: Lightweight LLM Framework via Distillation and Aggregation