Hanan Moufid
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Hanan Moufid has a total of 2 co-authors. Here are the top co-authors by number of shared publications:
- Mohamed El Ghazouani
ESIM, Polydisciplinary Faculty of Sidi Bennour, Chouaib Doukkali University, El Jadida 24000, Morocco
3 shared publications - Moulay Ahmed El Kiram
LISI Laboratory, Faculty of Sciences Semlalia, Cadi Ayyad University, Marrakech 40000, Morocco
3 shared publications
Latest Publications
- Open Access
Artificial Intelligence for Intrusion Detection and Prevention: A Systematic Review of Methods, Challenges, and Future Directions
This systematic review synthesizes AI-based techniques for detecting and preventing cyberattacks published between 2019 and 2025. Following PRISMA 2020, we searched IEEE Xplore, Scopus, and the ACM Digital Library (550 records) and included 74 studies after independent dual screening; study quality was appraised with a modified JBI checklist, the risk of bias of the review was assessed with ROBIS, and the review was not registered. We include a higher-level taxonomy of present methods divided into seven categories: (1) traditional machine learning algorithms; (2) deep learning models; (3) hybrid intelligence frameworks; (4) blockchain-based systems; (5) reinforcement learning approaches; (6) ensemble learning methods; and (7) explainable AI (XAI) techniques. Reported accuracies are high in all seven categories (category medians between 95.3% and 99.9%), but individual results range from 58.17% to 100% and were obtained with different datasets, data splits, and evaluation protocols, so they do not support a ranking of the categories. Latency and resource consumption are rarely reported and, when reported, were measured under non-comparable conditions. Automated prevention actions (blocking, rate limiting, or network reconfiguration) are evaluated far less often than detection, although false positives are more costly when they trigger blocking. Targeted machine learning methods report strong performance in phishing detection (96.83–98.3% accuracy in the tabulated studies). This study also identifies several major areas needing improvement, including a predominant reliance on legacy benchmark datasets (NSL-KDD, KDD99, UNSW-NB15), which were used by 25 of the 48 studies with identifiable datasets (52.1%) and a limited capability to interpret “black box” AI models. Accordingly, we suggest that future research use more realistic test environments and recent datasets, develop lightweight and adaptive AI models, and adopt a standardized minimum reporting protocol (accuracy, precision, recall, F1-score, false positive rate, latency, resource usage, and statistical validation), for which we provide a concrete proposal and a list of recent datasets. The intention of this study is to assist cybersecurity practitioners in identifying and implementing effective AI-based security solutions in relation to present-day threats.
Open AccessArtificial Intelligence for Intrusion Detection and Prevention: A Systematic Review of Methods, Challenges, and Future Directions
This systematic review synthesizes AI-based techniques for detecting and preventing cyberattacks published between 2019 and 2025. Following PRISMA 2020, we searched IEEE Xplore, Scopus, and the ACM Digital Library (550 records) and included 74 studies after independent dual screening; study quality was appraised with a modified JBI checklist, the risk of bias of the review was assessed with ROBIS, and the review was not registered. We include a higher-level taxonomy of present methods divided into seven categories: (1) traditional machine learning algorithms; (2) deep learning models; (3) hybrid intelligence frameworks; (4) blockchain-based systems; (5) reinforcement learning approaches; (6) ensemble learning methods; and (7) explainable AI (XAI) techniques. Reported accuracies are high in all seven categories (category medians between 95.3% and 99.9%), but individual results range from 58.17% to 100% and were obtained with different datasets, data splits, and evaluation protocols, so they do not support a ranking of the categories. Latency and resource consumption are rarely reported and, when reported, were measured under non-comparable conditions. Automated prevention actions (blocking, rate limiting, or network reconfiguration) are evaluated far less often than detection, although false positives are more costly when they trigger blocking. Targeted machine learning methods report strong performance in phishing detection (96.83–98.3% accuracy in the tabulated studies). This study also identifies several major areas needing improvement, including a predominant reliance on legacy benchmark datasets (NSL-KDD, KDD99, UNSW-NB15), which were used by 25 of the 48 studies with identifiable datasets (52.1%) and a limited capability to interpret “black box” AI models. Accordingly, we suggest that future research use more realistic test environments and recent datasets, develop lightweight and adaptive AI models, and adopt a standardized minimum reporting protocol (accuracy, precision, recall, F1-score, false positive rate, latency, resource usage, and statistical validation), for which we provide a concrete proposal and a list of recent datasets. The intention of this study is to assist cybersecurity practitioners in identifying and implementing effective AI-based security solutions in relation to present-day threats.
- Open Access
- 10 September 2026
- Published by MDPI AG in Journal of Cybersecurity and Privacy
- Vol. 6 (5) , 160
Metadata Compressibility and Evaluation Bias in Malicious Package Detection for NPM and PyPI
Malicious packages in open source-software supply chains are a growing security concern, yet machine learning detectors built on registry metadata are difficult to interpret and are typically evaluated under protocols susceptible to data leakage. We construct a dataset of 3330 package versions from NPM and PyPI in which every attribute is reconstructed at its exact publication timestamp, and we partition the data so that all versions of a package, all packages of a maintainer, and all members of a name-similarity family reside within a single fold. The primary analysis is restricted to NPM, where 18 of 456 point-in-time attributes attain an AU-PR of 0.9972 against a positive-class baseline of 0.8755 and an AUC-ROC of 0.9828 on 763 held-out versions. A secondary pooled analysis over both ecosystems is reported: the class priors differ by nearly a factor of nine, a classifier using only the ecosystem of origin attains an AUC-ROC of 0.8036, and the pooled figures should be read with that composition in mind. Confidence intervals are obtained by cluster-bootstrap resampling at the composite-group level and are 3.7-times wider than version-level intervals in AU-PR (0.0201 against 0.0055); at that scale, none of the differences between feature subsets, selection-stage orderings, or metadata families reported here is distinguishable from sampling variation. At an operational prevalence of 0.1%, the positive predictive value is 4.3% and recall at the selected threshold is 0.537, indicating that metadata-based detection functions as a triage filter rather than a definitive verdict.
- 10 September 2026
- Published by MDPI AG in Journal of Cybersecurity and Privacy
- Vol. 6 (5) , 160
Open AccessMetadata Compressibility and Evaluation Bias in Malicious Package Detection for NPM and PyPI
Malicious packages in open source-software supply chains are a growing security concern, yet machine learning detectors built on registry metadata are difficult to interpret and are typically evaluated under protocols susceptible to data leakage. We construct a dataset of 3330 package versions from NPM and PyPI in which every attribute is reconstructed at its exact publication timestamp, and we partition the data so that all versions of a package, all packages of a maintainer, and all members of a name-similarity family reside within a single fold. The primary analysis is restricted to NPM, where 18 of 456 point-in-time attributes attain an AU-PR of 0.9972 against a positive-class baseline of 0.8755 and an AUC-ROC of 0.9828 on 763 held-out versions. A secondary pooled analysis over both ecosystems is reported: the class priors differ by nearly a factor of nine, a classifier using only the ecosystem of origin attains an AUC-ROC of 0.8036, and the pooled figures should be read with that composition in mind. Confidence intervals are obtained by cluster-bootstrap resampling at the composite-group level and are 3.7-times wider than version-level intervals in AU-PR (0.0201 against 0.0055); at that scale, none of the differences between feature subsets, selection-stage orderings, or metadata families reported here is distinguishable from sampling variation. At an operational prevalence of 0.1%, the positive predictive value is 4.3% and recall at the selected threshold is 0.537, indicating that metadata-based detection functions as a triage filter rather than a definitive verdict.
- 25 January 2026
- Published by Springer Nature
- p. 81-93
AI-Driven Cyberattack Detection and Prevention: A Systematic Review of Emerging Trends and Future Challenges
- 25 January 2026
- Published by Springer Nature
- p. 81-93
AI-Driven Cyberattack Detection and Prevention: A Systematic Review of Emerging Trends and Future Challenges