Malicious code in ep_nxs50049 (npm)
- GHSA-2cgj-cvf2-hxf9
Description
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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/51cb18e42fb5353db8cbb126c95640601346b1fe/osv/malicious/npm/ep_nxs50049/MAL-2026-20416.json))
Text from the GitHub Advisory record.
Recommendation
Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.
Affected
ep_nxs50049npm
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.