MAL-2026-18686
Malicious code in cs-core-api-phoenix (npm)
Auswirkung
cs-core-api-phoenix 5.1.0 is a dependency-confusion package: its postinstall script reads the OS user name and hostname and POSTs them to https://nathanaccacio.com/collect on every install. It targets an internal-looking name and collects data from whoever installs it, without consent. On `npm install`, the package's postinstall hook executes `node index.js`, which reads `os.userInfo().username` and `os.hostname()` and POSTs them (together with a package identifier) to the hardcoded third-party endpoint `https://nathanaccacio.com/collect` via `https.request`. The package name resembles a core API client, but no advertised functionality explains collecting installer identity at install time, and the destination is not caller-configurable. The behavior fires automatically on default install, discloses the installer's user and host identity to a non-first-party domain, and provides reconnaissance value to the operator of that endpoint.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | cs-core-api-phoenix | unbekannt | nicht erfasst |