All of them were scams, this was just the first time you were the intended victim.
I was never asked to install anything. I was not even given code access (without NDA) and I did get paid with equity/money in cases there was a mutual match and we proceeded.