US ‘failing to stem terror risk’