ETrace:Event-Driven Vulnerability Detection in Smart Contracts via LLM-Based Trace Analysis
By: Chenyang Peng , Haijun Wang , Yin Wu and more
Potential Business Impact:
Finds hidden problems in digital money agreements.
With the advance application of blockchain technology in various fields, ensuring the security and stability of smart contracts has emerged as a critical challenge. Current security analysis methodologies in vulnerability detection can be categorized into static analysis and dynamic analysis methods.However, these existing traditional vulnerability detection methods predominantly rely on analyzing original contract code, not all smart contracts provide accessible code.We present ETrace, a novel event-driven vulnerability detection framework for smart contracts, which uniquely identifies potential vulnerabilities through LLM-powered trace analysis without requiring source code access. By extracting fine-grained event sequences from transaction logs, the framework leverages Large Language Models (LLMs) as adaptive semantic interpreters to reconstruct event analysis through chain-of-thought reasoning. ETrace implements pattern-matching to establish causal links between transaction behavior patterns and known attack behaviors. Furthermore, we validate the effectiveness of ETrace through preliminary experimental results.
Similar Papers
TraceLLM: Security Diagnosis Through Traces and Smart Contracts in Ethereum
Cryptography and Security
Finds hidden money theft in digital contracts.
Enhancing Smart Contract Vulnerability Detection in DApps Leveraging Fine-Tuned LLM
Cryptography and Security
Finds hidden bugs in online money apps.
Leveraging Large Language Models and Machine Learning for Smart Contract Vulnerability Detection
Cryptography and Security
Finds hidden bugs in computer money code.