NuGet Turned .NET Job Tests Into Traps. 13 Packages Delivered the Malware.
A job test that installs malware only works once — unless it works at scale. Researchers at Socket found 13 malicious NuGet packages built to do exactly that: pose as ordinary .NET interface controls, ride inside a fake take-home job assessment, and turn the build into the compromise. All 13 have been deleted from the gallery. The campaign ran for months before anyone noticed.
The packages pose as WinUI 3 and WPF button controls — small building blocks a .NET developer installs without a second thought. Names like WinUI.Button and SetButtonColor sound like a real UI library. That is the point. A developer pulling one in is not downloading a strange tool from a strange site — they are installing a package from the registry every .NET developer trusts, inside a hiring manager’s task.
The assessment was the bait
The lure is a GitHub repository, WinUI3_Home_Assessment, created November 3, 2026. It sets tasks around improving a FileButton control and handling exceptions, due in three to four hours. The README permits AI assistants such as Copilot, ChatGPT and Claude, but warns against pasting the whole project in unread. Its project file quietly references two poisoned packages: VS_Builder.MSBuildAnalyzer 1.2.7 and VS_Builder.WinUI3Controls 1.0.7.
That is where the test stops being a test. MSBuildAnalyzer ships a build targets file that runs a bundled DLL after every build. In the lure’s version, that DLL downloads a file from GitHub to %LOCALAPPDATA%\osk\OskSupport.dll and copies the real On-Screen Keyboard beside it. WinUI3Controls then launches the copied binary through the FileButton control — and Windows loads the attacker’s DLL beside its own keyboard program. That is DLL sideloading, and it works because a trusted program does the loading.
The other packages take simpler routes. Creating a WUIButton control downloads avast.exe from GitHub, saves it as %TEMP%\Launcher.exe, and runs it with an access token embedded in the package. RevertButtonIcon and SetButtonColor drop and run an executable in the temp folder; InitializeCustomButton starts the copy SetButtonColor drops. Five more are tied in by dependency. WinUI3IconButton was first uploaded July 23, 2026; the last two appeared November 4, two days after NuGet removed the VS_Builder pair.

A wider web than one repo
Socket found the same hands elsewhere. Two bogus repos impersonate Axios, the JavaScript HTTP library — jason-code-super/axios and stevenleedig-ux/axios-http. Both copy a malicious Node.js library, axios-test-one, that enables code execution and shell access. Their history holds a loader using a GitHub repo as two-way command and control, a Chrome profile stealer, and a payload, WeapF, that phones the machine’s name, user and time zone to a Telegram bot.
The same account, gabsantosbus-star, also published a GitHub release on November 13 called Crypto Wallet Analyzer — a .NET app whose README claims it inventories eight crypto wallet extensions and makes no network requests. Its code also loads a native DLL that starts a background thread, and closing the window only hides it. The lure was advertised too: on November 7 the same persona offered $8,500–$10,000 on LaborX for a C# WPF developer. Its X profile says Miami; its account details say Korea.
Why this one stings
It attacks trust in the registry itself — NuGet is infrastructure, and a button control does not invite scrutiny. It targets people at their most open: job seekers expected to clone a stranger’s repo and build it, afraid to look cautious. And it is a web, not a single trap: fake packages, repos, npm clones, a listing and a wallet tool, all pointing at each other. It is the same shape as the PolinRider campaign, which poisoned 7,600 GitHub repositories with fake job assessments — and the same lesson as the fake security tools that turned a downloaded scanner into a backdoor.
Socket has not attributed the campaign to any named group. The tradecraft resembles recruitment-themed campaigns linked to North Korea and Iran, but the researchers found no code shared with Contagious Interview campaigns and none of its known families — BeaverTail, InvisibleFerret, OtterCookie. Defenders cannot wait for a familiar name. The packages are gone; the playbook travels.
Four checks before you build
A take-home test should never ask your machine to trust a stranger. Four checks, cheapest first:

- Check the package before the project. A NuGet package published days ago, with no history and no verified publisher, is not a dependency — it is a stranger.
- Build in a sandbox, not on your work machine. Clone the assessment into a disposable virtual machine with no saved sessions or credentials. If the test needs your real environment, walk away.
- Read the project file first. Open the .csproj and build targets first. A button-control package has no business running a DLL after every build — or writing files outside the project folder.
- Watch what the build touches. A build that drops files into %LOCALAPPDATA% or %TEMP%, copies a Windows system binary, or reaches out to GitHub is not building your code. Kill it and report the repository.
The 13 packages are deleted. But the repo, the listing and the playbook were built to be reused. The next one will have a different name and a different repo. The defense is the same: never let a job test build itself on your machine before you have read what it is about to run.



















