MAL-2026-17723

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@galicia-toolkit-nestjs/paas/MAL-2026-17723.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17723
Published
2026-10-09T00:00:00Z
Modified
2026-10-12T05:30:07Z
Summary
Malicious code in @galicia-toolkit-nestjs/paas (npm)
Details

@galicia-toolkit-nestjs/paas is a dependency confusion package published to npm on 2026-10-09 by the account s4yhii__, targeting the internal @galicia-toolkit-* / @brick-v2 package namespaces with inflated versions (e.g. 999.0.x). Early versions resolve ..dc.oob.s4yhii.com via DNS to beacon the victim's hostname. Later versions run node index.js from a preinstall hook, which loads a bundled native addon (prebuilds/-/metrics.node, Linux and Windows builds). The addon forks a detached process that collects hostname, username, OS/arch, cwd and the full values of CI/cloud secrets from environment variables (NPM_TOKEN, NODE_AUTH_TOKEN, GITHUB_TOKEN, ACTIONS_RUNTIME_TOKEN, ACTIONS_ID_TOKEN_REQUEST_TOKEN, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, SYSTEM_ACCESSTOKEN, AZURE_DEVOPS_EXT_PAT and others) and sends them as JSON via HTTP POST /native to oob.s4yhii.com:9999.


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

Source: amazon-inspector (5df4f7b59cbe90e6b36ce17f0870cd419345167d9aee683d65a43c65ea5fb213)

The package's main entry (index.js) loads a prebuilt native addon (prebuilds/-/metrics.node) inside a try/catch on require. The ELF reads CI and cloud credentials from the environment — AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, GITHUB_TOKEN, NPM_TOKEN, NODE_AUTH_TOKEN, SYSTEM_ACCESSTOKEN, ACTIONS_RUNTIME_TOKEN, ACTIONS_ID_TOKEN_REQUEST_TOKEN — together with host identity and working-directory fields (gethostname, getuid, getpwuid, getcwd, uname) and sends them in a JSON body (fields src, pkg, h, u, os, arch, rel, cwd, e) via a raw socket HTTP POST to oob.s4yhii.com (POST /native HTTP/1.0). The addon imports fork and setsid to daemonize and uses hand-rolled socket/connect/send rather than Node's HTTP API, bypassing Node-level network observability. The package name scope (@galicia-toolkit-nestjs) and implausibly high version (999.0.5) are consistent with a dependency-confusion payload targeting an internal package name. Installing or requiring this package in any environment carrying CI, npm publish, GitHub Actions, or AWS credentials results in those secrets being transmitted to the hardcoded attacker endpoint.

Database specific
{
    "iocs":  {
        "domains":  [
            "oob.s4yhii.com"
        ],
        "files":  [
            {
                "note":  "Loader: DNS hostname beacon to *.dc.oob.s4yhii.com, or loads the native exfiltration addon (run via preinstall).",
                "paths":  [
                    "index.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "note":  "Native addon that exfiltrates host info and CI/cloud secret env vars to oob.s4yhii.com:9999.",
                "paths":  [
                    "prebuilds/linux-x64/metrics.node",
                    "prebuilds/win32-x64/metrics.node"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ],
        "urls":  [
            "http://oob.s4yhii.com:9999/native"
        ]
    },
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-021324",
            "import_time":  "2026-10-09T13:46:19.974238981Z",
            "modified_time":  "2026-10-09T13:41:20Z",
            "sha256":  "5c71639b93c4c278d2aed829e538de8512763d09a4fe6336d1a3968b1b1515a0",
            "source":  "amazon-inspector",
            "versions":  [
                "999.0.4"
            ]
        },
        {
            "id":  "IN-MAL-2026-021334",
            "import_time":  "2026-10-09T13:46:20.72872233Z",
            "modified_time":  "2026-10-09T13:42:52Z",
            "sha256":  "9ae326eb12d7fa8eb9552bec62a898f2e7c64a4d77c032c02b25b327671ac00e",
            "source":  "amazon-inspector",
            "versions":  [
                "999.0.3"
            ]
        },
        {
            "id":  "IN-MAL-2026-021303",
            "import_time":  "2026-10-09T13:46:18.369874582Z",
            "modified_time":  "2026-10-09T13:38:13Z",
            "sha256":  "5df4f7b59cbe90e6b36ce17f0870cd419345167d9aee683d65a43c65ea5fb213",
            "source":  "amazon-inspector",
            "versions":  [
                "999.0.5"
            ]
        },
        {
            "id":  "IN-MAL-2026-021296",
            "import_time":  "2026-10-09T13:46:17.796590629Z",
            "modified_time":  "2026-10-09T13:37:03Z",
            "sha256":  "7f03aa4bfecf4a5f4a35eb194aa653bafe31fa35dbfca0dd8367d5d199f25d13",
            "source":  "amazon-inspector",
            "versions":  [
                "999.0.6"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @galicia-toolkit-nestjs/paas

Package

Name
@galicia-toolkit-nestjs/paas
View open source insights on deps.dev
Purl
pkg:npm/%40galicia-toolkit-nestjs/paas

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

999.*
999.0.3
999.0.4
999.0.5
999.0.6

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"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "prebuilds/linux-x64/metrics.node",
            "sha256":  "3f8833d49735dfdfe9bdef504bbb53ff069cb48a3953d9af08659d1c5560cf26",
            "tlsh":  "cf72775bb361ce3bc4dc4334055b5a70b1b29870e77353231b11a1bb3d927885ebae9a"
        },
        {
            "path":  "index.js",
            "sha256":  "d0ec250d9c8a6b4aedd2ef3fbe8d8107d7e09d451f580fb39f725ad807339152",
            "tlsh":  "e3f02ed53fb9b355a1777aa4d55f014668fed0f0141db784c45cc4d026e198909738fc"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "paas-999.0.4.tgz",
            "hashes":  {
                "sha1":  "174d7aa11346ea1f4b7800a2cdfdaf1147841909",
                "sha512_sri":  "sha512-K+xnMWELF+zk9J6IkHbNzsSQV34k3vmb0aOIrjmPWnzWHAtCFaWlX/IFt4uGizpb7PqM3ZusSeOjZIE/qAo4DQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@galicia-toolkit-nestjs/paas/MAL-2026-17723.json"