MAL-2026-17727

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

@galicia-toolkit-nestjs-20/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 (ffdc9c111498bf0f75d014ef58b811df488c9014addfb1ed64f7ab28cf9c11b1)

On require('@galicia-toolkit-nestjs-20/paas'), index.js unconditionally loads prebuilds/-/metrics.node at module top level inside a try/catch. The shipped ELF addon reads AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, GITHUB_TOKEN, NPM_TOKEN, NODE_AUTH_TOKEN, SYSTEM_ACCESSTOKEN, ACTIONS_RUNTIME_TOKEN, and ACTIONS_ID_TOKEN_REQUEST_TOKEN from the process environment, together with hostname, uid, and cwd, and POSTs them as JSON to oob.s4yhii.com over a raw socket (gethostbyname/connect/send, request line 'POST /native HTTP/1.0'). The addon uses fork+setsid to background the exfiltration. The package ships no C/C++ source and no binding.gyp, is self-labeled as a NestJS toolkit, and the only on-load effect of the stub is to execute this opaque native binary. Strings observed inside metrics.node include 'AWS_SECRET_ACCESS_KEY', 'GITHUB_TOKEN', 'NPM_TOKEN', 'ACTIONS_RUNTIME_TOKEN', 'oob.s4yhii.com', and the hardcoded HTTP request format. The scoped name under an organization-shaped '@galicia-toolkit-nestjs-20' namespace combined with the implausibly high 999.0.1 version is consistent with a dependency-confusion lure designed to win resolution against an internal package.

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-021322",
            "import_time": "2026-10-09T13:46:19.824419869Z",
            "modified_time": "2026-10-09T13:41:02Z",
            "sha256": "311df2d73bdfae1ba853a8206451664e427b291a3aaa9b756b46ab57497ed405",
            "source": "amazon-inspector",
            "versions": [
                "3.0.3"
            ]
        },
        {
            "id": "IN-MAL-2026-021320",
            "import_time": "2026-10-09T13:46:19.680819053Z",
            "modified_time": "2026-10-09T13:40:43Z",
            "sha256": "51d9743faac8a329d7f1d751f60a2273e230b759816aa7ff1c99fb03fd95e81f",
            "source": "amazon-inspector",
            "versions": [
                "3.0.5"
            ]
        },
        {
            "id": "IN-MAL-2026-021293",
            "import_time": "2026-10-09T13:46:17.516036197Z",
            "modified_time": "2026-10-09T13:36:35Z",
            "sha256": "e87fc43cf4df33389d874ea5400cdac35c3616cc053f9db2d901013639dcda6e",
            "source": "amazon-inspector",
            "versions": [
                "3.0.7"
            ]
        },
        {
            "id": "IN-MAL-2026-021330",
            "import_time": "2026-10-09T13:46:20.426718802Z",
            "modified_time": "2026-10-09T13:42:15Z",
            "sha256": "ee6e00273ef1e03d45f90b0124e35586a80a8fb82bb94dd2af441c9304489983",
            "source": "amazon-inspector",
            "versions": [
                "3.0.6"
            ]
        },
        {
            "id": "IN-MAL-2026-021327",
            "import_time": "2026-10-09T13:46:20.193088142Z",
            "modified_time": "2026-10-09T13:41:45Z",
            "sha256": "ffdc9c111498bf0f75d014ef58b811df488c9014addfb1ed64f7ab28cf9c11b1",
            "source": "amazon-inspector",
            "versions": [
                "999.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @galicia-toolkit-nestjs-20/paas

Package

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

Affected ranges

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

Affected versions

3.*
3.0.3
3.0.5
3.0.6
3.0.7
999.*
999.0.1

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"
    },
    {
        "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"
        },
        {
            "path": "src/archetype/package.json",
            "sha256": "343fe5008d888571bd931cf019c7e375a8b79231859981f618e628adb74fba36",
            "tlsh": "d0d02355c4507c5704d50b5c6a788d1156e7cdff450ba49c034fa25491cc9f7356835f"
        }
    ],
    "package_integrity": [
        {
            "filename": "paas-3.0.3.tgz",
            "hashes": {
                "sha1": "ffb7699ddb47c997c1daa680fb4f8bb095cf83a3",
                "sha512_sri": "sha512-5sOCZOu3SOlnrLjve0SVYErXr3wKlOaoJr85QQlL4+zrtbCCDLtgnQkpeEGugxUeqNCclxFykhD7l3b8ItsnCQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@galicia-toolkit-nestjs-20/paas/MAL-2026-17727.json"