As reported by The Hacker News, a campaign involving 13 malicious NuGet packages has been uncovered, targeting Windows .NET developers through a sophisticated social engineering lure disguised as a take-home job assessment. The packages, masquerading as WinUI 3 and WPF button controls, leveraged MSBuild targets and DLL sideloading techniques to deliver malware payloads — all triggered simply by building or running a project that imported them.

Threat Alert: The packages, masquerading as WinUI 3 and WPF button controls, leveraged MSBuild targets and DLL sideloading techniques to deliver malware payloads — all triggered simply by building or running a project that imported them.

Why This Campaign Is Different

What sets this apart from typical malicious package campaigns is the layered deception. The threat actors didn't just upload packages with confusingly similar names to popular libraries. They constructed an entire credible context: a GitHub repository styled as a legitimate technical assessment, with realistic tasks around enhancing a FileButton control and exception handling, and a three-to-four-hour time limit that mirrors genuine hiring processes. The README even references AI assistants like Copilot and Claude — a detail that adds authenticity and exploits the modern developer's workflow.

The technical execution is equally concerning. By abusing MSBuild targets files, the malicious code executes after every build — not at runtime. This means the payload fires during the development cycle itself, when developer machines are trusted, connected to internal resources, and often running with elevated privileges. The use of osk.exe (Microsoft On-Screen Keyboard) as the sideloading vehicle is a known living-off-the-land technique that blends into normal system activity.

The most dangerous aspect: a developer who simply cloned the assessment repo and ran dotnet build was already compromised — before they'd written a single line of code.

Broader Implications

The Developer-as-Target Trend

This campaign reinforces a shift we've been tracking: threat actors increasingly view developers as high-value targets. A compromised developer machine can yield source code, credentials, CI/CD pipeline access, and a trusted pathway into production environments. The fake job assessment vector is particularly insidious because it exploits a moment when developers are motivated to move quickly, comply with instructions, and impress — all factors that lower their usual security skepticism.

Package Registry Gaps Remain

Despite improvements from NuGet, PyPI, and npm in recent years, this campaign persisted for over four months — the first package was uploaded July 23, 2026, and the final uploads came November 4, 2026. While all packages have since been removed, the detection lag highlights that reactive moderation alone is insufficient. The threat actor even demonstrated operational resilience by republishing removed packages under new names (VS_Builder.MSBuildAnalyzer became HappyOne.MSBuildAnalyzer), indicating they were actively monitoring takedowns.

Shield53 Recommendations

What You Should Do

Shield53 Recommendations
Audit your NuGet dependencies immediately. Search your solutions for the 13 identified package names. Even though they've been removed from the gallery, they may persist in local caches, internal mirrors, or committed packages folders.
Implement package allowlisting. Use centralized package management with BaGet, ProGet, or Azure Artifacts as a curated feed. Block direct access to public NuGet from developer machines and CI/CD pipelines.
Scan MSBuild targets and build props. Review all .targets and .props files in your repositories for unexpected <Exec>, <DownloadFile>, or <UsingTask> entries. These are the primary vectors in this campaign.
Establish a job assessment security protocol. For take-home assessments involving external repositories, require candidates to run them in isolated VMs or sandboxes — never on primary development machines. Provide a clean VM image for this purpose.
Monitor for osk.exe anomalies. Alert on osk.exe executing from non-standard locations (particularly %LOCALAPPDATA%) or spawning child processes. This is a known sideloading target beyond this specific campaign.
Enable NuGet package signing verification. Require signed packages where possible and enforce repository signing policies through NuGet.config in your organization.
Brief your hiring teams. Coordinate with HR and engineering managers to ensure that any third-party assessment platforms or repositories used in hiring are vetted by security before being sent to candidates.

Detection Focus

Defenders should prioritize monitoring for: DLL files appearing alongside legitimate Windows executables in non-standard directories, MSBuild processes making unexpected network connections, and any NuGet restore operations pulling packages with low download counts or recent creation dates. The combination of a freshly created GitHub repository referencing packages uploaded within days of each other is a strong indicator of a coordinated lure.

This campaign illustrates that supply chain security isn't just about the packages you ship — it's about the packages you build with, and the human context in which you encounter them.