The Hacker News reports 13 malicious NuGet packages in fake .NET job test
The Hacker News reports Socket found 13 malicious NuGet packages, now deleted, used in a fake .NET job test; check projects for them.
- Published
- Exploitation
- Not confirmed. The Hacker News reports Socket found malicious packages that download and run executables, but no victim count or confirmed compromise is given.
What happened
According to The Hacker News, which reports research by Socket security researcher Kush Pandya, 13 malicious NuGet packages target Windows .NET developers through a fake take-home job assessment. The Hacker News says the packages are no longer in the NuGet gallery as of its writing. This is a single-outlet report relaying Socket’s findings, and neither NuGet nor the other named parties are quoted confirming the details.
Per that report, most of the packages pose as WinUI 3 and WPF button controls. In the versions Socket analyzed, building or running a project that uses them downloads files from GitHub, stages a DLL sideloading pair around the Microsoft On-Screen Keyboard (osk.exe), or downloads and runs an executable. The Hacker News
Details attributed to Socket in the report:
- The lure is a GitHub repository, “stevenleedig-ux/WinUI3_Home_Assessment”, created on November 3, 2026. It asks candidates to complete tasks in three to four hours. Its project file references VS_Builder.MSBuildAnalyzer version 1.2.7 and VS_Builder.WinUI3Controls version 1.0.7.
- VS_Builder.MSBuildAnalyzer, later republished as HappyOne.MSBuildAnalyzer, ships an MSBuild targets file that runs a bundled DLL after every build. In the lure version, that DLL downloads a file to %LOCALAPPDATA%\osk\OskSupport.dll and copies C:\Windows\System32\osk.exe next to it. VS_Builder.WinUI3Controls then launches the copied binary through the FileButton control, which triggers DLL sideloading.
- The WUIButton control in WinUI.Button starts a background routine that downloads “avast.exe” from a GitHub repository via the GitHub API, saves it as %TEMP%\Launcher.exe and runs it.
- RevertButtonIcon and SetButtonColor download a Windows executable to the temp folder and run it. InitializeCustomButton starts the copy that SetButtonColor drops.
- The first package, WinUI3IconButton, was uploaded on July 23, 2026. NuGet removed the two VS_Builder packages on November 2, 2026, and the two HappyOne packages were uploaded on November 4, 2026.
The report also describes related activity: fake repositories and npm packages impersonating the Axios HTTP client, binaries including a loader that uses a GitHub repository for two-way command and control, a Chrome profile stealer, and a ClickFix-style page with a fake reCAPTCHA prompt. According to Socket, the lure was advertised on the LaborX freelance marketplace on November 7, 2026. The Hacker News
Not confirmed: how targets are led to the decoy projects (“It’s unclear”, per the report), the number of victims, and who is behind the campaign. The report says it has not been attributed to a named actor or group. Socket noted tradecraft similar to recruitment-themed campaigns linked to North Korea and Iran, but said it found no indicator or code shared with Contagious Interview or other published North Korean campaigns.
Am I affected?
You may be affected if any of these apply, per the package names in the report:
- A project, lock file or package cache references one of: WinUI.Button, VS_Builder.MSBuildAnalyzer, VS_Builder.WinUI3Controls, HappyOne.MSBuildAnalyzer, HappyOne.WinUI3Controls, Web3TotalButton, RevertButtonIcon, WinUI3IconButton, WindowsAccentColorName, SetButtonColor, InitializeCustomButton, StyledAppButton, StyledComponent.
- You cloned or built “WinUI3_Home_Assessment”, or a similar take-home test, for a job or freelance offer.
- A project depends on one of the six npm packages Socket lists as part of the broader set: axios-test-one, telemetry-metrics, telemetry-axios, axios-native, fs-extra-core, vitest-axios.
The report does not say whether every version of each package was malicious, only that the versions Socket analyzed behaved as described. Whether other versions or machines were affected is not confirmed.
What to do now
- Search your repositories, lock files and local NuGet and npm caches for the package names listed above.
- Check build machines and developer workstations for the file locations named in the report: %LOCALAPPDATA%\osk\OskSupport.dll and %TEMP%\Launcher.exe.
- If any of these are present, treat the machine as potentially compromised. This is a general precaution, not a step stated in the source. Consider rotating credentials, including browser-stored data, since the report describes a Chrome profile stealer in related binaries.
- Be cautious with unsolicited take-home assessments and freelance listings that ask you to build code from an unfamiliar repository. Review referenced packages before building.
- Watch for updates. Attribution, victim impact and how targets are reached are not confirmed in the source.