← ALB News · curated headline

LineageForge: Large Language Model for Constructing Verifiable Smart Contract Vulnerability Datasets at Scale

arXiv Software Engineering · WORLD · Compilers · 11/30/2026, 12:00:00 AM

arXiv:2611.37105v1 Announce Type: cross Abstract: Smart contract vulnerabilities pose serious security risks to decentralized applications. Given that deployed smart contract code is generally immutable, detecting vulnerabilities before deployment is crucial. Smart Contract Vulnerability (SCV) datasets play a key role in developing and evaluating vulnerability detection tools. Existing SCV datasets are commonly constructed through tool-based labeling, manual curation, or predefined vulnerability injection. However, these approaches face three key challenges: First, vulnerability samples often lack traceable origins in real-world security incidents. Second, ground-truth labels often lack empirical validation. Third, the number of instances per vulnerability type remains limited even when both provenance and validation are available. To address these challenges, we present LineageForge, a framework that leverages Large Language Models (LLMs) to construct verifiable SCV datasets at scale from vulnerabilities exploited in real-world attacks. LineageForge consists of two modules: 1) The incident-guided discovery module identifies compatible contracts whose business logic supports the target vulnerability and collects supporting source evidence. 2) Guided by this evidence, the Evidence-Grounded Contract Construction (EGCC) module constructs a protected contract free of the target vulnerability and derives its vulnerable counterpart through targeted code changes. EGCC then adapts and executes the attack against both versions. Based on seven real-world incidents, LineageForge produces 1,059 validated instances, each pairing a protected contract with its vulnerable counterpart and providing executable proofs of concept and the execution environment for reproducible verification. LineageForge is available at https://github.com/youfafa/lineageforge-dataset.

Continue to arXiv Software Engineering →

Connections

Laws & Congress

From the Library

Research papers

Coverage timeline

  1. arXiv Software Engineering · WORLD
  2. arXiv Software Engineering · WORLD

All coverage (2)

Finished reading? Continue to the original source above — or join the discussion below.