It depends what's the goal. Stephen Hawking was terrified at the idea that the 1977 record could be found by an extraterrestrial civilization, since obviously if they could then visit us they would be so advanced technologically that they could easily annihilate humans and colonize Earth. So I would actually choose a very scary piece from Prokofiev or Ligeti so that they never dare come here.
I don't think that will be a problem, because humans are far more capable of self-annihilation (and
will self-annihilate) than any alien invasion, long before they invade us. But the nearest planet outside the Solar System is over four light years away, so unless those aliens have discovered Star Trek's warp speed, we're safe from their invasion for now. (But they don't have access to Star Trek's technology anyway.

)
By the time the green aliens with four eyes and three noses and two suckers (- they only ingest slimy food) arrive on Earth, we'll be back in the era of primeval slime and legless insects. And, of course, coronaviruses. (I say "we", but of course Homo sapiens will long have extincted itself).
Oh, I forgot: those green aliens will find, buried beneath ten feet of slime, a pristine copy of
Opus Clavicembalisticum, the only survivor of human's musical history. A fitting survivor, because it's the greatest piano work known to man or beast

.
And the copy will be pristine, because nobody could play the beast, so it had remained in its non-biodegradable plastic wrapper, waiting for its eventual discovery by green aliens.........