Magnets can reduce the cosmic ray risk:
https://phys.org/news/2026-07-permanent-magnets-astronauts-s...