eDySec halves feature dimensions and cuts false positives 82% while improving accuracy 3%
eDySec outperforms existing detectors by halving feature dimensionality, reducing false positives 82% and false negatives 79%, and raising accuracy 3%
AI/ML arXiv 29 Apr 2026 Method Prototype evidence
Published as “eDySec: A Deep Learning-based Explainable Dynamic Analysis Framework for Detecting Malicious Packages in PyPI Ecosystem”
Why it matters
The framework can be deployed to more reliably block malicious PyPI packages with low latency, improving supply-chain security for downstream applications.
Summary
eDySec cuts feature dimensionality by about half and reduces false positives by 82% and false negatives by 79% while nudging accuracy up 3% and keeping inference at 170 ms per package. The paper reports these gains on the QUT-DV25 dataset of 14,271 PyPI packages, comparing against prior dynamic analysis frameworks and traditional ML baselines. Evidence is strong for the combined trace feature set and the FLAML-selected 17-feature subset, but performance on the Install trace alone drops to ~0.80 F1, showing the approach is not uniformly effective across all behavior types.
What they found 3
- Feature dimensionality is halved while false positives and false negatives drop dramatically
“Specifically, it halves feature dimensionality while lowering false positives by 82% and false negatives by 79%.”
- FLAML yields the best trade-off between accuracy and compactness
“FLAML provides the most favorable trade-off between predictive performance and feature compactness, matching the highest observed accuracy while using the fewest features among the top-performing methods.”
- Combined trace set achieves 0.99 across all classification metrics
“the Combined trace feature set delivers the strongest overall performance, achieving 0.99 accuracy, precision, recall, and F1-score under CORR, FLAML, PSO, and WOA”
Caveats 1
- Install is clearly the weakest feature set, with performance generally capped around 0.80 F1-score despite occasionally achieving very high recall.
What’s new here 4
- Integrates deep learning with dynamic install-time and post-installation traces for PyPI packages
- Applies multiple feature-selection methods and selects FLAML for a compact 17-feature subset
- Evaluates model stability across repeated runs with statistical confidence measures
- Provides explainability via SHAP and LIME for transparent security decisions