Skip to main content
Menu
Advisories

Malicious code in cs-core-api-phoenix (npm)

MAL-2026-18686Published Updated OpenSSFMalware

Description

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 nathanaccacio.com/collect on every install. It targets an internal-looking name and collects data from whoever installs it, without consent.

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

Source: amazon-inspector (0956e91425fb7305b2d25ad7cd93666ecfe8c6c99fd942138a1bef547b4f7716)

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.

Affected versions

References