- Apr 9, 2020
- 667
How would you know or prevent it before you use it ?
Hello. There is no way to 100% prevent this from happening. There were several instances like that in the past. E.g., a trusted open-source developer got a virus infection on their system (an actual virus that infects other executables). That virus infected the developer's release file which was then deployed for everyone as a new version of their program.
Other variants of include deliberate but hidden modifications of source code after the attackers gained access to the developer's systems. These are especially difficult to prevent for the user downloading their software since this is not a known malware and rather hard to detect it as such.
However, these cases are relatively rare. The reason they make the news is that they are not a common thing to happen. You cannot prevent it very well, but you actually also don't need to do something else than your general security measures to prevent infections.