arXiv:2604.26219cs.CRcs.LG2026-04被引 1

eDySec用深度学习高效检测PyPI恶意包,显著降低误报漏报。

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

论文配图:eDySec: A Deep Learning-based Explainable Dynamic Analysis Framework for Detecting Malicious Packages in PyPI Ecosystem
图 1 · 摘自论文原文
  • 基于动态行为数据构建可解释的深度学习框架,融合特征筛选与模型稳定性分析。
  • 特征维度减半,误报率降82%,漏报率降79%,推理延迟仅170ms。
  • 适合安全研究人员和开源生态维护者,提升供应链攻击检测透明度。

开源软件仓库的安全正面临新一代供应链攻击的威胁,包括多阶段恶意执行、远程访问激活和动态载荷生成。传统机器学习检测器因动态行为数据(如系统调用、网络流量、目录访问模式、依赖日志)的高维稀疏性,导致性能下降、不稳定且难以解释。本文提出eDySec,一个基于深度学习的高效、稳定且可解释的动态行为分析框架,用于检测恶意包。利用QUT-DV25数据集(涵盖安装时与安装后行为),评估多种深度学习模型并分析特征集,识别最具区分性的属性以实现高效检测。同时,在检测流程中引入模型稳定性分析与可解释AI技术,确保决策透明可靠。实验表明,eDySec显著优于现有先进框架:特征维度降低50%,误报率下降82%,漏报率下降79%,准确率提升3%,近似完美稳定性,单包推理延迟仅170ms。进一步分析显示,特征与模型组合对性能影响重大,某些组合会严重退化效果。本研究深化了对动态分析应对新型攻击能力的理解。

原文摘要 · Abstract (English)

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.

恶意软件检测深度学习可解释性PyPI安全

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。