A client messaged me on Fiverr saying her AI invoice app wasn't working and asking me to fix it. When I asked for the code, she shared a zip file on Google Drive.
I didn't run it. I checked it in my IDE first, and it found hidden malware. In the config file, the project loaded a fake package that secretly connected to an unknown server, downloaded code from it and ran it on my computer. That kind of code can steal passwords, browser data, SSH keys and crypto wallets.
Signs that something was off:
- She never said what was actually broken
- She avoided my questions about budget and the tech stack
- She wanted me to "just run it and see"
How to stay safe:
- Never run a client's code on your main computer
- Read the package.json and config files before you install anything
- Don't trust packages you don't know
- Use a virtual machine if you must test someone's code
- Be careful with any client who can't explain the problem
I've reported the account to Fiverr. Please share this with other freelancers.