MAL-2026-10715

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@hibachi-xyz/types/MAL-2026-10715.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10715
Published
2026-07-16T11:20:52Z
Modified
2026-07-17T03:19:26.727943218Z
Summary
Malicious code in @hibachi-xyz/types (npm)
Details

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

Source: amazon-inspector (214e1b690352ce0af70ce6a37d3b7ac4d8dec4269dc7606b7a65fbb6d4406e8b)

The package presents itself as 'Type definitions' for the @hibachi-xyz scope at version 99.0.0, but index.js exports an empty object and its only behavior on module load is credential and host exfiltration. On require(), the code enumerates process.env and filters keys matching /KEY|SECRET|TOKEN|PASS|PRIV|SIGN|AWS|CIRCLE|GITHUB|DB|RDS|SENTRY|PYPI|NPM|DOCKER|KUBE|TUNNEL|CF_/i, captures os.hostname() and os.userInfo().username, and runs whoami && id && cat /proc/1/cgroup via child_process.execSync to fingerprint the host and detect container/CI context. The collected secrets and reconnaissance data are POSTed as JSON to https://jorijo.xyz:8443/t with TLS certificate verification disabled (rejectUnauthorized:false). The name/version shape (generic 'types' subpackage under an organization scope at an inflated version 99.0.0) is consistent with dependency-confusion or version-squat targeting the @hibachi-xyz org.

Source: ossf-package-analysis (51e71c95ff8fc1a03433cfc6ce2b1da6199175e11db673b35349bf852a6c5e5f)

The OpenSSF Package Analysis project identified '@hibachi-xyz/types' @ 99.0.0 (npm) as malicious.

It is considered malicious because:

  • The package executes one or more commands associated with malicious behavior.
Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-07-16T18:34:00Z",
            "sha256": "214e1b690352ce0af70ce6a37d3b7ac4d8dec4269dc7606b7a65fbb6d4406e8b",
            "versions": [
                "99.0.0"
            ],
            "import_time": "2026-07-16T18:53:59.801823021Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-010698"
        },
        {
            "sha256": "51e71c95ff8fc1a03433cfc6ce2b1da6199175e11db673b35349bf852a6c5e5f",
            "import_time": "2026-07-17T03:07:34.335190395Z",
            "modified_time": "2026-07-16T11:20:52Z",
            "source": "ossf-package-analysis",
            "versions": [
                "99.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @hibachi-xyz/types

Package

Name
@hibachi-xyz/types
View open source insights on deps.dev
Purl
pkg:npm/%40hibachi-xyz/types

Affected ranges

Affected versions

99.*
99.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "types-99.0.0.tgz",
            "hashes": {
                "sha1": "ed3b79d5677abf1cfe486b7083af95284cb38596",
                "sha512_sri": "sha512-zJ4XiaACtrQ9TwHTiJhNOjBsYlYGw9eZkUBvpqo2f+Hjn45wP9Vl10Y79+qSl45e11tkT4OrIxRbsriB5pvw8g=="
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "2111e3e0c7e591b452b2a2e494efc017b2e3cc207156ede0368d5ba23e92d9404771f3",
            "sha256": "0d800f2db51cc9935282ab475e18151d9f169c6b40d5af666b6f405ab9b1fa5e",
            "path": "index.js"
        },
        {
            "tlsh": "f6c09b341a15a52318c547b4cfa3474b56654e2f101778042753641d91bd97756fb70d",
            "sha256": "0339dee09b42bcdd7bbf8f6e7c278fe550be7bf2ff858ed25ed3c05d96aff26b",
            "path": "package.json"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@hibachi-xyz/types/MAL-2026-10715.json"