MAL-2026-20764

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/nuget/happyone.msbuildanalyzer/MAL-2026-20764.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20764
Published
2026-11-25T21:30:00Z
Modified
2026-11-30T01:30:03Z
Summary
Malicious code in HappyOne.MSBuildAnalyzer (NuGet)
Details

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.

Database specific
{
    "iocs":  {
        "files":  [
            {
                "digests":  {
                    "sha256":  "5e27a83d82c4bedfc7cfa6f828eb383ef09e2ed4e49533665cd284debc7376e6"
                },
                "note":  "1.2.8: downloads, AES-decrypts and writes a payload. Run after every build by the targets file.",
                "paths":  [
                    "lib/net10.0/MSBuildAnalyzer.dll"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "4ec23d5a7d03c906e291f5f6100704e8cf164e3a69f0b239e8ed38b20218ad92"
                },
                "note":  "1.2.9: downloads, AES-decrypts and writes a payload. Run after every build by the targets file.",
                "paths":  [
                    "lib/net10.0/MSBuildAnalyzer.dll"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "7eeaa4784955be7c1faff5b13cccf2114dd35321afeb9e515a6daede453ac11b"
                },
                "note":  "1.3.0: downloads and writes a payload.",
                "paths":  [
                    "lib/net10.0/MSBuildAnalyzer.dll"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "note":  "1.2.9: build hook that runs MSBuildAnalyzer.dll after every build.",
                "paths":  [
                    "build/HappyOne.MsBuildAnalyzer.targets"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "note":  "1.2.8: build hook that runs MSBuildAnalyzer.dll after every build.",
                "paths":  [
                    "build/VS_Builder.MsBuildAnalyzer.targets"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ]
    }
}
References
Credits

Affected packages

NuGet / HappyOne.MSBuildAnalyzer

Package

Name
HappyOne.MSBuildAnalyzer
View open source insights on deps.dev
Purl
pkg:nuget/HappyOne.MSBuildAnalyzer

Affected ranges

Affected versions

1.*
1.2.8
1.2.9
1.3.0

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/nuget/happyone.msbuildanalyzer/MAL-2026-20764.json"