The militants hurled the grenade at the bunker that was guarding a bank at Pulwama town, 32 km from here, a police official said.
He said the grenade landed on the road and exploded without causing any damage.
The explosion caused panic among the people passing through the busy area, he added.