I. Introduction
WSNs can be large systems consisting of small sized, low-power and low-cost sensor devices able to collect and transmit data. The unattended nature of WSNs and the limited resources of their nodes make them vulnerable to several types of attacks and greatly influence the performance of the whole network. Even though several mechanisms that can protect the network from malicious attacks exist, any defensive mechanism should be based on autonomous mechanisms within the network itself.