Species survival and scaling laws in hostile and disordered environments