Warning over 'surveillance state'