Skip to content
Conference

Dual Knowledge Graph Retrieval-Augmented Smart Contract Vulnerability Detection

Jul 2026 · Annual International Computer Software and Applications Conference · pp. 1-10 · 0 citations · 21 references
Computer Science

Abstract

Smart contract vulnerabilities remain a major source of financial loss in blockchain ecosystems. A large body of work has investigated automated detection using static analysis, symbolic execution, and more recently large language models (LLMs). While these approaches are effective for many syntactic and arithmetic issues, logic-centric vulnerabilities often require connecting dispersed evidence across code structure, security knowledge, and protocol assumptions. In this setting, promptonly LLM-based auditing can be brittle. Retrieval augmentation helps by supplying external knowledge, yet the retrieved evidence is not always well aligned with contract-specific code cues, which can still result in over-triggering and limited auditability. This paper presents GraphShield, a retrieval-augmented framework for smart contract vulnerability detection that grounds model judgments on complementary evidence. The key idea is to organize heterogeneous security knowledge and contract-structure cues into dual knowledge graphs, retrieve compact subgraph evidence for a target contract, and guide the model to produce an evidence-backed detection report that is suitable for auditor review. We evaluate GraphShield on a curated benchmark of audited contracts under a unified bug taxonomy. The results show that GraphShield improves detection effectiveness over representative prompting-based baselines, achieving a better balance between coverage and precision, and providing more verifiable rationales to support downstream manual inspection.

View source

Similar papers

Conference Aug 2026

LLM-powered Smart Contract Vulnerability Detection with RAG-based Knowledge Base and Corrective Quality Gating

Once deployed, smart contract bytecode is final and cannot be patched. Any vulnerability that ships with the contract becomes a permanent attack surface. Existing tools have clear gaps. Static analyzers such as Slither flag aggressively and tend to produce many false positives, while large language models (LLMs) reason...

S. Nguyen, Quang-Tien Tran, H. Vu et al. · 0 citations
Sep 2026

SE4SC-LLM: an LLM-Augmented symbolic execution framework for smart contracts

SE4SC-LLM, an LLM-augmented symbolic execution framework for smart contracts that achieves 95.1% average CFG coverage, a 6.5 percentage point improvement over the strongest baseline, and detects 11.2% more vulnerabilities.

Tian-Huan Miao, Yang Liu · 0 citations
Preprint Aug 2026

Pre-Model Representation Failures in GNN-Based Smart Contract Vulnerability Detection

A failure analysis of the representation layer underlying GNN-based smart contract vulnerability detectors finds one confirmed case of misclassification caused directly by a representation-layer failure; the prevalence of such failures in real-world contract populations remains an open empirical question.

Birindwa Prisca Hondi, Chinoso Philip Nwishienyi, Charity Wanja Mwaura et al. · 0 citations
Conference Sep 2026

A controllable AI framework for certification technical review via knowledge graph and rule engine

A controllability-oriented AI framework for certification technical review by integrating LLMs with retrieval-augmented generation (RAG), a certification knowledge graph, and a rule engine is proposed, offering an interpretable and deployable pathway for AI-assisted technical review in certification and other high resp...

Hai-Zhou Wang, Yuan-Zhe Li · 0 citations
Preprint Aug 2026

Evidence-Carrying Validation for Knowledge Graphs

This work presents an evidence-carrying validation interface: every selected node-shape check returns either a satisfaction trace or failure witness, and shows how programs combine passing and failing evidence to diagnose missing information and guide repair.

Gabe Fierro · 0 citations
Preprint Sep 2026

KnowFeat: Knowledge-Guided Feature Engineering via LLM Agents

knowFeat, a knowledge-guided feature engineering framework that organizes domain knowledge into five types -- schema metadata, regulatory indicators, detection rules, expert opinions, and court document evidence -- and injects them as structured context into an LLM agent and maintains competitive detection performance...

Chengsong You, Wangyue Li, Wei-Qiao Que et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.