MAL-2026-20764: Malicious code in HappyOne.MSBuildAnalyzer (NuGet)

Published Nov 25, 2026
·
Updated

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.

Affected Software

1 affected component
nuget/happyone.msbuildanalyzer=1.2.8, =1.2.9, =1.3.0

Event History

Nov 25, 2026
Advisory Published
via OSV·09:30 PM
Data Sourced
via OSV·09:30 PM
DescriptionAffected Software

Frequently Asked Questions

1

When does the bundled code execute?

The package includes a targets file under build/ that runs MSBuildAnalyzer.dll after every build. Errors from that execution are suppressed, so builds may continue even if the DLL fails.

2

Which versions have documented payload-handling behavior?

Versions 1.2.8 and 1.2.9 download bytes and AES-decrypt them using embedded base64 key and IV constants before writing the result to disk. Version 1.3.0 skips the decryption step.

3

What conditions are needed for the package to retrieve its payload?

A build must run with the package's build targets imported, causing the bundled DLL to execute. The DLL contains an encrypted download address, which is not provided in the advisory.

4

What evidence can be used to investigate possible exposure?

Check dependency and package records for nuget/happyone.msbuildanalyzer, particularly versions 1.2.8, 1.2.9, and 1.3.0. Inspect package contents for a build targets file and MSBuildAnalyzer.dll, and investigate files written during or after builds.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203