arXiv:2610.32902cs.CROct 2026

Manuscript Offprint

arXiv:2610.32902

EVSEFuzz : A Tool for Automated Testing of Protocol Implementations

Soham Gumaste, Michael Khan, Roland Varriale, Rigel Gjomemo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The rapid adoption and development of electric vehicle (EV) networks has required the expansive deployment of EV charging infrastructure (EVCI) which relies on communication protocols such as the open charge point protocol (OCPP) to coordinate data transfer between charging network operators and the EV supply equipment. In this paper, we present EVSEFuzz, a tool for automatically building fuzzers to test the security of protocol implementations. To achieve this we make a novel use of Python datatype validation packages and tools to “understand” datatypes and message structures and generate both compliant and non-compliant messages. To date, EVSEFuzz has been tested successfully with several open and closed-source implementations and has found several vulnerabilities leading to the publication of two CVEs.

1 Introduction

The recent adoption of EVs has led to a rapid development of EV charging infrastructures (EVCI). Because of the novelty of this phenomenon, the EVCI environment is fragmented into many stakeholders, including charging companies, car manufacturers, power companies, and customers. In turn, such fragmentation makes it challenging to create common security models and techniques that apply across the industry. In this context, while a few widely accepted protocols exist, like Open Charge Point Protocol (OCPP), Open Charge Point Interface (OCPI), their implementations may vary widely across the EV charging industry. Specifically, the rapid expansion of the role of OCPP within modern charging applications has the ability to amplify the consequences of attacks through OCPP due to the increased reach and degree of connectivity. This

∗^{*}Contributions made while affiliated to University of Illinois Chicago includes expansion of Vehicle-to-Everything (V2X) applications to include distributed energy resources, eMobility systems, and home energy distribution. In this fragmented environment, it becomes important to be able to create security testing methods that can scale across multiple implementations with little manual efforts.

Several works have focused on identifying potential challenges and pitfalls to OCPP implementations [1]; however, more generalized testing and assessment methods have been proposed by only one paper [2]; however, this framework does not include fuzzing analysis of software implementations of communication protocols.

In this paper, we present EVSEFuzz, a tool that is used to build fuzzers for any remote communication protocol. Given a specification of the messages in the protocol as a JSON schema or an XML schema, EVSEFuzz is able to automatically build compliant and non compliant messages that can be sent to a testing target remotely. To address potential concerns related to intellectual property, EVSEFuzz is implemented as a black-box fuzzing approach that does not require access to the code. As part of a larger project sponsored by Argonne National Laboratory and the Department of Energy, we have evaluated EVSEFuzz on software belonging to one EV charging company (with whom we signed an NDA), and several open source software projects. EVSEFuzz found several non-compliance cases and zero-day vulnerabilities resulting in two CVE entries. To date, EVSEFuzz is able to fuzz implementations of OCPP (all versions), OCPI 2.2.1, and OpenADR and can be expanded to work with additional communication protocols with open specifications.