We got contradicting replies in this thread probably because of OP's obscure use of the word "
hack".
But I think the first part "
if electrum software was hacked" should be based from the other concern,
which is the seed phrase-generation being compromised (
e.g. reproducible or made from weak entropy) which will made it possible to reproduce Electrum seed phrases.
I though so because OP's earlier topic is about Electrum cold storage setup (
link) and as we know it, his seed phrase and wallet are created/stored air-gap.
That should made "
his Electrum wallet being hacked" the least of his concern, but "
the software being hacked" with compromised entropy/seed phrase generation.