A method and system for detecting vulnerabilities in smart contracts based on meta-operations
By using a meta-operation-based smart contract vulnerability detection method, vulnerability detection rules are separated from code. Meta-operations and logical operators are defined to form vulnerability detection script files, which solves the problems of code complexity and poor scalability of existing tools and achieves efficient vulnerability detection.
Patent Information
- Application Number
- CN202211634919.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-19
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2042-12-19
AI Technical Summary
Existing smart contract vulnerability detection tools suffer from tight coupling between vulnerability detection rules and tool code, resulting in complex code design, poor scalability, difficulty in adapting to the rapidly increasing trend of contract vulnerabilities, and the need for professional programming skills and repetitive code writing, which affects maintainability.
A vulnerability detection method based on meta-operations is adopted, which separates vulnerability detection rules from detection code. Meta-operations are defined as abstract functions, and vulnerability detection rules are described by logical operators to form vulnerability detection script files. The detection engine then parses and executes the vulnerability detection rules.
It enables the reuse of meta-operations, improves the scalability and maintainability of vulnerability detection tools, reduces the difficulty of writing new vulnerability rules, and reduces repetitive code writing work.