Malicious package · NuGet
Malicious code in HappyOne.MSBuildAnalyzer (NuGet)
1.2.81.2.91.3.0No safe version. Remove it.What it does
HappyOne.MSBuildAnalyzer poses as an MSBuild compatibility analyzer. A targets file under build/ runs the bundled MSBuildAnalyzer.dll after every build with errors suppressed. The DLL downloads bytes, AES-decrypts them with embedded base64 key and IV constants (1.2.8 and 1.2.9; 1.3.0 skips the decryption) and writes the result to disk. The download address is stored encrypted in the DLL and is not listed here. Part of the fake job assessment campaign described in the referenced article.
No fix · Remove and contain
dotnet remove package HappyOne.MSBuildAnalyzer