Client sent me code to run locally is it malware?
Malicious actors on freelance platforms and LinkedIn trick developers into executing obfuscated code, repos, or installation scripts under the guise of project testing. This exposes local machines to compromise and prevents safe evaluation of client-provided repositories.
What the numbers show
Counted from the threads quoted below. How we count
- The most recent one is from September 2026.
- This comes up 375.8× more often in r/freelance than across the site as a whole.
What people tried
Every workaround mentioned in the threads below. We haven’t tested any of them — and nobody here is claiming they worked.
Found another way around this?
Share your steps and trade-offs so fellow engineers don't have to reinvent the wheel. No account required.
- 1Running client projects inside isolated, hardened containers or virtual machinesDid this help you?
- 2Using tools like npx npq to precheck dependenciesDid this help you?
- 3Developing on a secondary throwaway laptop or rare operating systemDid this help you?
- 4Refusing to run unfamiliar repositories and walking awayDid this help you?
- 5Disabling the Run hotkey via registry keys or configuration policiesDid this help you?
- 6Restricting user access to PowerShell and command prompt through Group Policy ObjectsDid this help you?
- 7Deploying endpoint detection and response tools to automatically flag and quarantine malicious executionsDid this help you?
In their words
Unedited, grouped by where they were said, most upvoted first within each place, each linked to the thread it came from.
“I’m new to Upwork. First “client” I get sends me a Next.js project and says “just run it locally and see if it works.” They sent malware.”source ↗
“It also happened to me. It was a crypto project and I had a call with a guy and he said he is the CTO of the company and he wanted to help me with setting up the project. He asked me to share mu screen and install the project and I found it strange.”source ↗
“I had similar after someone contacted me on linkedin - they sent me a git-repo to clone and run. I just noped right out of there.”source ↗
“We had this happen at our org a few months ago.”source ↗
Where this came up
People with this problem also raised
- 4How to test software without a sandbox environment
- 3Unauthorized third-party software integrations on client networks
- 5How to catch new software installs without false alarms
- 5Why does software installation fail on secure systems?
- 3How to safely test new apps without risking live catalog data
- 3How to check if freelancer plugins or themes are cracked