potentialpaper

Sol2Vy : Leveraging Solidity-Trained Models for Vyper Smart Contract Analysis

Minghao Hu, Qiang Zeng, Lannan Luo

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Smart contracts have transformed decentralized finance, but flaws in their logic still create major security threats and financial losses. Most existing vulnerability detection techniques focus on well-supported languages like Solidity, while low-resource counterparts such as Vyper remain largely underexplored due to scarce analysis tools and limited labeled datasets. To address this gap, we introduce Sol2Vy, a novel framework that enables vulnerability detection in Vyper smart contracts using models trained solely on Solidity. The key enabler is SlithIR, which we leverage as an intermediate representation to achieve effective cross-language knowledge transfer. Our framework follows a principled three-stage design that integrates unsupervised knowledge learning, supervised vulnerability detection model training on Solidity, and cross-language testing on Vyper. This approach eliminates the need for extensive labeled Vyper datasets typically required to build an accurate vulnerability detection model. We implement and evaluate Sol2Vy on three critical vulnerability types: reentrancy, weak randomness, and unchecked transfer. Experimental results show that Sol2Vy achieves strong detection performance on Vyper contracts despite being trained exclusively on Solidity, significantly outperforming existing tools.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…