But I can't find any information regarding Electrum wallet modification malware exists on the internet.
I never said that it does exist.. but it would be a possibility.
In case it would exist, it probably wouldn't be that known. A single developer / group of developers could try to spread the malware themselves.
This wouldn't attract attention until a lot of users face that problem/malware.
If there is, someone should try to improve Electrum and prevent this from happening again.
This scenario is not that easy to circumvent.
You'd need to built electrum to NOT trust the system it is installed on.
And if you can't trust the system you are trying to install the software on, .. you shouldn't keep any private-/sensitive- information or cryptocurrencies on that machine at all..
Preventing injection is definitely possible, but not that necessary.
It is way easier for an attacker to simply gain access to the private keys once you open electrum. Injecting dll's into electrum just to counterfeit the wallet creation process seems to be a bit of an overkill to me.
And as i have already mentioned.. this is just ONE approach to modify the address you see. There are way more.
If electrum should be secured against each of these.. Thomas would need a few more developers who only focus on the security. This isn't feasible (and unnecessary since you have to trust the host machine when storing private keys, no need to try to defend against each possible attack when your own machine is compromised..).
Edit:
To clarify potential misconceptions regarding the safety/security of electrum:
What i have mentioned above is applicable to EVERY software. This is nothing specific to electrum (or any other specific application).
The branch which probably suffers the most from injections is the gaming industry.
They have teams of engineers and developers only working on anti-cheat mechanisms. There is no
solution or
technology which prevents this happening.
This is a cat-and-mouse game.