Environment-Grounded Multi-Agent Workflow for Autonomous Penetration Testing
Organizations: JOANNEUM RESEARCH Forschungsgesellschaft mbH, DIGITAL – Institute for Digital Technologies, Steyrergasse 17, 8010 Graz, Austria · TU Graz, Institute for Technical Informatics, Inffeldgasse 16/I, 8010 Graz, Austria · Alias Robotics S.L., Calle Venta de la Estrella, 6 Pab. 130, 01006 Vitoria-Gasteiz, Álava, Spain · Jamk University of Applied Sciences, Institute of Information Technology, 40101 Jyväskylä, Finland
Abstract
The increasing complexity and interconnectivity of digital infrastructures make scalable and reliable security assessment methods essential. Robotic systems represent a particularly important class of operational technology, as modern robots are highly networked cyber-physical systems deployed in domains such as industrial automation, logistics, and autonomous services. This paper explores the use of large language models for automated penetration testing in robotic environments. We propose an environment-grounded multi-agent architecture tailored to Robotics-based systems. The approach dynamically constructs a shared graph-based memory during execution that captures the observable system state, including network topology, communication channels, vulnerabilities, and attempted exploits. This enables structured automation while maintaining traceability and effective context management throughout the testing process. Evaluated across multiple iterations within a specialized robotics Capture-the-Flag scenario (ROS/ROS2), the system demonstrated high reliability, successfully completing the challenge in 100% of test runs (n=5). This performance significantly exceeds literature benchmarks while maintaining the traceability and human oversight required by frameworks like the EU AI Act.
Figures & tables
| Approach | Model | CTF-0 | CTF-1 | CTF-2 | CTF-3 |
|---|---|---|---|---|---|
| Proposed | llama-3.3-70b-instruct | (5, 0) | (5, 0) | (5, 0) | (5, 0) |
| deepseek-v3.2 | (5, 0) | (1, 4) | (1, 4) | (0, 5) | |
| gemma-3-27b-it | (5, 0) | (0, 5) | (0, 5) | (0, 5) | |
| hermes-2-pro-llama-3-8b | (5, 0) | (0, 5) | (0, 5) | (0, 5) | |
| HackSynth [ 20 ] | llama-3.3-70b-instruct | (5, 0) | (4, 1) | (0, 5) | (0, 5) |
| deepseek-v3.2 | (4, 1) | (2, 3) | (0, 5) | (0, 5) |
Automated Penetration Testing
Automated penetration testing uses software agents to find, verify, and assess exploitable weaknesses in systems.
See all 48 papers