Changes in cosmic environments, from solar storms to asteroid impacts, have altered the course of history. Tracing how such events shaped geopolitics and spurred scientific and cultural innovation, Dagomar Degroot asks what comes next as the solar system becomes increasingly vulnerable to human activity.