Skip to content
Hacker Posts
Supply Chain

13 malicious NuGet packages hide in fake .NET job tests

Socket found 13 malicious NuGet packages pushed through a fake WinUI 3 take-home job assessment, abusing MSBuild to sideload malware. The earliest was live since July.

Hacker Posts DeskPublished 3 min read

A developer-targeted supply-chain campaign pushed 13 malicious NuGet packages through a fake .NET take-home assignment. The primary is Socket's writeup, "13 Malicious NuGet Packages Target .NET Developers With Fake Job Assessments," by Kush Pandya for the Socket Threat Research Team; reporting at The Hacker News corroborates.

What happened

The lure is a fake take-home job assessment. A GitHub repo, stevenleedig-ux/WinUI3_Home_Assessment (created 4 November 2026), hands a candidate a "Mini File Vault & Tracker" task and tells them not to modify the bundled FileButton control. Building the project pulls in the attacker's NuGet packages, most posing as WinUI 3 and WPF button controls. The same actor advertised an $8,500–10,000 WPF developer role on the LaborX marketplace on 7 November.

The packages are gone from the NuGet gallery, but 28 versions shipped across four accounts, and the earliest — WinUI3IconButton — was live from 23 July 2026. The wider operation started on npm between 14 and 23 July.

What the code does

Socket traces a build-triggered chain:

  • An MSBuild target runs a bundled DLL after every build. That DLL downloads a payload to %LOCALAPPDATA%\osk\OskSupport.dll and copies the legitimate osk.exe beside it.
  • The FileButton control launches the copied osk.exe, which sideloads the malicious OskSupport.dll.
  • A WUIButton constructor in WinUI.Button downloads avast.exe from GitHub with an embedded token, saves it as %TEMP%\Launcher.exe, and runs it.
  • Related artifacts include a Chrome profile stealer that uploads to GitHub, a Telegram-reporting payload, and a trojanized "Crypto Wallet Analyzer" that hides a loader DLL.

Running dotnet build on the assignment is enough to execute code — no "run the app" step required.

Attribution

No named group. Socket notes the recruitment-themed social engineering resembles North Korean and Iranian campaigns but found no shared indicators with Contagious Interview or related clusters. Keep that at arm's length: a recruitment lure is a common technique, not an attribution.

Indicators

Verbatim from Socket's report:

Malicious NuGet packages (13)
WinUI.Button, VS_Builder.MSBuildAnalyzer, VS_Builder.WinUI3Controls,
HappyOne.MSBuildAnalyzer, HappyOne.WinUI3Controls, Web3TotalButton,
RevertButtonIcon, WinUI3IconButton, WindowsAccentColorName, SetButtonColor,
InitializeCustomButton, StyledAppButton, StyledComponent

Related npm packages
axios-test-one, telemetry-metrics, telemetry-axios, axios-native,
fs-extra-core, vitest-axios

Files
%LOCALAPPDATA%\osk\OskSupport.dll
%TEMP%\Launcher.exe
WinUI.Button.dll  SHA-256 9e58baccd25b009b80f093bbcaf007b1ca3ac763c9826e05e1352e64264d0d42

Network
cloudservicebase.ddns.net
172.86.119.233

Action checklist

  1. Treat take-home assessments as untrusted code. Build and run candidate projects in a disposable VM with no credentials, wallets, or source trees mounted.
  2. Audit for the IOCs above, especially OskSupport.dll under %LOCALAPPDATA%\osk and the WinUI.Button.dll hash.
  3. Pin and vet dependencies. Lock NuGet package versions and review any package that runs an MSBuild target or downloads at build time.
  4. Flag the social-engineering pattern to developers: a "don't touch this control" instruction in an assessment is a red flag.

Context

This is the latest package-registry attack to reach developers through their own tooling, after this week's hex.pm registry RCE. The novelty here is the delivery: not a typosquat a developer installs by mistake, but a package set they're told to build as a condition of a job interview. The registry is the attack surface either way.