Malicious code in ep_nxs31521 (npm)
MAL-2026-20414
Published · Modified
Dependency scanning
Check whether ep_nxs31521 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 (902667539b73c8560743b0096ebceef827bca34032654378bf852726b7069302)
The package registers an Etherpad expressPreSession hook that mounts an undocumented route GET /Nx_31521/ on the host Etherpad server. The handler responds to any unauthenticated remote caller with an HTML page branded 'Nxploited | Nx-zD' disclosing host identity information read via Node's os/process APIs: os.hostname(), os.userInfo().username, os.platform(), process.version, process.cwd(), and process.pid. The route is not described in any plugin documentation, has no authentication or access control, and the branding is consistent with an unauthorized marker/defacement rather than a legitimate diagnostic feature. Installing this plugin into an Etherpad instance exposes server reconnaissance data to arbitrary internet callers.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes