arXiv Science⌕ Search

arXiv subjects

Likai Ye

Publications and source records attributed to Likai Ye.

2 recordsLinked to original sources

VULNSEER: Layer-Wise Exploit State Re-expression for Vulnerable-Dependency Exploit Payload Synthesis

Modern Java applications widely reuse third-party libraries, but the presence or reachability of a vulnerable dependency does not necessarily imply that the client project is exploitable. Determining exploitability requires synthesizing an entry-side payload that drives a project-side entry function to a vulnerable library sink and satisfies the vulnerability-specific oracle. Existing test migration, state mimicry, and directed fuzzing techniques become less effective on long client-to-library call chains because the vulnerability-triggering condition is often represented by different caller-controllable states across layers and governed by off-chain construction or propagation logic. We present VULNSEER, an LLM-guided exploit state re-expression framework for vulnerable-dependency exploit payload synthesis. VULNSEER derives a sink-level requirement from a library-side exploit sketch, infers layer-wise exploit goals backward from the vulnerable sink to the project-side entry, reorganizes them into a forward execution plan, and uses RL-based exploit-relevant context selection to guide exploit state resolution. The resolved argument and object-state bindings are assembled into an executable payload and validated through instrumented replay. On 269 ground-truth exploitable call chains from 49 Java projects and 32 vulnerabilities, VULNSEER achieves a mean overall success rate of 87.11\% ($\pm$0.62\%), outperforming MAGNETO, VESTA, TRANSFER, and VULEUT, which achieve 58.74\%, 16.36\%, 19.70\%, and 17.84\%, respectively.

cs.CR↗

Bridging Solidity Evolution Gaps: An LLM-Enhanced Approach for Smart Contract Compilation Error Resolution

Solidity, the dominant smart contract language for Ethereum, has rapidly evolved with frequent version updates to enhance security, functionality, and developer experience. However, these continual changes introduce significant challenges, particularly in compilation errors, code migration, and maintenance. Therefore, we conduct an empirical study to investigate the challenges in the Solidity version evolution and reveal that 81.68% of examined contracts encounter errors when compiled across different versions, with 86.92% of compilation errors. To mitigate these challenges, we conducted a systematic evaluation of large language models (LLMs) for resolving Solidity compilation errors during version migrations. Our empirical analysis across both open-source (LLaMA3, DeepSeek) and closed-source (GPT-4o, GPT-3.5-turbo) LLMs reveals that although these models exhibit error repair capabilities, their effectiveness diminishes significantly for semantic-level issues and shows strong dependency on prompt engineering strategies. This underscores the critical need for domain-specific adaptation in developing reliable LLM-based repair systems for smart contracts. Building upon these insights, we introduce SMCFIXER, a novel framework that systematically integrates expert knowledge retrieval with LLM-based repair mechanisms for Solidity compilation error resolution. The architecture comprises three core phases: (1) context-aware code slicing that extracts relevant error information; (2) expert knowledge retrieval from official documentation; and (3) iterative patch generation for Solidity migration. Experimental validation across Solidity version migrations demonstrates our approach's statistically significant 24.24% improvement over baseline GPT-4o on real-world datasets, achieving near-perfect 96.97% accuracy.

cs.SE↗