In aquatic applications, Underwater Sensor Network (UWSN) has emerged as a powerful technique. Features of UWNS are long propagation, low bandwidth and high error rate. Existing protocol or algorithm design for terrestrial network to UWNS becomes quite difficult to apply due to limited power capacity and node mobility. At every layer of the stack protocol, it requires a new research and there is a need of general architecture in UWSN. Underwater wireless sensor network consists of a certain number of sensors which sends the sensed data to the sink node and performs a collaborative task. In favor of wireless transmission, UWSN frequently chooses acoustic as a communication medium. Shallow water has a great value in undergoing special environment offered by UWSN. Mobility of sensor node due to water current, delay and loss in propagation are significant aspect of terrestrial sensor network. In UWSN, information is delivered from sensor nodes to sink node that possess an innovative challenge in underwater sensor network, warm hole attack causes serious issue in sensor networks. Defending against wormhole attack is a challenging task, there is no mechanism evolved for wormhole detection in under water sensor networks. We propose to develop a warm hole detection technique based on swam intelligence.