Alleged terror plots shake South Africa