NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

neun-by-neunnpm

Advisory published Updated

neun-by-neun is a confirmed malicious npm package (MAL-2026-21081) that executes malicious code on install (malicious version 0.1.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in neun-by-neun (npm)

MAL-2026-21081
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall neun-by-neun

What this malware does

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.

Malicious versions

1 flagged
0.1.0

Indicators of compromise (SHA-256)

e07e71cfd3d96149261e61e6b9a298ebb7a7f9e02a7fbadc5ef1cd95e24ed89b

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for neun-by-neun (version 0.1.0).

  2. If you installed it — respond

    Remove neun-by-neun from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If neun-by-neun was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. neun-by-neun on npm has been identified as a malicious package (version 0.1.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-023226

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks neun-by-neun-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

neun-by-neun (npm) malicious package — MAL-2026-21081 | O3 Security