Deep beneath the surface of distant exoplanets known as super-Earths, oceans of molten rock may be doing something extraordinary: powering magnetic fields strong enough to shield entire planets from dangerous cosmic radiation and other harmful high-energy particles.