From a proliferation perspective, Pakistan would seem to be a greater threat than North Korea. There is strong evidence that Pakistan actually sold nuclear technology to North Korea (although it's unclear whether NK used that technology in their weapons program).