Malicious code in sharpdefender (NuGet)
Malicious code was discovered in the sharpdefender NuGet package. The package was identified by the OpenSSF malicious packages project and assigned identifier MAL-2025-2924.
- Disclosed
- Last updated
- Blast radius
- All users of the sharpdefender NuGet package who installed affected versions
- Ecosystems
- Attack vectors
- Affected entities
- sharpdefenderNuGet package
The sharpdefender NuGet package was found to contain malicious code. This incident was identified and documented by the OpenSSF's malicious packages project, which maintains a catalog of confirmed malicious software supply chain incidents.\n\nThe advisory was published on GitHub on 2026-07-20 and assigned the identifier GHSA-92hr-27rq-mg9m. The malicious package was classified as critical severity due to the presence of intentional malicious code in the package.\n\nUsers who have installed this package should immediately remove it and audit their systems for any compromise.
Indicators of compromise
- Packages
- sharpdefender
Remediation
- Remove the sharpdefender NuGet package from all affected systems
- Audit systems that had the package installed for signs of compromise
- Review and revoke any credentials or sensitive data that may have been exposed
- Update to a clean, verified alternative if available
- Monitor package repositories for any similar malicious packages
Sources
- GitHub Advisory GHSA-92hr-27rq-mg9m · GitHub Advisory Database
Cite this entry
"Malicious code in sharpdefender (NuGet)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 20, 2026; last updated July 20, 2026. https://supplychainattack.org/incident/malicious-code-in-sharpdefender-nuget-x1ea9g
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- containedcritical
Malicious code in intercom-php (Packagist)
The intercom-php package on Packagist was compromised with malicious code as part of the Mini Shai-Hulud campaign by the TeamPCP threat actor. The malicious payload steals credentials and can propagate to NPM packages using discovered credentials.
Mini Shai HuludTeamPCPNuGetCompromised packageMalicious maintainer - resolvedcritical
Malicious code in Ultimate.Wpf.Toolkit (NuGet)
Multiple versions of the Ultimate.Wpf.Toolkit NuGet package contained malicious code. The incident was identified and documented by the OpenSSF malicious packages project.
NuGetCompromised package - resolvedcritical
Malicious code in YoutubeExtractor.Net (NuGet)
Malicious code was discovered in the YoutubeExtractor.Net NuGet package. The incident was identified and documented by the OpenSSF malicious packages project.
NuGetCompromised package - resolvedcritical
Malicious code in Zendesk.OAuth (NuGet)
Malicious code was discovered in multiple versions of the Zendesk.OAuth NuGet package. The incident was identified and documented by the OpenSSF malicious packages project.
NuGetCompromised package