MAL-2026-21081

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/neun-by-neun/MAL-2026-21081.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-21081
Published
2026-12-03T20:39:12Z
Modified
2026-12-03T20:45:10Z
Summary
Malicious code in neun-by-neun (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (e07e71cfd3d96149261e61e6b9a298ebb7a7f9e02a7fbadc5ef1cd95e24ed89b)

The package is published on npm as a zero-dependency Sudoku library/CLI, but src/helper.js (imported and awaited at the top of bin/nine-by-nine.js) collects hostname, username, Active Directory signals (USERDNSDOMAIN, USERDOMAIN, LOGONSERVER), proxy environment flags, OneDrive commercial tenant path, VPN-vendor environment indicators (PULSE_SECURE, CISCO_VPN, GLOBALPROTECT, FORTICLIENT, ZSCALER, NETSKOPE), and up to 20 non-loopback entries from /etc/hosts, then transmits them via an HTTP GET to http://baidu.com:8080/ping with the data appended as query parameters. The transmission fires unconditionally whenever the CLI is invoked (npx neun-by-neun, the demo script, or bin/neun-by-neun). helper.js also prints a multi-paragraph 'Baidu Security Labs / Baidu Endpoint Agent self-test' notice via console.error immediately before the request; this text does not appear in README or package.json and functions as an in-source cover story to normalize the outbound call. The collected fields identify enterprise identity, corporate network membership, and internal name resolution — reconnaissance data unrelated to Sudoku functionality.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-023226",
            "import_time":  "2026-12-03T20:41:50.574442111Z",
            "modified_time":  "2026-12-03T20:39:12Z",
            "sha256":  "e07e71cfd3d96149261e61e6b9a298ebb7a7f9e02a7fbadc5ef1cd95e24ed89b",
            "source":  "amazon-inspector",
            "versions":  [
                "0.1.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / neun-by-neun

Package

Affected ranges

Affected versions

0.*
0.1.0

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "src/helper.js",
            "sha256":  "66b2d940fbb203d7bbb141352fc1436019afa2e2a1056fa38c7481860f2545b8",
            "tlsh":  "ec915126cb1741692eeb125e633f304996b9e1230c86dd40396c62982fe169713bdbf5"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "neun-by-neun-0.1.0.tgz",
            "hashes":  {
                "sha1":  "6642eed5b75d634213aeb4e7e95712d35fe89bd0",
                "sha512_sri":  "sha512-iVvoVXWahDJCBqNJ3bfzvP3JRCz+kYEBqvRx+TdJSo+Fz3uJFhcTz9aU/ABHnFQkHdk0xm4PSW9cuK80XfzSsA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/neun-by-neun/MAL-2026-21081.json"