Add safeguard against creating duplicate attacks