Enhancing Electric Vehicle Charging Security Through Blockchain Smart Contracts: Mathematical Security Analysis and Reproducible Experimental Evaluation
Gonesh Chandra Saha, Ahmed Afif Monrat, Karl Andersson
Key points
From the paper's conclusion- Compared with those broader benchmarks, the research provides a reproducible basis for further investigation of secure, auditable EV charging management using blockchain-based smart contracts.
Abstract
Electric vehicle (EV) charging infrastructure faces security challenges involving unauthorized access, replay attacks, metering-data manipulation, and transaction integrity. This study presents a blockchain-based smart contract framework for charging session management, energy meter authentication, and charging cost computation. The proposed ChargingSessionManager architecture was enhanced with digital signature validation, nonce-based replay prevention, authorized metering updates, and session state transition control. A mathematical security assessment of the system examines authentication, data integrity, replay prevention, and resilience to replay attacks under clearly defined cryptographic and implementation assumptions. It uses a stochastic model to simulate charging load for 200 EVs and 30 charging stations over 60 days, along with behavioral testing of smart contracts in a local Ethereum-compatible environment, providing a strong basis for evaluating the system’s security. The extended evaluation included 102 behavioral tests across three contract deployments, 36 of which were submissions with randomized altered energy inputs. All tests yielded the expected results. The recorded mean gas usage was 177,804.5 gas for initiating the session, 103,065 gas for meter updates, and 79,893 gas for session finalization. These results provide implementation-level proof of the selected security controls in the tested environment, but they do not constitute a comprehensive formal proof, production-level network performance, or defense against all attacks. Compared with those broader benchmarks, the research provides a reproducible basis for further investigation of secure, auditable EV charging management using blockchain-based smart contracts.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Digital Twin-Driven Cybersecurity for 5G/6G-Enabled Electric Vehicle Charging Infrastructure: A ReviewEnergies · 2025
- Physical-Layer Exploits on EV Chargers: Authentication and Systemic Protocol WeaknessesSecurity and Safety · 2026
- Blockchain architectures for enhancing EV infrastructure security: A unified framework for addressing sophisticated cyber-attacksFuture Generation Computer Systems · 2026
- A blockchain-integrated, energy-efficient dual-agent reinforcement learning framework for resilient electric vehiclesAin Shams Engineering Journal · 2026
- Enhancing the Detection of Cyber-Attacks to EV Charging Infrastructures Through AI TechnologiesElectronics · 2025
- Ensemble Particle Swarm-Genetic Algorithm with Blockchain-Secured Energy Trading for Coordinated Attack Resilience in Vehicle-to-Grid NetworksInternational Journal of Computational Intelligence Systems · 2026