While real with cryptocurrencies, we need to be careful, all processes to knowing a transaction is not only propagated into the blockchain but also has been confirmed should be done, checking this on your wallet (I mean the complete confirmation) and also using the blockchain explorer will be good.
Transaction with zero confirmation can normally be reversed also transactions that have not been completely confirmed can possibly be swapped by replacing/increasing the fee to divert the transactions to another wallet. Even if this has not happened to anyone of us before, we should be careful for not to be a victim.
We should only believe in transactions that has been mined.
I'm quite sure that even if you have some balance in your account showing up through a glitch, you can't really spend it as the network would not allow that to happen. It's not as if a hacker could create a modified version of Electrum to allow double spending - if that was the case, there would've been way more BTC around than we currently have and the coin would've already been dead anyway.
The double spending here talked about here is different, this one happens in a way someone can send you bitcoin making you to believe the transaction has been or will be successful but not yet been mined, the person will use higher fee to easily swap the bitcoin to another wallet, which means the person double spend the bitcoin. This does not affect the total number of bitcoin in circulation.As copied from the link above:
https://www.coindesk.com/researchers-expose-flaw-in-bitcoin-wallets-that-could-be-exploited-for-double-spendingThe firm tested nine different wallets including Ledger Live, Trust wallet, Exodus, Edge, Bread, Coinbase, Blockstream Green, Blockchain and Atomic Wallet. Of those tested, three were found to be vulnerable to the theoretical exploit.
Electrum wallet was never listed and out of the wallet listed only 3 were found to have the RBF and DOS vulnerability.
Also copied from the link:
https://www.coindesk.com/researchers-expose-flaw-in-bitcoin-wallets-that-could-be-exploited-for-double-spendingWe have not tested all the wallets but it could be that if three of the largest are implicated, more out there are too,” Ohayon said. ZenGo alerted the firms about its findings, and gave them 90 days to repair the vulnerability.
Ledger and BRD have released code changes to prevent the attack from happening, and paid undisclosed bug bounties to ZenGo, while Edge is currently undergoing a “significant refactor” that will address the issue, Edge’s CEO Paul Puey said in an email.
If not true, while ledger and bread wallet have so far response about it.
The worst part of is that it is also reported this type of attack can disabled wallet completely with the knowledge of the wallet owner
Also copied from the link:
https://www.coindesk.com/researchers-expose-flaw-in-bitcoin-wallets-that-could-be-exploited-for-double-spendingHowever, ZenGo researchers found there is a second order attack, which follows the same scheme outlined above, which could permanently disable a wallet with or without the victim’s knowledge of the transaction.
In this case, the attacker again artificially inflates a victim’s balance by sending repeated transactions to her wallet. This can be done without a victim’s consent. By canceling the transactions before confirmed, the victim’s stated wallet balance and actual funds are again decoupled, making their wallet unusable. Worse, the attack can affect multiple wallets at the same time.
Let us only believe in only transactions that has been mined.