Recently, those Monero miners were installing themselves everywhere that had a vulnerable React 19. I had exactly the same problem.
If you have decent network or process level monitoring, you're likely to find it, while you might not realize the vulnerable software itself or some stealthier, more dangerous malware that might exploit it.