A take-home coding test can look like a normal part of applying for work, even when the project depends on malicious Windows packages.
Socket found that building or running certain projects could activate NuGet malware, so the first recovery question is what you did with the assignment.

Overview
A fake developer assessment can look like ordinary work
Socket’s November 23 investigation identified 13 malicious NuGet packages connected to an operation involving purported take-home assignments for developers working in the Windows .NET ecosystem.
Many packages looked like ordinary interface components for WinUI or WPF, frameworks developers use to create Windows desktop software and its visible controls.
The researchers describe an actual project used as a lure, but their findings do not establish that a real employer sent every invitation.
Starting the finished app is not the only action that matters
Socket found behavior in analyzed versions that could occur while the project was being built, even if the user never chose to launch it afterward.
Other behavior was tied to running the application, so build success or a brief look at the result does not tell you everything that happened.
An instruction to build the assignment locally therefore deserves the same verification as a request to run an unfamiliar installer on your computer.
NuGet and common .NET tools are not themselves the problem
NuGet distributes legitimate packages as part of normal .NET development, and the report identifies a campaign involving particular malicious packages rather than every package.
A familiar package host is not proof that the person who sent the assignment is connected to the company whose name appears in the message.
- Verify the employer and the assignment through a channel you find independently, even if the initial contact appears to come from a known platform.
- Distinguish reading instructions, downloading a project, opening it in an editor, restoring packages, building it, and actually running the application.
- If an unverified project did build or run, preserve the facts and handle affected accounts from a separate trusted device while the computer is investigated.
Why an Interview Repository Deserves a Second Look
A take-home exercise often includes tools that are familiar to the candidate, so a polished description and ordinary development terms are not reliable checks.
A candidate can reasonably expect to install dependencies for a real project, which makes the step easy to accept without asking who maintains them.
The reported lure took advantage of that expectation by giving the applicant a Windows project that looked like material prepared for an assessment.
The important detail is not whether the application window looked convincing; it is whether processing or building the project gave unfamiliar code a chance to run.
That makes the case different from an email that merely displays a false job offer and asks the candidate to send an advance fee.
It is possible to reach the risky step without making a payment, typing a password into a fake form, or encountering an installer screen.
If the exercise arrived through a legitimate hiring platform, verify the specific recruiting account, requisition, and repository rather than trusting the platform alone.
A real company can be impersonated even if somebody sent you material that looks consistent with a genuine job advertisement or ordinary coding test.
Reading, Cloning, Building, and Running Are Different
If you only read the email or looked at the instructions in a browser, that is different from letting development tools process the project locally.
Copying a repository without opening, building, or running it is a separate activity, but your tools may have performed additional work once you opened it.
A code editor or development environment can offer to load the project or resolve dependencies, so record what the tool did as well as what you clicked.
Do not reopen the folder to reconstruct those events if doing so could cause the same development tooling to process it again.
Existing terminal output, notifications, and project records already collected by your organization are safer places for a responder to start.
A failed build does not by itself show there was no impact, because a particular stage may have run before an error appeared.
Conversely, the fact that a package was named in a project does not establish that a person’s computer downloaded, processed, or executed it.
If you cannot tell how far the workflow went, describe that uncertainty honestly instead of deciding there was either definitely no exposure or definitely a compromise.

How to Check an Unverified Coding Test for the NuGet Malware Risk
Step 1: Verify the assignment with the employer independently
Find the employer’s careers page yourself, then check whether the role exists and contact the organization using an address it publishes separately.
Ask the verified contact to confirm the sender, the job requisition, and the exact assignment before opening developer tools against a shared project.
If a company will not confirm the project through an independent channel, ask for another assessment format rather than running it to stay on schedule.
Save the original communication where you can refer to it if the recruiting platform needs to investigate the account that sent it.
Step 2: Find out whether the project actually ran
If you already worked on the assignment, write down whether you clicked through the editor, accepted a trust prompt, restored dependencies, built it, or ran it.
Note which computer and account you used, along with the time and any existing records that would help a responder establish what happened.
Do not build the project again to reproduce an error, and do not send the files to another applicant to see what they get.
On a work computer, contact IT before deleting the project or cleaning the machine, because the evidence may matter beyond your own account.
Step 3: Protect access you used from that computer
If there is evidence of execution, stop using that computer for sensitive sign-ins, and use another device you trust to check affected accounts.
For work identities, ask your incident responder which sessions, repository credentials, and build or deployment secrets to revoke or rotate, in which order.
On personal accounts, review recent activity and use the service’s security controls to close unfamiliar sessions and remove permissions you do not recognize.
Changing a password does not necessarily invalidate a separate access token, so check the provider’s instructions for the kinds of access you actually used.
Do not transfer backups or project artifacts to another environment while you are uncertain whether those files were produced on the affected machine.
Step 4: Validate the environment before resuming development
Use a known-good environment with trusted project sources, then check settings and dependencies before reconnecting development tools to company repositories or release systems.
If your organization finds evidence of persistent or privileged compromise, ask whether the device should be rebuilt from a trusted image instead of returned to service.
Do not treat a fresh clone alone as proof that the host operating system, developer credentials, or earlier build artifacts are safe.
For maintained projects, Microsoft’s NuGet package source mapping documentation explains how to constrain future dependency sources, not how to undo an earlier execution.
What to Do If You Built or Ran the Project
- Stop interacting with the assignment and preserve the original message and any existing build or editor records without re-executing the project.
- On a company computer, contact your security team immediately, tell them what may have run, and follow their instructions about disconnecting it.
- On a personal PC, stop sensitive activity, disconnect it from the network if you suspect active malware, and use another trusted device for account recovery.
- Review credentials associated with the development environment as well as browser accounts, particularly if your work involves source control, release systems, or privileged tools.
- Keep downstream artifacts separate until the people responsible know what was built, where it was distributed, and whether it needs to be replaced.
The same account can have access to several services, so do not finish your review when you have changed only the password used to receive the invitation.
If someone else owns the publishing account or team project, tell them how soon the assignment was processed and which access may be at risk.
That gives them a way to check their logs and decide whether any action is needed on their side of the environment.
Windows Cleanup After a Confirmed Assessment Run
Step 1: Preserve the record and choose a trusted recovery route
On a managed Windows device, let your organization’s security team decide when to scan or rebuild it after collecting the information they need.
For a personal Windows PC, write down the timeline and avoid running the project again before following the supported scan steps below.
If you have to reconnect for an approved tool, avoid unrelated browsing and sign-ins on the suspect computer while you are still assessing it.
Step 2: Scan Windows with Malwarebytes
Use this Windows Malwarebytes guide to run a scan and review the results, remembering that the scan cannot secure accounts on another service.
Malwarebytes is one of the most popular and trusted anti-malware tools for Windows, and it’s completely free for removing infections. It catches threats that many antivirus programs miss, including adware, browser hijackers, and trojans. Follow the steps below to scan your PC and remove what Malwarebytes finds.
Download Malwarebytes
Click the button below to download the latest version of Malwarebytes for Windows from the official source. The free version is all you need, because it scans your computer and removes adware, browser hijackers, and other malicious software at no cost.
Download MalwarebytesOfficial installer for Windows 11 and 10. Your download starts right away.Want real-time protection? See Malwarebytes Premium
Malwarebytes Free for WindowsScans and removes malware at no costInstall Malwarebytes
When the download finishes, click Open file under the MBSetup file in your browser’s download list. You can also open your Downloads folder and double-click the MBSetup file.

If Windows asks whether you want to allow Malwarebytes Setup to make changes to your device, click Yes.

Follow the On-Screen Prompts to Install Malwarebytes
The setup wizard will walk you through a few quick screens:
In the Malwarebytes Setup window, click Install.

When Malwarebytes asks which protection type you need, select Personal (for me or my household), then click Next.

Malwarebytes then offers its free Browser Guard extension. You can add it with Secure my browser, or click Skip this step to continue without it.

Malwarebytes will now install on your device. This usually takes under a minute.

When you see Success!, click Open Malwarebytes.

Finish the Welcome Screens
The first time Malwarebytes opens, it shows a few short welcome screens:
On the Welcome to Malwarebytes screen, click Get started.

Malwarebytes offers its paid plan next. Click Maybe later to keep using the free version.

Malwarebytes then starts a free 14-day trial of its Premium features, with no credit card needed. Click Continue with free trial. When the trial ends, Malwarebytes switches to the free version, which can still scan and remove malware.

On the Your trial is now active screen, click Open Malwarebytes.

If Malwarebytes asks for your email address before the first scan, you don’t need to enter it. Click I’ll scan later, then click Skip anyway. You will start the scan yourself in the next steps.


Optional: Check for rootkits with a Custom Scan
You don’t need to change any settings for a normal scan. The standard Threat Scan in the next step is enough for most problems, so you can go straight to it.
If you also want to check for rootkits, use a Custom Scan. In current versions of Malwarebytes, rootkit scanning is only available there:
- On the Scanner tile, click the three-dot menu and select Advanced Scan.
- Choose Custom Scan. In its options, check Scan for rootkits.
- Select your system drive (usually C:\) as the location to scan, then start the scan. It takes longer than a Threat Scan.
- When it finishes, review and quarantine the results as described in the steps below.
Rootkit scanning isn’t available on Windows devices with ARM processors.
Start the Scan
On the Dashboard, click the Scan button on the Scanner tile. Malwarebytes will automatically update its virus database and start checking your computer for malware.

Wait for the Scan to Finish
The scan checks your entire system for browser hijackers and other malicious programs, so it can take 5 to 20 minutes depending on your computer. Feel free to do something else in the meantime and check back occasionally to see the progress.

Quarantine the Detected Threats
When the scan is done, you’ll see a list of everything Malwarebytes found, including malware, adware, and potentially unwanted programs. Leave all items checked and click the blue Quarantine button, which also shows how many items will be removed.

Malwarebytes will now remove the malicious files and registry entries and move them safely into quarantine.

Finish and Restart if Asked
When the cleanup is complete, Malwarebytes shows a summary of the scan. Click Done.

Some threats can only be fully removed after a reboot. If Malwarebytes asks you to restart, click Yes. Once you’re logged back in, Malwarebytes has finished removing the threats it found.
Step 3: Run a separate HitmanPro scan
HitmanPro offers a second scan, but removing detections can require a trial or license, and no purchase is necessary to verify the employer or secure accounts.
HitmanPro is a second-opinion scanner, designed to catch what your main antivirus might have missed. Instead of relying on a single detection engine, it checks the behavior of files in the locations where malware usually hides. Anything suspicious is checked online, where it’s analyzed by several antivirus engines in HitmanPro’s Scan Cloud.
Good news: scanning is completely free, with no limits. You only need a license when it’s time to remove what was found, and even then you can activate a free one-time 30-day trial to remove what it finds at no cost. The trial works once per computer. After that, removal needs a paid license, and the purchase screen shows the current price.
-
Download HitmanPro
Click the button below to download HitmanPro. Remember that the scan is free, so you have nothing to lose by checking your PC.
Download HitmanProFree scan. Removing threats needs the free 30-day trial. Opens the official HitmanPro page in a new tab.
HitmanProSecond-opinion malware scanner from SophosOn the official download page, click Download 64-bit. Almost every Windows 11 and Windows 10 computer is 64-bit; choose Download 32-bit only on an older 32-bit PC.

-
Install HitmanPro
When the download finishes, click Open file under HitmanPro_x64.exe in your browser’s download list, or double-click the file in your Downloads folder. (The 32-bit version is named HitmanPro.exe.)

If a User Account Control pop-up asks whether HitmanPro can make changes to your device, click Yes to continue.

-
Follow the On-Screen Prompts
HitmanPro updates itself for a few seconds. On the start screen, click Next.

On the Terms and conditions screen, click Next to accept them.

On the Setup screen, select Yes, create a copy of HitmanPro so I can regularly scan this computer, then click Next. HitmanPro installs itself and starts the scan right away. You don’t have to fill in the email fields.

-
Wait for the Scan to Finish
HitmanPro will now check your computer for malicious programs. This usually takes just a few minutes thanks to its cloud-based scanning.

If HitmanPro asks to close your running web browsers so it can check them for tracking cookies, save any open work in the browser and click Yes.

-
Review the Results and Click “Next”
When the scan is done, HitmanPro will show you everything it found. Click “Next” to remove the detected threats.

If HitmanPro found nothing, it shows No threats found. There’s nothing to remove, so click Close.

-
Click “Activate Free License”
To remove the malicious files, click the “Activate free license” button. This starts your free 30-day trial, which needs no payment details and unlocks the full cleanup.

When the removal is complete, HitmanPro will show a summary of everything it cleaned. Click Next, then click Reboot if prompted. If there’s no reboot prompt, click Close. Then check whether the problems you noticed have stopped. If they come back, save the HitmanPro log and ask for help in our forum.
Step 4: Decide whether scans are enough for your situation
A second scan can provide another view of the device, but neither result establishes which historical sessions or build artifacts were exposed.
If you find persistent signs of compromise or sensitive access was involved, speak to a qualified responder about rebuilding the device and validating anything it produced.
Wait to reconnect a managed computer or return it to sensitive work until the person responsible for its recovery approves that step.
If you still see unexpected sign-ins or repeated detections afterward, ask for MalwareTips removal assistance or use the support contact responsible for the affected system.
What Hiring Teams Can Do Without Changing the Assessment
A legitimate hiring team can reduce confusion by listing the assessment format on its careers site and providing a separate address for verification.
Candidates should be able to confirm an exercise without replying to the original message or accepting another invitation from the same unverified account.
Give applicants an alternative if they cannot run the project on a device they own, especially when their only suitable computer belongs to another employer.
When an assessment requires dependencies, state why they are needed and which organization controls the source used for the material you provide.
A browser exercise, a discussion of prior work, or an approved hosted environment can avoid asking a candidate to trust unknown software locally.
If someone reports an imitation, try to confirm which recruiter or requisition was copied before changing a legitimate job listing that applicants still need.
The hiring team can then make its verification process easier to find and preserve the original report for the platform or security team.
That notice should help candidates identify the official process without republishing the suspicious download or asking people to reproduce what the project did.
If a candidate already built the imitation, let them know which channel will receive evidence and avoid promising that removing the message finishes recovery.
A useful reply separates what the hiring team can confirm from the device and account decisions the candidate’s own security team must make.
Frequently Asked Questions
Is it safe if I only read the assignment in my web browser?
Reading an assignment in a browser is not the build or execution behavior described in Socket’s research, which involved processing development material.
If you also entered a password, authorized an app, or downloaded and opened a file, assess those separate actions rather than treating the message view as the whole event.
Could the project do something if I did not launch the app?
Yes, Socket found behavior that could occur during a build, so not launching the completed app is not enough to rule out execution.
Review what your development environment did with the project and any existing records instead of repeating the same operation to watch what happens.
Does a failed build mean I am safe?
A failed build is not proof of compromise, but it does not establish that nothing ran before the error was reported either.
Give a responder the available details about when the error occurred and what the tools did beforehand, especially on an organization-owned system.
Do I have to stop using NuGet?
No, the report concerns packages connected to one operation, and it does not make normal use of the NuGet ecosystem unsafe by definition.
Verify the source and ownership of dependencies, review unusual additions, and use the policies that apply to the development environment you maintain.
Should I delete the project straight away?
On a managed device, preserve the information you already have and contact IT before deleting the project or trying to remove related files.
If you need to remove it on a personal device, do not let deletion replace the separate checks for execution, account activity, and possible recovery.
Can a clean scan tell me that my repository credentials were not used?
A clean scan does not prove a credential was never copied or used, because that requires reviewing the activity of the corresponding account or service.
Check sessions and access separately from the computer, and ask the account owner to verify any privileged action you cannot inspect on your own.
The Bottom Line
Socket’s NuGet malware investigation shows why a coding test should be verified before an unfamiliar project builds on a Windows development machine.
If you already worked on it, establish what ran, protect access from a trusted device, and use the Windows cleanup guide where the exposure warrants it.
Join the discussion
0 commentsShare your experience or ask a question about this article.
Discussion
Start the conversation
Have a question or something useful to share? Add the first comment.