MAL-2026-6964 Malicious code in na-rony (npm)
- Package
- na-rony
- Registry
- npm
What is MAL-2026-6964?
MAL-2026-6964 is a malicious package in na-rony, published on 8 Jul 2026.
Official description
package.json declares postinstall: node index.js, causing index.js to execute automatically on npm install. The script collects the installer's OS username (os.userInfo().username), current working directory (process.cwd()), hostname (os.hostname()), and non-internal IPv4 address (derived from os.networkInterfaces()), then POSTs them as a JSON body to a hardcoded webhook.site endpoint controlled by the author. The package has no legitimate library functionality — its only file is the beacon, its description is empty, and it declares a self-referential dependency on itself. Installing this package leaks installer host identifiers to an attacker-controlled collector.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
What should I do about MAL-2026-6964?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-f83g-5hxf-2g39.