MAL-2026-17716

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

@brick-v2/form 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 (61727d51587469176de52cbc3c82a53b4572ecfc6c7f7b4c7edf534950b0f536)

The package ships a tiny JavaScript stub at index.js that silently require()s a compiled native addon at prebuilds/linux-x64/metrics.node inside a try/catch that suppresses errors. On load, the addon reads a hardcoded list of credential-bearing environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS session token, GITHUB_TOKEN, NPM_TOKEN, NODE_AUTH_TOKEN, ACTIONS_RUNTIME_TOKEN, ACTIONS_ID_TOKEN_REQUEST_TOKEN, SYSTEM_ACCESSTOKEN) along with hostname, user, cwd, and OS/arch, and sends them as a JSON body via a raw TCP socket (gethostbyname/socket/connect/send) in a 'POST /native HTTP/1.0' request to the hardcoded external host oob.s4yhii.com. The addon also imports fork and setsid, consistent with detaching into a background process so the exfiltration channel survives beyond the host Node process. The compiled ELF is the entire payload; the JS wrapper exposes no form-related functionality matching the stated 'form module' description. The package manifest (scoped name @brick-v2/form, inflated version 999.0.1, UNLICENSED, minimal metadata) matches the dependency-confusion shape used to outrank an internal private-registry package of the same scope.

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-021310",
            "import_time": "2026-10-09T13:46:18.910158588Z",
            "modified_time": "2026-10-09T13:39:12Z",
            "sha256": "61727d51587469176de52cbc3c82a53b4572ecfc6c7f7b4c7edf534950b0f536",
            "source": "amazon-inspector",
            "versions": [
                "999.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-021291",
            "import_time": "2026-10-09T13:46:17.332104249Z",
            "modified_time": "2026-10-09T13:36:18Z",
            "sha256": "a4c046851059a832d8777dacd92adf805b025e1796e9524bfcef6a274b44c68c",
            "source": "amazon-inspector",
            "versions": [
                "999.0.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @brick-v2/form

Package

Name
@brick-v2/form
View open source insights on deps.dev
Purl
pkg:npm/%40brick-v2/form

Affected ranges

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

Affected versions

999.*
999.0.1
999.0.3

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "prebuilds/linux-x64/metrics.node",
            "sha256": "3f8833d49735dfdfe9bdef504bbb53ff069cb48a3953d9af08659d1c5560cf26",
            "tlsh": "cf72775bb361ce3bc4dc4334055b5a70b1b29870e77353231b11a1bb3d927885ebae9a"
        },
        {
            "path": "index.js",
            "sha256": "437f6c81830bd7ac15efe3ef2928d92f59c450029b1bcc21d27db09504cd59c4",
            "tlsh": "54f02ed53fa9b355a1777664d55b015668ffd4f0141db784c45cc4d026a198809738fc"
        },
        {
            "path": "package.json",
            "sha256": "eead62cf4bdc3f2e31ebec14126069652f172a4ab123e314927bd41796db8b09",
            "tlsh": "afc08c30653164230dcaafe4eca38e064be70d6f4046b0141b97682842eda3328fe33c"
        }
    ],
    "package_integrity": [
        {
            "filename": "form-999.0.1.tgz",
            "hashes": {
                "sha1": "aa98960f4c4081b1d51b78c1ca236115e624608a",
                "sha512_sri": "sha512-NQePMrnOuyY7ydwtTaXdsV/jlxnXeWji7/Hxd+ZuZ8R5X2thFveS0sZTcvOkMyZ7X5gLyTeO1QS4619PDPg00w=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@brick-v2/form/MAL-2026-17716.json"