GiAnt: Automated Smart Contract Audit Dataset
Abstract
High-quality smart contract auditing datasets are crucial for evaluating security tools and advancing smart contract security research. Two major limitations of existing datasets are the manual-induced scalability bottleneck and the deficiency in data granularity and diversity. To address these limitations, we propose GiAnt (GPT-assisted Auditing Dataset Construction), an automated framework designed to curate smart contract auditing datasets by distilling vulnerability insights from realworld auditing reports. GiAnt employs a divide-and-conquer strategy coupled with the Chain-of-Thought technique to extract structured vulnerability information from Code4rena reports, followed by an LLM-asa-judge mechanism to perform rigorous quality assurance. To evaluate GiAnt s effectiveness, we run it on 388 real-world audit reports and generate the GiAnt Corpus comprising 7,711 vulnerability findings across five severity levels. Manual assessment of the dataset demonstrates exceptional reliability in information extraction, achieving a mean quality score of 4 . 76 __ 0 . 37 (out of 5) with inter-rater agreement __ of 0.88. We further validate the practicality of our dataset by benchmarking 4 state-of-the-art LLMs on vulnerability detection, code summarization, mitigation recommendation, and automated gas optimization tasks, to establish performance baselines, thereby providing a valuable data foundation for future research in automated smart contract auditing.