A Simulation-Based Study of Operational Vulnerabilities and Contingency Planning for Smart Extraterrestrial Habitats