Research

13 Malicious NuGet Packages Hid Inside Fake .NET Take-Home Tests. Building the Project Was Enough to Stage the Malware. Here Is How to Check Your Machine

13 Malicious NuGet Packages Hid Inside Fake .NET Take-Home Tests. Building the Project Was Enough to Stage the Malware. Here Is How to Check Your Machine

If you are a .NET developer and someone sent you a "Home Assessment" or take-home test this year, check your projects and your NuGet cache for the 13 package names below today. If any of them is there and you built or ran the project, take the machine off the network, reimage it, and change your passwords and developer tokens from a different, clean device.

Socket's Threat Research Team published the research on Monday, November 23. The Hacker News covered it today. Everything below comes from Socket's write-up unless we say otherwise.

What happened

Someone built fake job tests for Windows .NET developers. The test is a real-looking Visual Studio project with a README that gives you three to four hours of work. The project pulls in button controls from NuGet, the .NET package registry. Those packages are the trap.

Socket found 13 malicious NuGet packages, published from four NuGet accounts between July 23 and November 4, 2026. They had 28 versions in total. Most pose as WinUI 3 or WPF button controls.

The packages:

  • WinUI.Button
  • VS_Builder.MSBuildAnalyzer
  • VS_Builder.WinUI3Controls
  • HappyOne.MSBuildAnalyzer
  • HappyOne.WinUI3Controls
  • Web3TotalButton
  • RevertButtonIcon
  • WinUI3IconButton
  • WindowsAccentColorName
  • SetButtonColor
  • InitializeCustomButton
  • StyledAppButton
  • StyledComponent

NuGet has removed them. When Socket published, WinUI.Button 1.0.0 was still listed, with about 160 downloads per NuGet's search API (Socket notes that count includes mirrors and scanners, so it is not a victim count). We checked NuGet ourselves this morning, November 26 at 14:25 UTC: a search for WinUI.Button returns nothing and its package folder returns HTTP 404. Removed from NuGet does not mean removed from your disk. A package you restored earlier is still in your local cache.

How the trap works

There are three tricks, and the first one is the one every .NET developer should learn from.

  1. Code that runs when you build. A NuGet package can ship a file named build/<package name>.targets, and NuGet quietly adds it to every project that uses the package. VS_Builder.MSBuildAnalyzer (republished as HappyOne.MSBuildAnalyzer after NuGet deleted the first one) ships a targets file that runs a bundled program, MSBuildAnalyzer.dll, after every build. Socket decrypted what it does: it downloads a file from a GitHub repository and saves it as %LOCALAPPDATA%\osk\OskSupport.dll, then copies the real Windows On-Screen Keyboard, C:\Windows\System32\osk.exe, into the same folder. The targets file names an output file that never gets created, so the step runs on every single build, and it is set to ignore its own errors so your build never fails.
  1. Code that runs when you open the app. The second package, VS_Builder.WinUI3Controls (later HappyOne.WinUI3Controls), supplies a FileButton control. When the app first creates that control, it quietly starts the copied osk.exe in a hidden window. A copied osk.exe sitting next to a file named OskSupport.dll is a publicly documented DLL side-loading pair: the genuine Microsoft program loads the attacker's DLL. Socket says plainly that it did not test the side-load. The test's README tells candidates to build and run the project, which triggers both halves, and tells them not to touch the inner workings of FileButton, which steers them away from the bad code.
  1. A button that downloads a program. WinUI.Button's button control, when an app creates it, downloads a file named avast.exe from a GitHub repository using a GitHub access token embedded in the package, saves it as %TEMP%\Launcher.exe and runs it.

RevertButtonIcon and SetButtonColor also download an executable to your temp folder and run it, and InitializeCustomButton starts the copy SetButtonColor drops. The rest are tied to the set by dependency or by the lure.

The lure Socket found most recently is the GitHub repository stevenleedig-ux/WinUI3_Home_Assessment, created November 4. Its first commits carry the malicious packages inside the repository itself, in a Packages folder, with the project told to restore from that folder. That means the lure still works from those commits even with the packages gone from NuGet.

The rest of the operation

Socket ties the NuGet packages to a wider set of lures by shared GitHub owners, a shared git identity, email addresses, a publisher account and a naming pattern. What it found:

  • Six npm packages published July 14 to 23: axios-test-one, telemetry-metrics, telemetry-axios, axios-native, fs-extra-core and vitest-axios. Fake copies of the axios library on GitHub serve Windows programs disguised as a project file named lib/env/axios.csproj.
  • A loader that uses a private GitHub repository as its command channel, a Chrome profile stealer that uploads to GitHub, and a payload Socket calls WeapF that reports the computer name, user name, time zone and CPU model to a Telegram bot.
  • A "Crypto Wallet Analyzer" .NET app released on GitHub on November 13 that hides a new build of the loader in a bundled DLL named vcruntime146_cor2.dll. A matching $8,500 to $10,000 job for that app was posted on LaborX, a freelance marketplace that pays in cryptocurrency, on November 7.
  • A fake reCAPTCHA page on GitHub Pages that tells visitors to press Win+R and paste a PowerShell command (the ClickFix trick). That command fetches a file from cloudservicebase.ddns.net.

Nearly all of it runs on GitHub, GitHub's API, GitHub Pages and Telegram. Socket found exactly one attacker domain and one IP address outside those services.

What is not known

Who is behind it. Socket does not attribute it. The fake take-home test is the same shape as North Korea-linked fake interview campaigns such as Contagious Interview, and Socket also points to an Iranian-nexus cluster Palo Alto Networks Unit 42 has described using a Visual Studio project as a fake coding test. But Socket found no indicator or code shared with any published Contagious Interview or other North Korean campaign, and none of the malware families tied to it. We are not making that link either.

How candidates are reached for the WinUI test. Socket found no recruiter message, email or job post for it. The only advertised lure it found is the LaborX job for the wallet app.

What several second stages did. The GitHub repository the stager downloads from, and the accounts behind WinUI.Button's download and the newest loader's command channel, returned 404 during Socket's analysis. So the files they served are unknown, and so is what HappyOne.WinUI3Controls 1.1.0 and HappyOne.MSBuildAnalyzer 1.3.0 did.

How many people built one of these. Nobody has published that. The roughly 160 downloads of WinUI.Button include mirrors and scanners.

What to do

  1. Run the self-check below on every Windows machine you have used for a coding test, interview project or freelance job this year.
  2. If you find any of the 13 packages and you built or ran the project, or you ran CryptoWalletAnalyzer.exe: disconnect the machine, look for %LOCALAPPDATA%\osk\ and %TEMP%\Launcher.exe, and reimage it. Then, from a clean device, change browser-saved passwords, sign out other sessions, and rotate GitHub, NuGet, npm and cloud tokens. The stealer in this operation takes Chrome profile folders, which hold saved logins and cookies.
  3. From now on, treat a take-home project as untrusted code. Before you build it, open the .csproj and NuGet.config and look for RestoreAdditionalProjectSources, an extra package feed, a folder of .nupkg files committed to the repository, and packages you do not recognize. Build it in a throwaway virtual machine that has none of your credentials. Be suspicious of any instruction that forbids you from looking inside a supplied control.

For teams that hire or build .NET:

  • Turn on NuGet package source mapping so projects can restore only from feeds you name, and not from a folder inside a repository.
  • Review any third-party package that ships build/.targets or buildTransitive/.targets files containing an Exec step, especially one with ContinueOnError set.
  • Publish your own coding tests only from accounts candidates can verify, and tell candidates that fake take-home tests deliver malware.

For security teams, Socket's suggested detections: osk.exe running from, or OskSupport.dll written to, anywhere outside %WINDIR%\System32; osk.exe started with a hidden window by a .NET or WinUI app; dotnet.exe started by MSBuild with a DLL argument inside a NuGet package lib folder; %TEMP%\Launcher.exe; GitHub API requests with the User-Agent MyUpdater or from a WinHTTP client named CppHttp/1.0; GitHub commits with the message "downloading new version"; and Telegram Bot API traffic from developer machines and build hosts. For static detection, MSBuild targets files containing the string ForceExecuteNonExistenFile.

Am I affected?

Check four places. Any one of the 13 names in any of them means yes, at least that the package reached your machine.

Your projects. In each solution folder, run dotnet list package --include-transitive and look for the 13 names. Transitive matters: StyledAppButton, StyledComponent and WinUI3IconButton pull in other packages from the set.

Your project files. Search every .csproj and Directory.Packages.props for a PackageReference whose Include attribute is one of the 13 names. Also search packages.lock.json and obj\project.assets.json, which record what was actually restored, including dependencies you never typed.

Your NuGet cache. Open %USERPROFILE%\.nuget\packages (on macOS or Linux, ~/.nuget/packages). Package folders there are lowercase: look for winui.button, vs_builder.msbuildanalyzer, vs_builder.winui3controls, happyone.msbuildanalyzer, happyone.winui3controls, web3totalbutton, revertbuttonicon, winui3iconbutton, windowsaccentcolorname, setbuttoncolor, initializecustombutton, styledappbutton and styledcomponent. A folder there means the package was restored on this machine, even if the project is long deleted.

The files the malware leaves. On Windows, check whether %LOCALAPPDATA%\osk\ exists (it should not; the real On-Screen Keyboard lives in C:\Windows\System32) and whether %TEMP%\Launcher.exe exists. Also look in HKCU\Software\Microsoft\Windows\CurrentVersion\Run for an entry you did not create; the WeapF payload adds itself there.

If you got a test repository, check its git history too. The WinUI3_Home_Assessment lure's first commits carry the bad packages inside a Packages folder in the repository, so a clean-looking final commit does not mean the version you built was clean.

Block these

We added the network indicators and file hashes Socket published to our feed. Block these indicators with the free DugganUSA feed (setup docs at docs.dugganusa.com).

Network (source: Socket):

  • cloudservicebase.ddns.net (No-IP hostname in the ClickFix command)
  • https://cloudservicebase.ddns.net/update/CVE-2026-44747_patch.dat (the file that command fetches; the "CVE" name is a fake patch)
  • 172.86.119.233 (a RouterHosting VPS the hostname resolved to on August 29, per passive DNS; Socket says the hostname did not resolve during its analysis, so this address may have changed hands)

File hashes (SHA-256, source: Socket):

What we did not feed, on purpose: the GitHub repositories, raw.githubusercontent.com URLs and the GitHub Pages site. They sit on hosts that every developer needs, and a blocklist entry for them would break GitHub for you. Block the files by hash, and watch for the repository names in your proxy logs instead: stevenleedig-ux/WinUI3_Home_Assessment, stevenleedig-ux/axios-http, stevenleedig-ux/fantastic-giggle, jason-code-super/axios, figma-share/axios-http (formerly ThoSuperstarDev/axios-http), Carol-White-Super/cloud, James-White-Super/React_prj, James-Tran-Dev/teris, Best-Seller-Dev/dexTrader, jeksifjeksjejcks/test and gabsantosbus-star/EngineeringRepository.

What our own data shows

Before this post, none of these indicators were in our corpus. We looked up the hostname, the IP and the wallet app hash: no records. Our graph showed nothing else we hold in the IP's /24 block.

The 13 NuGet package names are not in our malicious-package deny-list, and OSV, which our deny-list is built from, had no NuGet malware entries for any of them when we queried it today. Our package check covers npm, PyPI, RubyGems, Packagist and GitHub Actions, and does not check NuGet at all. That is a real gap for .NET shops, and we are saying so rather than letting a "not found" read as "safe".

The six related npm packages are a different story: all six were already on our deny-list, through the OSV malicious-package feed, and our package check returns "block" for each. That is coverage from a public feed we redistribute, not something we found first.

We did not run an edge check. This attack happens on a developer's own machine during a build; it does not send web requests to servers like ours.

How we know

We read Socket's write-up directly. Package names, account names, dates, file paths, behavior, hashes and network indicators come from it. The Hacker News pointed us to it. NuGet's removal status for WinUI.Button is our own check against NuGet's search and package APIs on November 26. Our corpus, graph, deny-list and OSV results are our own queries, run the same day.

Sources

Socket, "13 Malicious NuGet Packages Target .NET Developers With Fake Job Assessments," Kush Pandya (November 23, 2026): https://socket.dev/blog/malicious-nuget-packages-fake-job-assessments

NuGet Gallery removed packages log: https://github.com/NuGet/NuGetGallery/blob/main/RemovedPackages.md

The Hacker News, "13 Malicious NuGet Packages Turn Fake .NET Job Assessments Into Malware Delivery Traps" (November 26, 2026): https://thehackernews.com/2026/11/13-malicious-nuget-packages-turn-fake.html

Block these indicators with the free DugganUSA feed

Read next: Fake Coding Test Malware: How to Scan a Recruiter's Repo Before You Open It


Every indicator in this post is in the feed. Free.

1.58M+ IOCs, STIX 2.1 / TAXII, 88% novel vs ThreatFox, exploited-CVE leads ahead of CISA. No credit card — a free API key in 30 seconds, and you can audit every claim above against the live endpoints.

Get your free key → analytics.dugganusa.com/stix/register