The paper discusses security threats associated with the Y-Comm framework in heterogeneous networks, emphasizing the need for secure communication between core nodes. A new security module that includes authentication and encryption was proposed, which was simulated using Casper and verified through formal methods. Various attacks identified due to insecure channels are outlined, along with solutions to enhance security in future networks.