Our earth is permanently endangered , for example by black holes. But
there are several other dangers. Soon a dark cloud will pass us by and
disturb our solar system. In 10.000 years the star Eta Carinae will explode
in a super nova and hurl gamma and x-rays in the direction of the earth,
which is only 7500 light years away. This may through her out of
her orbit and contaminate her with radioactivity.
In 5.000 years a shock wave will reach us, that was caused by the birth of stars in the center of the galaxy.
In about 1,3 Mio. years comets from the Oort cloud will be brought out of their path by the dwarf star gliese 710 and fall down on the earth.
In 4 –5 mrd. years our milky way will collide with the Andromeda galaxy.