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.
Core Friction Pattern
Analysis of 4 peer accounts across online developer and community forums reveals that “Client sent me code to run locally is it malware?” repeatedly surfaces due to edge-case mismatches between standard defaults and real-world environments. Standard troubleshooting frequently falls short, compelling practitioners to develop custom workarounds.
+6 alternative community-tested workarounds cataloged below.
What the numbers show
Counted from the threads quoted below. How we count
- The most recent one is from September 2026.
- This comes up 465.6× 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.
Client sent me code to run locally is it malware?
- 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
Related community dilemmas clustered by discussion consensus
How to test software without a sandbox environment
When a canceled support contract or missing permissions leaves a team without a test environment, developers are forced to choose between stalling their work or risking changes on a production system. Without proper sandbox access, safely integrating new tools or updating code becomes nearly impossible.
How to block desktop apps from accessing local files
Standard enterprise application controls lack a way to let users run specific software while restricting its access to local files and network shares. Without granular file-system restrictions, IT administrators are forced to either block the application entirely or risk compliance violations.
How do you keep track of software installed with curl scripts?
Installing tools via `curl install.sh | sh` is often the easiest route when official packages are missing, but it leaves no built-in record of what was installed. Without a package manager tracking them, people have to rely on memory or manually check machines and servers to see what is there.
Unauthorized third-party software integrations on client networks
Vendors or employees install third-party applications onto client systems without permission or knowledge, triggering severe privacy violations and client panic. This leaves managed service providers facing furious clients, threats of legal action, and a breakdown of trust while scrambling to figure out how the software was introduced.
How to catch new software installs without false alarms
Routine patches, updates, and repairs constantly create new files, folders, or registry entries that look identical to new software, triggering false positives. At the same time, unsigned installers get blocked or missed entirely, leaving administrators struggling to reliably track what is actually being installed.
Why does software installation fail on secure systems?
Strict security controls and application whitelisting block legitimate software deployments and routine updates, forcing engineers to wait hours or days for approval. This delay doubles system commissioning times and leaves users stranded without necessary tools on weekends.