Research Article

Explainable Graph Neural Networks for Malware Propagation Mapping in Supply-Chain Attacks

Authors

  • Md Naim Mukabbir Independent Researcher

Abstract

The growing prevalence of supply-chain attacks has revealed fundamental weaknesses that exist with current software ecosystems, in which malware spreads across intricate and opaque dependency networks. Static, graph-structured relationships between software components, developers and repositories are largely ignored by traditional natural language detection methods. In this work, we present an Explainable Graph Neural Network (XGNN) architecture to draw and understand the map of malware propagation in supply-chain networks. By parameterizing software dependencies with heterogeneous graphs— where nodes correspond to packages, versions and contributors, and edges represent dependency or communication relationships—the model learns latent relational patterns upon which malicious infiltration and propagation depend. The GNN architecture with message passing and graph attention components learns contextual embeddings, while interpretability modules GNNExplainer and GraphLIME offer interpretable explanations for infection pathways, root causes, and high-risk nodes. Experimental results on real-world datasets (i.e., npm, PyPI and Maven) show that our approach successfully achieves early detection while ensuring high-interpretable explanations compared to black-box baselines. The XGNN model makes cybersecurity analytics more transparent, which contributes to proactive defence and forensic analysis over software supply-chain ecosystems.

Article information

Journal

Frontiers in Computer Science and Artificial Intelligence

Volume (Issue)

2 (1)

Pages

47-60

Published

2025-11-18

How to Cite

Explainable Graph Neural Networks for Malware Propagation Mapping in Supply-Chain Attacks. (2025). Frontiers in Computer Science and Artificial Intelligence, 2(1), 47-60. https://al-kindipublisher.com/index.php/fcsai/article/view/11451

Downloads

Views

5

Downloads

1

Keywords:

Explainable AI, Graph Neural Networks, Malware Propagation, Supply-Chain Attacks, Cybersecurity, Software Dependencies.