SCOUT: Smart Contract Open-Set Unknown Vulnerability Detection via Multi-Perspective Feature Fusion and Anomaly-Aware Recognition
Smart contracts secure tens of billions of dollars in digital assets, and their immutability makes them a natural target for attackers. Current detection methods lean on predefined rules or closed-set classifiers, which limits their coverage of previously unseen vulnerabilities. We propose SCOUT (Smart Contract Open-set Unknown-vulnerability Detector), a framework that couples multi-perspective feature fusion with anomaly-aware open-set detection. SCOUT instruments the Ethereum Virtual Machine (EVM) to collect opcode sequences, call depths, and runtime parameters; symbolic simulation then maps numerical parameters to 22 semantic types while preserving fine-grained data-flow information. Hybrid embeddings encode opcode semantics, a graph convolutional network models data dependencies over a sparse dependency graph, and four statistical metrics (jump flags, gas costs, call-depth changes, and storage access flags) complete the fused representation. An anomaly-driven rule then combines a learned anomaly score with per-class prototype-distance thresholds to identify unknown vulnerabilities. From a symmetry perspective, SCOUT learns class-symmetric representations while preserving inter-class asymmetry and detects unknown vulnerabilities as symmetry-breaking samples. Six-fold leave-one-type-out cross-validation on 10,508 opcode traces yields a mean unknown-detection rate of 52.7%. When Unchecked External Call is held out, SCOUT reaches 90.2%, exceeding classical out-of-distribution baselines.
Authors
- Gu Yin (ORCID: https://orcid.org/0000-0003-4680-0073)
- Xiaofei Xing (ORCID: https://orcid.org/0000-0002-2486-8379)
- Peiqiang Li
Institutions
- Xinyang Normal University (CN)
- Guangzhou University (CN)
- Air Force Engineering University (CN)
Publication Details
- Journal
- Symmetry
- Published
- 2026-11-16
- DOI
- https://doi.org/10.3390/sym18111919
- Primary Topic
- Blockchain Technology Applications and Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Natural Science Foundation of Henan Province