This document discusses spectrum sharing for 6G communications. It begins with an abstract that introduces the topic and authors. The introduction provides background on ad hoc networks and their vulnerabilities. The proposed system aims to develop secure methods to detect and mitigate wormhole attacks in networks where large secure data transmission is needed, such as battlefields. It proposes a system with four parts: route discovery, detection of malicious nodes, secure data transmission, and route maintenance. Key aspects of the proposed system include hop count analysis, use of the AODV routing protocol, use of intelligent agents to authenticate nodes and transmit secret data using RSA encryption to provide secure communication. The conclusion states that the wormhole attack can be prevented using this approach.