You omitted a piece of the definition:
> Malware is software that is installed on a computer without the user's consent and that performs malicious actions.
https://www.mcafee.com/en-us/antivirus/malware.html#:~:text=....
> Malware is software that is installed on a computer without the user's consent and that performs malicious actions.
https://www.mcafee.com/en-us/antivirus/malware.html#:~:text=....
Well...
Joke aside, its not like I came up with this definition.