Police Commissioner Karen Webb has lashed the public exposure of a clandestine investigation into a potential terror attack.