mlsanityData to 7 Oct 2026

eDySec: A Deep Learning-based Explainable Dynamic Analysis Framework for Detecting Malicious Packages in PyPI Ecosystem

arXiv 2604.26219 ↗First posted 29 Apr 2026cs.CR cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

The security of open-source software repositories is increasingly threatened by next-gen software supply chain attacks. These attacks include multiphase malware execution, remote access activation, and dynamic payload generation. Traditional Machine Learning (ML) detectors struggle to detect these attacks due to the high-dimensional and sparse nature of dynamic behavioral data, including system calls, network traffic, directory access patterns, and dependency logs. As a result, these data characteristics degrade the performance, stability, and explainability of ML models. These challenges have made Deep Learning (DL) a promising alternative, given its success across various domains and its potential for modeling complex patterns. This paper presents eDySec, a DL-based efficient, stable, and explainable framework for dynamic behavioral analysis to detect malicious packages. Using the QUT-DV25 dataset, which captures both install-time and post-installation behaviors of packages, we evaluate DL models and investigate feature sets to identify the most discriminative attributes for enabling efficient malicious package detection. Additionally, model stability analysis and explainable AI techniques are incorporated into the detection pipeline to enable stable, and transparent interpretations of model decisions. Experimental results demonstrate that eDySec significantly outperforms the state-of-the-art frameworks. Specifically, it halves feature dimensionality while lowering false positives by 82% and false negatives by 79%. It also improves accuracy by 3%, achieves near-perfect stability, and maintains an inference latency of 170ms per package. Further analysis reveals that feature and model selection play a critical role, as certain combinations degrade performance. Ultimately, this study advances the understanding of the strengths and limitations of dynamic analysis against next-gen attacks.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 21 of its 63 references that are in the map. First posted on arXiv 29 Apr 2026.

Builds on

21 of 63 references.

References · 21

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  4. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  5. 2016Time for a change: a tutorial for comparing multiple classifiers through Bayesian analysiscited by 92
  6. 2020On the Tractability of SHAP Explanationscited by 92
  7. 2020Explaining the Explainer: A First Theoretical Analysis of LIMEcited by 89
  8. 2020Backstabber's Knife Collection: A Review of Open Source Software Supply Chain Attackscited by 57
  9. 2023Adversarial attacks and defenses in explainable artificial intelligence: A surveycited by 47
  10. 2023An Empirical Study of Malicious Code In PyPI Ecosystemcited by 18
  11. 2022A Benchmark Comparison of Python Malware Detection Approachescited by 7
  12. 2024DONAPI: Malicious NPM Packages Detector using Behavior Sequence Knowledge Mappingcited by 6
9 more
  1. 2023On the Feasibility of Cross-Language Detection of Malicious Packages in npm and PyPIcited by 5
  2. 2024Explainable Artificial Intelligence (XAI) for Malware Analysis: A Survey of Techniques, Applications, and Open Challengescited by 5
  3. 2025MalGuard: Towards Real-Time, Accurate, and Actionable Detection of Malicious Packages in PyPI Ecosystemcited by 5
  4. 2022Dependable Intrusion Detection System for IoT: A Deep Transfer Learning-based Approachcited by 4
  5. 2024PyRadar: Towards Automatically Retrieving and Validating Source Code Repository Information for PyPI Packagescited by 3
  6. 2024A Machine Learning-Based Approach For Detecting Malicious PyPI Packagescited by 3
  7. 2025DySec: A Machine Learning-based Dynamic Analysis for Detecting Malicious Packages in PyPI Ecosystemcited by 3
  8. 2026An Empirical Study of Observability Limits in Advanced Software Supply Chain Attackscited by 3
  9. 2026Cutting the Gordian Knot: Detecting Malicious PyPI Packages via a Knowledge-Mining Frameworkcited by 2

Built on by

Not cited yet.