Winning app could identify threats to Earth and space infrastructure