Question: can nukes detonated in space?
Answer: The Outer Space Treaty of 1967 banned the stationing and use of nuclear weapons in space. The Comprehensive Nuclear-Test-Ban Treaty of 1996 prohibits all kinds of nuclear explosions; whether over- or underground, underwater or in the atmosphere.