Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Rust Vulnerability Classification with WL-EnhancedLLVM-IR-Derived Code Property Graphs

View through CrossRef
Abstract Rust’s ownership paradigm provides substantial but not absolute safety; vulnerabilities may still arise from unsafe code, flawed logic, concurrency behavior, or insecure dependencies. This paper investigates whether security patterns can be distinguished using Code Property Graphs (CPGs) generated fromRust-produced LLVM Intermediate Representation (LLVM IR). The dataset was produced through are peatable workflow spanning RustSec-guided source collection, LLVM IR generation, CPG conversion, and JSON validation. After excluding malformed graphs and graphs exceeding the processing limit, the dataset comprised 235 CPGs—145 safe-labeled and 90 vulnerable-labeled. Each CPG was represented asa 182-dimensional hybrid vector combining pooled node attributes, a two-iteration Weisfeiler–Lehman(WL) neighborhood signature, and twenty graph-level descriptors. Three classifiers—XGBoost, RandomForest, and a radial basis function support vector machine—were evaluated on this representation, while a graph convolutional network (GCN) learned directly from CPG structure under five-fold stratified cross-validation partitions. XGBoost achieved the strongest observed performance, with78.81% balanced accuracy, a receiver operating characteristic area under the curve (ROC–AUC)of 0.9033, and a precision–recall area under the curve (PR–AUC) of 0.8603. Feature-component analysis shows an observed improvement when WL features are added to pooled node attributes forXGBoost, while pooled node attributes alone provide a strong predictive baseline and the handcrafted feature block produces a smaller, model-dependent change. A graph-size-grouped stress test showed a pronounced decline, indicating sensitivity to repeated graph-size signatures across folds. The study supports LLVM-IR-derived CPG embeddings for within-dataset vulnerability classification, while generalization to unseen crates and security advisories requires independent evaluation
Springer Science and Business Media LLC
Title: Rust Vulnerability Classification with WL-EnhancedLLVM-IR-Derived Code Property Graphs
Description:
Abstract Rust’s ownership paradigm provides substantial but not absolute safety; vulnerabilities may still arise from unsafe code, flawed logic, concurrency behavior, or insecure dependencies.
This paper investigates whether security patterns can be distinguished using Code Property Graphs (CPGs) generated fromRust-produced LLVM Intermediate Representation (LLVM IR).
The dataset was produced through are peatable workflow spanning RustSec-guided source collection, LLVM IR generation, CPG conversion, and JSON validation.
After excluding malformed graphs and graphs exceeding the processing limit, the dataset comprised 235 CPGs—145 safe-labeled and 90 vulnerable-labeled.
Each CPG was represented asa 182-dimensional hybrid vector combining pooled node attributes, a two-iteration Weisfeiler–Lehman(WL) neighborhood signature, and twenty graph-level descriptors.
Three classifiers—XGBoost, RandomForest, and a radial basis function support vector machine—were evaluated on this representation, while a graph convolutional network (GCN) learned directly from CPG structure under five-fold stratified cross-validation partitions.
XGBoost achieved the strongest observed performance, with78.
81% balanced accuracy, a receiver operating characteristic area under the curve (ROC–AUC)of 0.
9033, and a precision–recall area under the curve (PR–AUC) of 0.
8603.
Feature-component analysis shows an observed improvement when WL features are added to pooled node attributes forXGBoost, while pooled node attributes alone provide a strong predictive baseline and the handcrafted feature block produces a smaller, model-dependent change.
A graph-size-grouped stress test showed a pronounced decline, indicating sensitivity to repeated graph-size signatures across folds.
The study supports LLVM-IR-derived CPG embeddings for within-dataset vulnerability classification, while generalization to unseen crates and security advisories requires independent evaluation.

Related Results

(Invited) Rust Design for Corrosion Protection of Steel Exposed to Atmospheric and Marine Environments
(Invited) Rust Design for Corrosion Protection of Steel Exposed to Atmospheric and Marine Environments
Steel materials have been used in many fields as basic materials for infrastructures due to their superior strength and toughness. However, steel is significantly more susceptible ...
Graphs with at most two moplexes
Graphs with at most two moplexes
AbstractA moplex is a natural graph structure that arises when lifting Dirac's classical theorem from chordal graphs to general graphs. The notion is known to be closely related to...
First Report of Orange Rust of Sugarcane Caused by Puccinia kuehnii in Ivory Coast and Cameroon
First Report of Orange Rust of Sugarcane Caused by Puccinia kuehnii in Ivory Coast and Cameroon
Orange rust of sugarcane caused by Puccinia kuehnii was detected in Florida in 2007 (1). It was hypothesized that the pathogen originated from Africa because brown rust of sugarcan...
Weakly Modular Graphs and Nonpositive Curvature
Weakly Modular Graphs and Nonpositive Curvature
This article investigates structural, geometrical, and topological characterizations and properties of weakly modular graphs and of cell complexes derived from them. The unifying t...
SEEDLING REACTIONS OF WHEAT VARIETIES TO STEM RUST AND LEAF RUST AND OF OAT VARIETIES TO STEM RUST AND CROWN RUST
SEEDLING REACTIONS OF WHEAT VARIETIES TO STEM RUST AND LEAF RUST AND OF OAT VARIETIES TO STEM RUST AND CROWN RUST
A study of the rust reactions of wheat varieties to 20 physiologic races of stem rust has shown that several varieties of the vulgare type, namely, McMurachy, Eureka, and several s...

Back to Top