SecureMeshXAI: an explainable AI framework for intrusion detection and trust management in IoT-WSN mesh networks
Such IoT–WSN mesh deployments, as in smart city, industrial automation, or healthcare scenarios, are vulnerable to routing attacks, including sinkhole, wormhole, Sybil, black hole, and Hello flood attacks, and are susceptible to flooding and botnets. Very few current Intrusion Detection Systems (IDSs) detect traffic and associate it with a node-level trust score, and trigger a neighbourhood context/mitigation mechanism. In this paper, we propose to bring together two streams, one temporal encoder based on GRU and another graph encoder based on GATv2, that are trained together using a learnable gate and are used simultaneously for intrusion detection and trust estimation in SecureMeshXAI. SHAP/LIME, attention-based neighbourhood influence, and rule-based trust rationales are created on the fly for the analyst to review. The evaluation is split into two parts, as public datasets lack mesh topologies and trust labels. On TON_IoT and IoT-23, flows are mapped to communication-interaction graphs and to a proxy trust target based on labels. SecureMeshXAI is also evaluated on a stratified flow-level split, achieving 99.18% accuracy, 98.98% F1-score, and 0.998 ROC-AUC on TON_IoT, and 95.28% accuracy when trained on TON_IoT and tested on IoT-23 without retraining. An independent trust ground truth and closed-loop mitigation are tested in a Contiki-NG/Cooja simulation of a 100-node RPL network, achieving 94.86% trust accuracy and 98.74% mitigation success. Inference requires 16.2 ms per sample when executed on the gateway-class GPU; the framework is thus targeted towards GPU-powered gateways and edge servers, not towards sensor nodes. The implementation code, configuration files, and reproducibility resources for SecureMeshXAI are publicly available on GitHub at https://github.com/Ayesha1419/SecureMeshXAI .
Authors
- N. Aruna
- Ayesha Tarannum
- Kalam Swathi (ORCID: https://orcid.org/0000-0001-6054-6812)
- Vasavi Oleti
- Kuncham Sreenivasa Rao (ORCID: https://orcid.org/0000-0002-2186-0419)
- D. Umamaheshwari
Institutions
- ICFAI Foundation for Higher Education (IN)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-12-02
- DOI
- https://doi.org/10.1038/s41598-026-82797-9
- Primary Topic
- Security in Wireless Sensor Networks
- Type
- article
- Field-Weighted Citation Impact
- 0.00