Semantic graph model detects assembly vulnerabilities with 85.1% accuracy
SEMA-GUARD can identify flaws in assembly code achieving 85.1% accuracy and 0.801 F1
Security & privacy arXiv 15 Sep 2026 Method Prototype evidence
Published as “SEMA-GUARD: Semantic and Graph-Based Vulnerability Detection in Assembly Code”
Why it matters
The approach can be integrated into firmware, malware, and binary auditing pipelines to detect vulnerabilities without source code, but its practical impact is limited until validated on real-world binaries.
Summary
SEMA-GUARD achieves 85.1% accuracy and a 0.801 F1-score on a function-level dataset derived from the Juliet Test Suite, outperforming rule-based, opcode-frequency, and CFG-GNN baselines. The improvement comes from augmenting control-flow graphs with low-level semantic features such as stack manipulation, memory accesses, and taint propagation. Evidence is limited to a synthetic benchmark and excludes Windows binaries, different compilers, and inter-procedural interactions, so the results may not generalize to real-world binaries.
What they found 2
- The full SEMA-GUARD model reaches 85.1% accuracy, 0.860 precision, 0.774 recall, and 0.801 F1-score on the Juliet-derived test set.
“The model achieves an accuracy of 85.1%, with a precision of 0.860, recall of 0.774, and F1-score of 0.801.”
- SEMA-GUARD outperforms baselines, achieving higher precision and accuracy than a CFG-GNN without semantics.
“SEMA-GUARD provides an even better performer by adding semantic information to the graph neural network.”
Caveats 7
- Recall is only 0.774, indicating a notable number of false negatives.
- "The problem lies in the amount of false negatives, implying that there are vulnerabilities which cannot be recognized by our model."
- Evaluation is confined to a synthetic benchmark (Juliet) that may not reflect real-world binary diversity.
- For one thing, the use of Juliet Test Suite data set is questionable, since the programs it comprises of have been generated synthetically by means of implementing specific vulnerability patterns.
- Secondly, only non Windows test cases could be considered because of the lack of necessary tools and resources to conduct analysis in this particular environment.
- Another limitation is the absence of compiler diversity evaluation.
- In addition, the present framework is built around a function analysis approach.
What’s new here 4
- Adds low-level semantic node features (stack, memory, taint) to assembly CFGs for GNN processing.
- Combines semantic and structural information in a single model rather than relying solely on syntax or graph structure.
- Provides an ablation study showing complementary contributions of semantics and graph modeling.
- Offers a publicly released dataset and code for reproducibility.