Malicious NuGet Packages Turn Fake .NET Job Tests Into Malware Traps
Dateline: November 30, 2026
- Who should care: .NET developers looking for jobs, and any company whose engineers build untrusted code on work laptops.
- What could go wrong: One build hands over Chrome logins, session cookies and every token on the machine.
- Do this: Open take home tests only in a throwaway VM.
- Worth remembering: The README told candidates to build the project. The build was the attack.
A take home coding test for Windows .NET developers came with a nasty extra. Thirteen malicious NuGet packages, dressed up as WinUI 3 and WPF button controls, ran attacker code the moment a candidate hit Build in Visual Studio.
What Happened?
Socket researchers published the findings on November 23. The lure was a GitHub repo called WinUI3_Home_Assessment, a three to four hour “Mini File Vault & Tracker” exercise. Its project file pointed at a local folder of poisoned packages committed to the repo. One package ran code after every build, staging a DLL beside a copied osk.exe for side loading. Others pulled executables straight from GitHub. The packages spanned 28 versions and four publisher accounts, active since July.

What’s the Impact?
Payloads included a Chrome profile stealer and a loader that used GitHub repos as command and control. A developer laptop holds source code, SSH keys, cloud and registry tokens, plus browser sessions that already passed MFA. One infected candidate can become a supply chain incident.
The Web3 Angle
One of the same publisher accounts pushed a Web3TotalButton package, and a linked account released a trojanized “Crypto Wallet Analyzer” app. Socket also found a fake freelance gig on a marketplace that pays in crypto. Socket has not named the group. The playbook looks like North Korea’s fake recruiter campaigns, but Socket found no shared code with them.
How to Avoid This
- Build and run every take home project in a disposable VM with zero real credentials.
- Check .csproj files for RestoreAdditionalProjectSources and committed .nupkg files before you build.
- Limit your builds to approved package feeds, as part of a wider dependency risk plan.
- Alert on osk.exe or OskSupport.dll running outside System32, and on %TEMP%\Launcher.exe.
- If you built it, reimage the machine and rotate passwords, cookies and tokens from a clean device.
Malicious NuGet Packages: Indicators of Compromise
Hunt for these package IDs, files, network indicators and hashes on developer machines. All values are defanged. Most of the GitHub accounts now return 404, but cached packages and copied payloads can still sit on disk.

Your Build Button Just Became an Attack Surface
Attackers keep going after the people who write the code, as the ChainDrop npm attack showed. Secure.com runs your defense as a service, so one bad build gets caught and contained before it turns into a breach.
- Managed SecOps watches developer endpoints 24/7 and moves fast on side loading, odd MSBuild child processes and GitHub API beaconing.
- When an infection lands, experts isolate the host and drive credential, token and session revocation.
- Managed Exposure Management finds unapproved package feeds, exposed tokens and risky developer access before attackers do.
- A vCISO sets clear rules for hiring tests, developer devices and dependency policy, then reports progress to the board.
Governed defense, powered by offense. Your team sets the rules; Secure.com does the grunt work.