I read once about gamma ray bursts [0] which happen pretty frequently out there; we detect them every day in other galaxies. If any such event occurred near us (by near I mean anywhere in the vicinity of our galaxy) and the Earth was in the path of the beam, it could do anything from destroying the ozone layer to burning away every trace of life from the surface.
The scary thing is that, like with starquakes, we can't dodge it. The effect moves with the speed of light; when we detect it, it's already too late for us.
So between GRBs and starquakes, what else is there that can snuff us out without warning?