Socket Finds 13 Malicious NuGet Packages Targeting .NET Developers

Summary
Socket identified 13 malicious NuGet packages used in fake .NET job assessments. Building or running projects could trigger malware, including a reported infostealer targeting Chrome profiles. Researchers recommend treating unfamiliar assignments as untrusted code.
Key points
- Socket researchers identified 13 package names across 28 versions and four NuGet publisher accounts linked to the campaign.
- The packages were concealed in fake job-assessment projects for Windows-based .NET developers.
- Researchers said malicious dependencies could execute during project builds or when an application created a button control.
- Reported activity included downloads from GitHub, DLL side-loading involving osk.exe, and an infostealer that copied Chrome profiles, including saved logins and cookies.
- Socket said it could not determine how the assessment lures reached candidates.
- Recommendations include checking unfamiliar dependencies and build scripts, using disposable virtual machines without credentials, restricting package sources, and rotating credentials from a clean device if a machine is compromised.
Article Details
- Event Type
- Supply-chain malware campaign targeting .NET developers through fake job assessments and malicious NuGet packages.
- Impact
- The campaign’s payloads included an infostealer that copied Chrome browser profiles, including saved logins and cookies, and a loader that could deliver different payloads to victims. Researchers said compromised developer machines could expose source code, SSH keys, package-registry and cloud tokens, browser sessions, and other credentials; the article does not report a confirmed number of victims or a measured impact.
MITRE ATT&CK
T1105 · Ingress Tool TransferBuilding or running affected projects downloaded files from GitHub.T1195.002 · Compromise Software Supply ChainMalicious NuGet packages were used to compromise developer environments through the software supply chain.T1555.003 · Credentials from Web BrowsersAn infostealer copied Chrome browser profiles, including saved logins and cookies.T1574.002 · DLL Side-LoadingThe analyzed packages staged a DLL side-loading pair around osk.exe.
People
Products
Google ChromeAmong the malicious payloads and activities associated with the campaign was an infostealer that copied Chrome browser profiles, including saved logins and cookies. A loader also allowed the threat actor to deliverMicrosoft Windowsat Socket discovered the campaign, which involves 13 malicious NuGet packages designed to compromise Windows-based developer environments through seemingly legitimate job assessments, according to a reportNuGetResearchers at Socket discovered the campaign, which involves 13 malicious NuGet packages designed to compromise Windows-based developer environments through seemingly legitimate job assessments, according to a reportVisual Studio 2026"Candidates are told that building the project shows the starter UI and that the work must be developed and tested on native Windows with Visual Studio 2026," Pandya wrote in the report.
