That's an operational security failure, as then the only way to completely guarantee that coins don't go to the hacker is by bumping the fee so much that it eventually all goes entirely to the miner, and then beg the miner for your coins back and hope that they listen.
It is only when the transaction fees are too expensive, too big like in millions of dollars. Small transaction fees won't be noticeable and noisy enough on media and Bitcoin mining pools, Bitcoin miners will not care about that.
One of transactions with super big transaction fees got refund from Bitcoin mining pools.
Bitcoin Miner AntPool to Refund Record-Breaking $3 Million Transaction FeeHe did say explicitly that you have to beg, and just because it happened sometimes that does not mean that it will happen in your case. A miner is not legally required to make this refund, although for reputational reasons there may be benefits. However, if the miner that gets this is anonymous or they do not have any need for public facing reputations then they can simply keep it. Nobody can do anything about it if they decide to keep it.
Correct me if I am wrong
this as far as I know called front running, which usually happens on the Ethereum Virtual Machine with MEV Bot. While the idea of a fee-bumping bot is technically possible, Top 100 addresses prefer prevention over reaction. fee bumping is actually expensive especially in network like bitcoin and they need private key
It is, but a MEV Bot is not running with the access to the cold storage of the owner. It is running with its own balance, which can be considered a hot-wallet high risky trading balance. It has nothing to do with what is being proposed here. MEV bots are great, they can be extremely profitable if done well -- some are. However, what is being proposed here is completely dumb in all conceivable ways. Do not make any kind of security suggestions or ideas until you have become a security expert, average users should just listen to established solutions and ideas from others.