Metraipolis › archive › dc_bfe7fa5f537b

Solidity Meets LLMs: A Transformer-Based Approach to Smart Contract Vulnerability Detection — arXiv:2609.27091

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.27091
License (as archived)
CC0-1.0
Archived
2026-10-08T10:13:07.886Z
SHA-256 of the archived text
469e71cc9635a8b3a1058d1faf6694a7c557232d1021700f6edef6f044923c54
Stable URL of this page
https://metraipolis.com/documento/dc_bfe7fa5f537b

How to cite

Solidity Meets LLMs: A Transformer-Based Approach to Smart Contract Vulnerability Detection — arXiv:2609.27091 — arXiv (en), https://arxiv.org/abs/2609.27091 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_bfe7fa5f537b (Metraipolis archive dc_bfe7fa5f537b, sha256 469e71cc9635a8b3a1058d1faf6694a7c557232d1021700f6edef6f044923c54)
BibTeX
@misc{dcbfe7fa5f537b,
  title = {Solidity Meets LLMs: A Transformer-Based Approach to Smart Contract Vulnerability Detection — arXiv:2609.27091},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.27091},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_bfe7fa5f537b; sha256 469e71cc9635a8b3a1058d1faf6694a7c557232d1021700f6edef6f044923c54},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.27091. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

The growing adoption of blockchain technologies, particularly the Ethereum platform, has amplified the critical role of smart contracts in decentralized applications. However, the increasing complexity and financial value of these contracts make them prime targets for cyber attacks. In this work, we present a transformer-based approach for the detection of vulnerabilities in smart contract fragments written in Solidity. Leveraging the representational power of pre-trained Large Language Models (LLMs), we construct a robust pipeline that includes the definition of a ground truth dataset, labeling code fragments as vulnerable or safe. We then fine-tune a BERT-based architecture on this dataset, enabling the model to capture the syntactic and semantic patterns specific to Solidity code. Our fine-tuned model demonstrates strong performance, achieving an F1 score of 92%, and highlighting the effectiveness of LLM adaptation in enhancing smart contract security through deep contextual understanding.

Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-09-24 in cs.CR).
Categorie arXiv: Cryptography and Security (cs.CR) ; Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2609.27091 — 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-08T09:26:35.684Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-09-24?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).