In a large-scale sensor network. replicated hostile nodes may be used for harsh inner attacks. To detect replicas, this paper presents a distributed, deterministic. and efficient approach robust to node compromise attacks Without incurring significant resource overheads.