# Fake job assessments hide malicious NuGet packages that run when .NET developers build

Socket found 13 malicious NuGet packages pushed through bogus take-home coding tests for Windows .NET developers, with payloads that steal saved Chrome logins and session cookies.

Source: https://junglewise.ai/news/fake-job-assessments-hide-malicious-nuget-packages-that-run-when-net-developers  
Byline: Junglewise News Desk, https://junglewise.ai/news  
Topic: Threat campaigns  
Published: 26 November 2026  
Reading time: 5 min

![Close-up top-down view of a laptop keyboard and trackpad on a white desk](https://images.unsplash.com/photo-1539376248633-cf94fa8b7bd8?ixid=M3w0NDU4NjF8MHwxfHNlYXJjaHwxfHxsYXB0b3AlMjBrZXlib2FyZCUyMGNsb3NlfGVufDF8MHx8fDE3OTU2Njg0OTV8MA&ixlib=rb-4.1.0&w=1600&q=80&fm=jpg&fit=crop)

Picture: Photo by [Vandan Patel](https://unsplash.com/@vandanpatel_?utm_source=junglewise&utm_medium=referral) on [Unsplash](https://unsplash.com/?utm_source=junglewise&utm_medium=referral)

![A closed silver laptop sitting on a white reflective desk](https://images.unsplash.com/photo-1620365602462-40d8f2cdd84c?ixid=M3w0NDU4NjF8MHwxfHNlYXJjaHwzfHxjbG9zZWQlMjBsYXB0b3AlMjBvbiUyMGRlc2t8ZW58MXwwfHx8MTc5NTY2ODUxOXww&ixlib=rb-4.1.0&w=1600&q=80&fm=jpg&fit=crop)

Picture: Photo by [Markus Spiske](https://unsplash.com/@markusspiske?utm_source=junglewise&utm_medium=referral) on [Unsplash](https://unsplash.com/?utm_source=junglewise&utm_medium=referral)

![Close-up of a white computer keyboard shot at an angle](https://images.unsplash.com/photo-1529236183275-4fdcf2bc987e?ixid=M3w0NDU4NjF8MHwxfHNlYXJjaHwyfHxsYXB0b3AlMjBrZXlib2FyZCUyMGNsb3NlfGVufDF8MHx8fDE3OTU2Njg0OTV8MA&ixlib=rb-4.1.0&w=1600&q=80&fm=jpg&fit=crop)

Picture: Photo by [Sergi Kabrera](https://unsplash.com/@skabrera?utm_source=junglewise&utm_medium=referral) on [Unsplash](https://unsplash.com/?utm_source=junglewise&utm_medium=referral)

A campaign aimed at Windows .NET developers has been distributing malicious code through fake job interview exercises, and simply compiling the supplied project is enough to run it. Researchers at Socket [found 13 malicious NuGet packages](https://socket.dev/blog/malicious-nuget-packages-fake-job-assessments) tied to the operation, most of them posing as button controls for the WinUI 3 and [Windows Presentation Foundation](/threats/technologies/windows-presentation-foundation) user interface frameworks.

Much of the consequence lands on the employer rather than the candidate. A developer workstation holds source code, SSH keys, tokens for GitHub, package registries and cloud services, and browser sessions that have already cleared multifactor authentication, which is why Socket's Kush Pandya described the campaign to [Dark Reading](https://darkreading.com/threat-intelligence/attackers-net-developers-poisoned-job-assessments) as a very serious threat to enterprises and the machine itself as a "treasure trove" of sensitive information. One observed payload harvested Chrome profile data, which carries stored passwords and session cookies with it. Another component acted as a loader, letting the operator send different payloads to different victims.

Access obtained this way is also unusually hard to spot. Pandya noted that when attackers work from a developer's own machine, "they not only have the necessary access keys but also the expected IP address and geolocation to avoid suspicion." Console users whose shell history is collected automatically add another hazard: passwords and API keys pasted into a terminal end up in a file the attacker can read.

The lure is an ordinary looking take-home test. The most recent example Socket found was a GitHub repository, `stevenleedig-ux/WinUI3_Home_Assessment`, created on 4 November 2026 and presenting a "Mini File Vault & Tracker" exercise requiring Windows and Visual Studio 2026. Candidates were asked to spend three to four hours on a supplied Visual Studio project whose dependencies carried the malicious code. The README told candidates not to alter the inner workings or styles of the external FileButton control, which is precisely the component carrying the runtime trigger.

How these assessments reached candidates is still unknown. Socket's researchers found no recruiter message, email or job posting attached to the Home Assessment lures.

## What to do now

- Treat any take-home coding assignment as untrusted code. Open it only in a disposable virtual machine that holds no credentials, tokens or signed-in browser sessions, and discard the machine afterwards.
- Before installing anything, inspect the project for unfamiliar NuGet dependencies, extra package sources added to the project or solution, and build scripts that execute on their own. A `.targets` file inside a third-party package deserves a careful read.
- Restrict which NuGet feeds developers can use across the organisation, and review third-party packages that ship build scripts capable of running commands.
- Verify recruiters and assessment projects through official company channels before running anything, and tell staff and candidates that fake recruitment assessments are a live technique.
- If a machine is suspected of being compromised, handle it as a credential and software supply chain incident rather than a routine malware cleanup. Isolate and reimage the device, rotate credentials and tokens from a known clean machine, revoke active sessions, and review audit logs for anything the stolen tokens may have touched.

## Technical details

Socket traced the NuGet side of the operation from 23 July to 4 November 2026, across four publisher accounts: `HappyOne`, `Carol-White-Super`, `Steven-White-Super` and `VS_Builder`. The 13 package IDs accounted for 28 versions, targeting WinUI 3 with the Windows App SDK or WPF-style `net8.0-windows7.0`. The campaign started on npm in July 2026 with payloads hosted on GitHub before expanding to NuGet.

Two packages worked as a pair. `VS_Builder.MSBuildAnalyzer`, later republished as `HappyOne.MSBuildAnalyzer`, ships an MSBuild targets file that NuGet imports automatically into every referencing project, because NuGet pulls in a package's `build/<package_id>.targets` file by default and matches the name case-insensitively. The target runs a bundled DLL after every build, downloads a file to `%LOCALAPPDATA%\osk\OskSupport.dll` and copies Microsoft's On-Screen Keyboard, `osk.exe`, alongside it. That is a documented DLL side-loading pair: the legitimate signed binary loads the attacker's library from its own directory.

The target is written to run every time, referencing an output file that does not exist so MSBuild never considers it up to date, and using `IgnoreExitCode` and `ContinueOnError` so a failure never breaks the build. The lure project also sets `DisableFastUpToDateCheck` to true, which per Microsoft's documentation makes Visual Studio skip its fast up-to-date check and fall back to MSBuild, ensuring the malicious target fires.

The stager DLL presents itself as an "MSBuild Compatibility Analyzer" and falsely lists Microsoft as its company. It performs 17 decoy operations before reaching its real logic, then decrypts hidden strings with XOR and AES-256-CBC to recover a GitHub raw-content download URL and the target paths for the payload and the `osk.exe` copy. During Socket's analysis the referenced repository returned HTTP 404, so the file it served could not be identified.

The second half of the pair, `VS_Builder.WinUI3Controls`, also falsely lists Microsoft as its author. Its `FileButton` control launches the copied `osk.exe` from a compatibility check routine that runs once the click handler has been wired up. The lure project's starter window pre-loads two sample entries rendered with that control, so merely opening the main window is enough. A separate package, `WinUI.Button`, takes a more direct route: creating a `WUIButton` control starts a background task that fetches an executable called `avast.exe` through the GitHub API using an embedded access token, saves it as `%TEMP%\Launcher.exe` and runs it.

Two fake `axios` repositories serve Windows executables disguised as project files at `lib/env/axios.csproj`. Their commit history contains a loader that uses a GitHub repository for two-way command and control, a component that lifts Chrome profiles and sends them to GitHub, and a payload that calls home over Telegram. Six npm packages pull payloads from a fake axios repository and from a repository whose owner hosts a ClickFix page. A "Crypto Wallet Analyzer" application released on GitHub on 13 November hides a new build of the loader in a bundled DLL, under a job lure separate from the Home Assessment one.

Socket links the five infection paths through a shared repository owner, a shared git identity named Gabriel who made the first commit in three fake axios repositories, the shared `HappyOne` publisher, and consistent token-based GitHub download naming.

NuGet has removed 12 of the 13 packages; `WinUI.Button` 1.0.0 remained listed at the time of Socket's writing. NuGet's public removal log flags `Web3TotalButton`, `VS_Builder.MSBuildAnalyzer` and `VS_Builder.WinUI3Controls` as malware, and Socket separately flags `RevertButtonIcon`, `SetButtonColor` and `InitializeCustomButton`.

## On Junglewise Threat Intelligence

- [Microsoft Windows Presentation Foundation](https://junglewise.ai/threats/technologies/windows-presentation-foundation)

## Related articles

- [Microsoft: Chinese and North Korean groups among those using ARTEX AI tool](https://junglewise.ai/news/microsoft-chinese-and-north-korean-groups-among-those-using-artex-ai-tool)
- [Cloud keys left in public Docker Hub images are stolen within seconds](https://junglewise.ai/news/cloud-keys-left-in-public-docker-hub-images-are-stolen-within-seconds)
- [Inception leak site claims seven victims as vishing crew rebrands after arrests](https://junglewise.ai/news/inception-leak-site-claims-seven-victims-as-vishing-crew-rebrands-after-arrests)
- [Badbox 3.0 returns with 40 billion fraudulent ad requests a day](https://junglewise.ai/news/badbox-3-0-returns-with-40-billion-fraudulent-ad-requests-a-day)
