some-very-long-package-namenpm
Advisory published Updated
some-very-long-package-name is a confirmed malicious npm package (MAL-2026-17778) that opens a backdoor for remote access (malicious versions 1.0.0, 2.0.0, 2.0.1…). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in some-very-long-package-name (npm)
What this malware does
The package is a stub whose main module exports a Proxy that returns a no-op for every property access, providing none of the functionality implied by the package name or its 'compatibility shim' description. Its only real behavior is beacon.cjs, which collects host and install identifiers (hostname, install path, process.cwd(), process.version, package name/user-agent) and POSTs them to the hardcoded bare-IP HTTP endpoint http://185.158.107.175:8787/_ah/dc. The beacon fires both automatically at install time via scripts.postinstall and again when the module is loaded via require(), because index.js invokes beacon.fire(). The shape — stub module, hardcoded non-DNS bare-IP C2 over plain HTTP, collection of installer host identifiers at install and require time — is consistent with a dependency-confusion / internal-name-squat reconnaissance beacon reporting successful installation inside private build environments.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Backdoor / remote accessFind it
Search your lockfiles and build artifacts for some-very-long-package-name (5 malicious versions).
If you installed it — respond
some-very-long-package-name establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.
Did it already run?
If some-very-long-package-name 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
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks some-very-long-package-name-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.