PyWSNSim: A Python-based component-oriented simulation framework for sinkhole attack analysis in large-scale WSNs

Large-scale wireless sensor networks (WSNs), consisting of hundreds to thousands of sensor nodes, are vulnerable to malicious threats such as sinkhole attacks. While several frameworks for simulating WSNs have been proposed to defend against malicious threats, existing simulators have limitations when it comes to configuring large-scale environments, modeling sinkhole attacks, and building standardized attack datasets. These difficulties hinder the development of effective attack detection and defense mechanisms. To overcome these limitations, this paper proposes PyWSNSim, a component-centric Python-based simulation framework to simulate and analyze sinkhole attacks in large-scale WSNs. PyWSNSim provides scalability for environment parameters, routing protocols, and attack models in a sensor network. The proposed framework transforms the behavior of the network in various sinkhole attack scenarios into a dataset. This dataset not only guarantees the reproducibility of attacks but is also utilized as a training dataset for machine learning-based network threat detection models.

Authors

Institutions

Publication Details

Journal
SoftwareX
Published
2026-04-22
DOI
https://doi.org/10.1016/j.softx.2026.102667
Primary Topic
Security in Wireless Sensor Networks
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

PyWSNSim: A Python-based component-oriented simulation framework for sinkhole attack analysis in large-scale WSNs

Su Man Nam, Seungwoo Han, Toshihisa Tanaka
SoftwareX
Security in Wireless Sensor Networks
article

PyWSNSim: A Python-based component-oriented simulation framework for sinkhole attack analysis in large-scale WSNs

Su Man Nam, Seungwoo Han, Toshihisa Tanaka
article en

Abstract

Large-scale wireless sensor networks (WSNs), consisting of hundreds to thousands of sensor nodes, are vulnerable to malicious threats such as sinkhole attacks. While several frameworks for simulating WSNs have been proposed to defend against malicious threats, existing simulators have limitations when it comes to configuring large-scale environments, modeling sinkhole attacks, and building standardized attack datasets. These difficulties hinder the development of effective attack detection and defense mechanisms. To overcome these limitations, this paper proposes PyWSNSim, a component-centric Python-based simulation framework to simulate and analyze sinkhole attacks in large-scale WSNs. PyWSNSim provides scalability for environment parameters, routing protocols, and attack models in a sensor network. The proposed framework transforms the behavior of the network in various sinkhole attack scenarios into a dataset. This dataset not only guarantees the reproducibility of attacks but is also utilized as a training dataset for machine learning-based network threat detection models.

SoftwareXVol. 34
Cheongju University (KR), Tokyo University of Agriculture and Technology (JP)
Japan Science and Technology Agency
Openalex Percentile: Top 8%
Security in Wireless Sensor Networks
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.