Environment-Grounded Multi-Agent Workflow for Autonomous Penetration Testing

Many robots in manufacturing and logistics are built on the Robot Operating System (ROS), which by default does not encrypt its messages or check who sends them. Anyone on the same network can read the messages and send their own. Testing these systems for weaknesses is manual specialist work.

The paper presents a penetration testing system made of three language model agents. One plans the tasks, one runs them as commands, and one records the results. Every host and service found and every command run is stored in a shared graph, which the planner reads before planning the next round. A person decides when the system moves from scanning to attacking. The system was tested on a simulated robot manufacturing network with four capture-the-flag tasks. Four language models were tried as the planner, with five runs per task, and compared with the existing HackSynth framework.

With the best of the four models the system solved all four tasks in every run. That includes the two tasks of listing and reading the robots’ message channels, which HackSynth did not solve with any model. The graph records which agent ran which command and at which stage, so an attack can be reconstructed afterwards. This record, and the person controlling the switch to attacking, are designed to meet the EU AI Act’s requirements for traceability and human oversight.

Authors

Michael Somma, Markus Großpointner, Paul Zabalegui, Eppu Heilimo, Branka Stojanović

Cite as

M. Somma, M. Großpointner, P. Zabalegui, E. Heilimo and B. Stojanović, “Environment-Grounded Multi-Agent Workflow for Autonomous Penetration Testing,” 2026 IEEE 12th International Conference on Network Softwarization (NetSoft), Berlin, Germany, 2026, pp. 570-576, doi: 10.1109/NetSoft70012.2026.11603445.

Publication

https://doi.org/10.1109/NetSoft70012.2026.11603445

Acknowledgments

This work was funded by the European Union’s Horizon Research and Innovation Programme under GA No. 101119681 (project ResilMesh). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Commission. Neither the European Union nor the granting authority can be held responsible for them.

Slide

Adding resilience to digital business

Slide

JYVSECTEC – Jyväskylä Security Technology is an independent research, development, and training center in Finland. We operate as part of Jamk University of Applied Science's Institute of Information Technology.

LinkedIn logo
YouTube logo
GitHub logo

Jamk University of Applied Sciences, Institute of Information Technology
Piippukatu 2, 40100 Jyväskylä, Finland
jyvsectec@jamk.fi

JYVSECTEC – Jyväskylä Security Technology © 2026 Finland.