Metraipolis › archive › dc_dd21c13fcb40
Mitigating Error Propagation in Chain-of-Thought: A Tree-of-Thought Framework for Smart Contract Repair — arXiv:2608.22345
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.22345
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T08:12:59.922Z
- SHA-256 of the archived text
a1cf94f372a94dd59356286b428a8626968b5d8f640a64b145229442569fb38e- Stable URL of this page
https://metraipolis.com/documento/dc_dd21c13fcb40
How to cite
Mitigating Error Propagation in Chain-of-Thought: A Tree-of-Thought Framework for Smart Contract Repair — arXiv:2608.22345 — arXiv (en), https://arxiv.org/abs/2608.22345 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_dd21c13fcb40 (Metraipolis archive dc_dd21c13fcb40, sha256 a1cf94f372a94dd59356286b428a8626968b5d8f640a64b145229442569fb38e)
BibTeX
@misc{dcdd21c13fcb40,
title = {Mitigating Error Propagation in Chain-of-Thought: A Tree-of-Thought Framework for Smart Contract Repair — arXiv:2608.22345},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.22345},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_dd21c13fcb40; sha256 a1cf94f372a94dd59356286b428a8626968b5d8f640a64b145229442569fb38e},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.22345. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Smart contracts power blockchain applications such as DeFi and NFTs. However, once deployed, they cannot be modified. Even minor bugs can result in significant financial losses. Current AI-based repair methods rely on linear reasoning, which leads to the accumulation of errors and unreliable patches. Our method combines document parsing, static analysis, and Tree of Thoughts reasoning. We first convert audit reports into structured data. Then we use Slither to locate the exact vulnerable code. Our three-step framework explores multiple repair paths simultaneously, evaluates options, and eliminates poor choices. Finally, we verify patches through compilation and manual checks. We test our method on 50 real vulnerabilities from Code4Rena. Our method achieves a 62% single success rate and an 84% top-3 success rate, outperforming ContractTinker by 12 and 6 percentage points, respectively. We also increase the proportion of fully effective patches to 44%, while reducing defective patches from 38% to 22% and invalid patches from 10% to 4%. This approach overcomes the limitations of linear reasoning and makes smart contract repair more accurate and practical. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-25 in cs.SE). Categorie arXiv: Cryptography and Security (cs.CR) ; Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2608.22345 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-18T08:07:33.028Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-08-25?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).