Nuclear-armed Pakistan is now at risk of becoming a failed state. But even if it does not fail, the nexus between terrorist groups and the country's powerful military raises the specter of nuclear terrorism – a risk that the US must take action to contain.