CRITICAL npm Malware

Malicious code in ep_nxs50049 (npm)

MAL-2026-20416

Published · Modified

Dependency scanning

Check whether ep_nxs50049 is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

Source: amazon-inspector (5a921d18ca2f4866be3de54ee8e99334c6ae02bec495523da8f1d1f8649abf54)

The package registers itself as an Etherpad plugin and, via the expressPreSession hook, adds an unauthenticated GET route /Nx_50049/ to the host Etherpad server. Any remote caller who can reach the Etherpad instance receives a JSON response containing os.hostname(), os.userInfo().username, process.platform, Node.js version, process.cwd(), and process.pid, along with a 'Nxploited | Nx-zD' banner. The endpoint is not documented, provides no legitimate Etherpad functionality, and exposes host-identity information to arbitrary unauthenticated remote callers as a direct consequence of loading the plugin.

Ready to move

Start Securing

Free, no credit card | First findings in minutes