Many of the attacks in the last three months "threatened national security", a government expert says.