The document presents a scanning algorithm designed to detect selfish nodes in cognitive radio networks, which are vulnerable to various attacks that can disrupt communication. It emphasizes the importance of secure communication and efficient spectrum utilization in the deployment of cognitive radios. The proposed approach aims to enhance network reliability by identifying misbehaving nodes and thereby improving overall packet delivery ratios.