GiANT automatically builds a large, high-quality smart contract audit dataset
GiANT can generate a reliable corpus of 7,711 vulnerability findings with a mean quality score of 4.76/5
Software arXiv 5 Jun 2026 Benchmark Prototype evidence
Published as “On the Shoulders of Giants: Empowering Automated Smart Contract Auditing via the GiAnt Corpus”
Why it matters
The GiAnt Corpus enables scalable research on automated smart-contract auditing, but current LLMs still need improvement to reliably assess vulnerability severity.
Summary
GiAnt automatically builds a high-quality smart-contract auditing dataset of 7,711 findings with a mean extraction quality score of 4.76 ± 0.37 (out of 5). The pipeline uses LLMs to parse Code4rena audit reports, applies multi-stage validation, and releases the GiAnt Corpus; however, LLMs evaluated on the corpus still struggle with multi-class severity classification, achieving only 0.28-0.30 F1.
What they found 2
- The GiAnt extraction pipeline achieves high reliability with a mean quality score of 4.76 ± 0.37.
“The manual evaluation results show that GiAnt exhibits exceptional reliability in information extraction, achieving a mean quality score of 4.76 ± 0.37 (out of 5).”
- LLMs identify vulnerabilities well in binary classification but perform poorly on multi-class severity assessment (F1 0.280-0.302).
“while all models demonstrate robust security awareness in binary classification - with GPT-4o leading at a 0.893 F1-score - performance significantly falters in multi-class severity categorization, where F1-scores drop to a range of 0.280-0.302.”
Caveats 4
- LLMs evaluated on the GiAnt Corpus achieve high binary detection performance but low multi-class severity F1 (0.280-0.302), indicating the dataset’s difficulty and limiting immediate practical use for risk ranking.
- We filter out audit reports where the source code is not publicly accessible.
- Any record exhibiting an overlap rate below 0.6 is discarded as a hallucination risk.
- Records that persistently fail after three rounds are permanently discarded.
What’s new here 4
- First large-scale, multi-dimensional smart-contract audit dataset covering severity, impact, mitigation, PoC, and gas optimization.
- Fully automated LLM-driven pipeline that extracts fine-grained vulnerability information from real-world audit reports.
- Integrated hallucination-risk auditor and recursive quality-judge loop to ensure high factual fidelity.
- Provides benchmarks for four LLMs across detection, summarization, mitigation, and gas-optimization tasks.