Malicious package · npm
Malicious code in ep_nxs31521 (npm)
1.0.0No safe version. Remove it.What it does
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.
No fix · Remove and contain
npm uninstall ep_nxs31521Sources