Incentive-Driven Access Control Framework with Smart Contracts for Secure P2P Networks
Saurav Ghosh, Batuhan Tanrikulu, Reshmi Mitra, Indranil Roy, Bidyut Gupta
Abstract
Access control in P2P networks is extremely challenging due to decentralization, anonymous connectivity, high churn, resource constraints, and a large attack surface. The number of attributes to be tracked grows exponentially as P2P networks scale, exacerbating issues in traditional approaches such as RBAC, ABAC, and RuBAC. This paper presents a blockchain-based access control framework for P2P networks using Ethereum smart contracts to offer an adaptable, decentralized, and scalable solution. Our token economy framework incentivizes nodes that demonstrate consistent compliance and penalizes malicious actions using fungible ERC-20 tokens. A hierarchical static role-based structure forms the foundation of role management. Dynamic state management through a finite state machine classifies peers as benign, suspicious, or malicious, mapping their behavior to the STRIDE threat model. We use a standard blockchain tool stack consisting of OpenZeppelin, Mocha, and Web3.js. Our framework is tested with eight test cases, including privilege escalation and denial-of-service scenarios, and is built using three types of Ethereum smart contracts. We collect four metrics: gas cost, latency, execution time, and simultaneous requests, to characterize network activity. The study demonstrates the mapping between resources, peer roles, and standard threats in a P2P network. Experimental results show gas costs of up to 1.4 million gas and execution times of 80-550 ms. The framework handles up to five concurrent requests with minimal performance impact across roles and threat conditions. This framework enables scalable, behavior-driven governance in P2P networks, enhancing IoT and Web3 security.
Create a lesson
Metadata
- Comments
- 41 pages. Author manuscript. Journal pre-proof available in Blockchain: Research and Applications
Related papers
Human Reviewers' Attitudes Toward LLM-generated Security Patches: A Controlled Experiment
Shared title terminologycs.CREmanuele Iannone, Maria Camporese, Nicolás E. Díaz Ferreyra et al.
LineageForge: Large Language Model for Constructing Verifiable Smart Contract Vulnerability Datasets at Scale
Shared title terminologycs.CRYucheng Huang, Jinbo Wen, Jiawen Kang et al.
GATE-DT: Trust-Gated Operational Digital Twins for Secure Distributed Retail and E-Commerce
Shared title terminologycs.CRPradnil Uday Rajankar, Rohit Singh, Kshitij Sharma et al.
Prompt Injection Detection using DeBERTa-v3: A Position-Neutral Dataset for AI Security
Shared title terminologycs.CRMirza Akhi
Observability, Not Placement: A PyCPS-IDS Simulation Study of Edge, Fog, Cloud, and Hybrid Intrusion Detection in Smart-City IoT
Shared title terminologycs.CRMustafa S. Aljumaily, Hayder Kareem Abd, Nawar S. Alseelawi
Reinforcement Building: Toward Self-Improving Harnesses for Defensive Software Security Agents
Shared title terminologycs.CRAmine Lbath, Aurelien Delaitre, Vadim Okun et al.