Real-Time Detection and Response to Wormhole and Sinkhole Attacks in Wireless Sensor Networks | Synapse