Malicious code in Pathoschild.Stardew.ModBuildConfig.Net (NuGet)
Malicious code was discovered in multiple versions of the Pathoschild.Stardew.ModBuildConfig.Net NuGet package. The package was compromised and distributed via the NuGet package registry, affecting developers who depend on it for Stardew Valley mod development.
- Disclosed
- Last updated
- Blast radius
- Developers using Pathoschild.Stardew.ModBuildConfig.Net in their build pipelines
- Ecosystems
- Attack vectors
- Affected entities
- Pathoschild.Stardew.ModBuildConfig.NetNuGet package with malicious code
The Pathoschild.Stardew.ModBuildConfig.Net NuGet package was found to contain malicious code across multiple versions. This package is used by developers building mods for Stardew Valley and is distributed through the NuGet package registry.\n\nThe malicious package was identified and credited to the OpenSSF's malicious-packages project, which tracks confirmed supply chain compromises. The incident was published on July 20, 2026, and assigned the identifier GHSA-cx5p-wmv9-whj5.\n\nDevelopers who downloaded affected versions of this package during the compromise window may have had malicious code injected into their build processes or development environments.
Indicators of compromise
- Packages
- Pathoschild.Stardew.ModBuildConfig.Net
Remediation
- Remove or uninstall all versions of Pathoschild.Stardew.ModBuildConfig.Net from affected projects
- Audit build artifacts and compiled binaries produced with affected versions for signs of compromise
- Update to a patched or verified clean version of the package if available
- Review NuGet package dependencies and consider using package pinning or verification mechanisms
- Monitor for any suspicious activity in projects that used affected versions
Sources
- GitHub Advisory GHSA-cx5p-wmv9-whj5 · GitHub Advisory Database
Cite this entry
"Malicious code in Pathoschild.Stardew.ModBuildConfig.Net (NuGet)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 20, 2026; last updated July 20, 2026. https://supplychainattack.org/incident/malicious-code-in-pathoschild-stardew-modbuildconfig-net-nuget-qe0pay
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- 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 - resolvedcritical
Malicious code in Winforms (NuGet)
Malicious code was discovered in multiple versions of the Winforms package on NuGet. The incident was documented by the OpenSSF malicious packages project and published as GitHub advisory GHSA-wq82-5xjm-57wq.
NuGetCompromised package