Plan this weekSupply chain

13 malicious NuGet packages hide inside a fake .NET job test: building the take-home project runs attacker code; never build a stranger's test project on the PC you work on

Socket researchers, as reported by The Hacker News on 25 November 2026, found 13 NuGet packages posing as WinUI 3 and WPF button controls. A fake take-home job assessment on GitHub pulled them in, and building or running the project downloads files, sideloads a DLL next to a copy of the Windows On-Screen Keyboard, or runs an executable. NuGet has deleted the packages.

How urgent

Plan this week

Who is affected

Windows .NET developers who built or ran a project that references one of the 13 packages, such as WinUI3IconButton, WinUI.Button, VS_Builder.MSBuildAnalyzer, VS_Builder.WinUI3Controls, HappyOne.MSBuildAnalyzer or HappyOne.WinUI3Controls, most likely in a take-home project sent by a stranger as part of a job application. NuGet has removed the packages, but a PC that already built the project may have run the payload

What to do

Do not build or run a stranger's take-home project on a PC that holds work accounts or keys; use a throwaway virtual machine. If you already did, check which NuGet packages the project referenced and look for a folder named osk in %LOCALAPPDATA%; if either matches, treat the PC as compromised, disconnect it and rotate every password and key it could reach

Published 26 Nov 2026 · Sources last checked 26 Nov 2026No. 130 / 168

Watch the short video

The video loads from YouTube (privacy-enhanced mode) only when you press play.

What happened

On 25 November 2026 The Hacker News reported, citing a technical write-up by Socket researcher Kush Pandya, that 13 malicious NuGet packages target Windows .NET developers through a fake take-home job assessment. Most of them pose as WinUI 3 and WPF button controls. The first one, WinUI3IconButton, was uploaded on 23 July 2026, and the last two, HappyOne.MSBuildAnalyzer and HappyOne.WinUI3Controls, on 4 November 2026. NuGet had already removed two earlier names, VS_Builder.MSBuildAnalyzer and VS_Builder.WinUI3Controls, on 2 November, and the attackers republished the code under a new name two days later. All 13 are now deleted from the gallery.

How the trap works

The starting point is a GitHub repository created on 3 November 2026 that looks like a home assessment: tasks around improving a FileButton control and exception handling, to be done in three to four hours. The project file lists the malicious packages as normal dependencies. According to the report:

  • The build runs code. One package ships an MSBuild targets file that runs a bundled DLL after every build. That DLL downloads a file from GitHub into %LOCALAPPDATA%\osk\ and copies the Windows On-Screen Keyboard program, osk.exe, next to it.
  • The click finishes the job. Another package launches the copied program from the FileButton control. Because the downloaded DLL sits next to it, Windows loads the DLL instead of the real one. This is a known technique called DLL sideloading.
  • Other packages download and run an executable in the background when a control is created.

The repository's instructions even allow candidates to use AI assistants such as GitHub Copilot, ChatGPT or Claude, but discourage pasting the whole project into one. It is unclear how targets are led to these decoy projects.

Who is affected

Developers who built or ran a project that references any of these packages. In practice that means people who received a take-home test from a stranger and built it on their own computer. If you only use NuGet packages from well-known authors and never build other people's projects, this campaign did not touch you.

What to do

  1. Never build a stranger's project on the PC you work on. Use a throwaway virtual machine or a separate PC with no work accounts, no saved passwords and no keys. A build can run code, not just compile it.
  2. If you already built one, check. Open the project file and look for the package names above. Look for a folder named osk in %LOCALAPPDATA% that contains a copy of osk.exe and an extra DLL.
  3. If anything matches, treat the PC as compromised: disconnect it from the network, rotate every password and key it could reach (browser sessions, cloud and Git tokens, SSH keys), and rebuild it from a clean image.
  4. Before accepting a take-home test, check the recruiter and company independently, and read the dependencies in the project file before the first build.

What we do not know

Who is behind the campaign, how victims are approached, how many people built the project, and what the downloaded programs finally do. The press report does not list all 13 package names in the part we could read, and says it is unclear how targets reach the decoy repository.

What we could not confirm

We read The Hacker News article in full in the browser. Socket's original write-up, which it cites, was not found, so the technical details come from the press account. This is a good rule even without this campaign: treat a test project from someone you do not know like an unknown program.

Keep reading

More stories on the same topic or from the same area.

Comments

No account needed. Add a nickname if you like, or leave it empty to comment anonymously. Comments are reviewed before they appear. Links are not allowed.

    We store your comment, your nickname and a scrambled form of your connection that we use only to limit spam. We do not store your IP address or set cookies. Cloudflare Turnstile checks that you are not a bot.

    Sources and verification

    We use primary sources first and say when we rely on a news report. Dates are the day we last checked each source.

    Spotted a mistake? Email [email protected] and we will correct it and note the change.

    Newsletter · every Friday · free

    Get the weekly security briefing

    One email every Friday: what to act on now and what to plan this week, in plain words. The free one-page runbooks come in your welcome email. You confirm your address first.

    Subscribe for free

    Press / to search from any page