MAL-2026-18686

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cs-core-api-phoenix/MAL-2026-18686.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18686
Published
2026-10-26T00:00:00Z
Modified
2026-11-13T03:45:11Z
Summary
Malicious code in cs-core-api-phoenix (npm)
Details

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.


-= 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.

Database specific
{
    "iocs":  {
        "domains":  [
            "nathanaccacio.com"
        ],
        "files":  [
            {
                "digests":  {
                    "sha256":  "310147b5035c63078181fa858763852cf40cde75c8a1439428aab8f10510d898"
                },
                "paths":  [
                    "index.js"
                ]
            },
            {
                "digests":  {
                    "sha256":  "f351b64f04f8cbc6ff1480d76c77b590ee5887b07f5675ec9cca7e1ca856c6ac"
                },
                "paths":  [
                    "regex-linter-poc/index.js"
                ]
            }
        ],
        "ips":  [],
        "urls":  [
            "https://nathanaccacio.com/collect"
        ]
    },
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-022692",
            "import_time":  "2026-11-13T03:36:34.441666591Z",
            "modified_time":  "2026-11-13T03:33:33Z",
            "sha256":  "01645da8cef3f44c4a4631efdb9422d93680ea8b563587c56151ab197da16b2e",
            "source":  "amazon-inspector",
            "versions":  [
                "116.0.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-022693",
            "import_time":  "2026-11-13T03:36:34.52907763Z",
            "modified_time":  "2026-11-13T03:33:40Z",
            "sha256":  "0956e91425fb7305b2d25ad7cd93666ecfe8c6c99fd942138a1bef547b4f7716",
            "source":  "amazon-inspector",
            "versions":  [
                "5.1.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-022691",
            "import_time":  "2026-11-13T03:36:34.363788556Z",
            "modified_time":  "2026-11-13T03:33:26Z",
            "sha256":  "64fb1d0f017364827627732d648ad455500a94202e3453f9e232a87de8ee3450",
            "source":  "amazon-inspector",
            "versions":  [
                "150.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / cs-core-api-phoenix

Package

Name
cs-core-api-phoenix
View open source insights on deps.dev
Purl
pkg:npm/cs-core-api-phoenix

Affected ranges

Affected versions

5.*
5.1.0
116.*
116.0.1
150.*
150.0.0

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "index.js",
            "sha256":  "8806b344c63c36b94a00687dca08a34d8405991eb9e8798bc7d44933d3393efc",
            "tlsh":  "dcf09ef061f4b2641ebcc580d099a25641b3e016b40be890e4c401a56f88abc04b1ce1"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "cs-core-api-phoenix-116.0.1.tgz",
            "hashes":  {
                "sha1":  "773d9529db52c969567a891551be660864b93a1e",
                "sha512_sri":  "sha512-Qh5C88H3z9FD2peOGrGqf+aXBsUQYZvMo6fUm4sb7F2ZP0Qqcl60azC2rMARFHgTSIjGiKU59IjfQSrRmx1IvQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cs-core-api-phoenix/MAL-2026-18686.json"