{"id":"MAL-2026-21081","summary":"Malicious code in neun-by-neun (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e07e71cfd3d96149261e61e6b9a298ebb7a7f9e02a7fbadc5ef1cd95e24ed89b)\nThe 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.\n","modified":"2026-12-03T20:45:10.611816969Z","published":"2026-12-03T20:39:12Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-12-03T20:39:12Z","sha256":"e07e71cfd3d96149261e61e6b9a298ebb7a7f9e02a7fbadc5ef1cd95e24ed89b","source":"amazon-inspector","versions":["0.1.0"],"id":"IN-MAL-2026-023226","import_time":"2026-12-03T20:41:50.574442111Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/neun-by-neun/v/0.1.0"}],"affected":[{"package":{"name":"neun-by-neun","ecosystem":"npm","purl":"pkg:npm/neun-by-neun"},"versions":["0.1.0"],"database_specific":{"indicators":{"evidence_files":[{"path":"src/helper.js","sha256":"66b2d940fbb203d7bbb141352fc1436019afa2e2a1056fa38c7481860f2545b8","tlsh":"ec915126cb1741692eeb125e633f304996b9e1230c86dd40396c62982fe169713bdbf5"}],"package_integrity":[{"hashes":{"sha1":"6642eed5b75d634213aeb4e7e95712d35fe89bd0","sha512_sri":"sha512-iVvoVXWahDJCBqNJ3bfzvP3JRCz+kYEBqvRx+TdJSo+Fz3uJFhcTz9aU/ABHnFQkHdk0xm4PSW9cuK80XfzSsA=="},"filename":"neun-by-neun-0.1.0.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/neun-by-neun/MAL-2026-21081.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}