MAL-2026-11860

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/eslint-config/MAL-2026-11860.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11860
Aliases
  • GHSA-c63f-v4m6-j5qm
Published
2026-08-04T13:18:17Z
Modified
2026-08-05T07:04:43.874871999Z
Summary
Malicious code in @servicetitan/eslint-config (npm)
Details

npm/@servicetitan/eslint-config is affected by the large-scale, self-propagating npm supply-chain worm of 2026-08-04 (the "Shai-Hulud: Here We Go Again" wave) — the same campaign that began with the compromise of the keyv and cacheable maintainer account. The listed version(s) were trojanized and republished by the worm after it reached an npm publish token belonging to a maintainer in this namespace; the payload enumerates every package a stolen token controls and republishes each with the same hook, so many packages under this scope were poisoned in the same short window. Every poisoned release adds a preinstall hook ("preinstall": "node setup.mjs") that runs on a bare npm install, before any project code. setup.mjs downloads a standalone Bun runtime and runs a byte-identical, heavily obfuscated ~728 KB second-stage credential stealer (shipped as MathSymbol.js / mathinit.js). It harvests GitHub, npm, AWS, GCP, Azure, HashiCorp Vault and Kubernetes credentials plus generic secrets and private keys (TruffleHog-style sweep), reads CI/CD secrets and identifies build runners, then republishes further packages the stolen token can reach. Rather than a fixed command-and-control host, it exfiltrates stolen findings to attacker-created GitHub repositories (descriptions reading "Shai-Hulud: Here We Go Again") and over DNS. Treat any environment that installed an affected version (with install scripts enabled) as compromised: rotate and revoke all reachable credentials (npm and GitHub tokens, cloud keys, Vault/Kubernetes secrets, and CI org/repo secrets). Part of the August 2026 npm worm that poisoned 400+ packages across many organizations.


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

Source: amazon-inspector (213c12d2b5869659044f11206a7184ef75fd3be6f15f9e1f66e3f2e4525d7924)

The package's preinstall hook runs setup.mjs, which is itself obfuscated with identifier mangling (0xNNNNNN names) and string-array indirection hiding constants like '--version', 'node', 'bun', and the download URL. When no system Bun is available, setup.mjs downloads a Bun binary from https://github.com/oven-sh/bun/releases/download/bun-v<version>/... into a temp directory, chmods it executable, and execFileSyncs it against mathinit.js — a ~727KB Bun-CJS bundle shipped in the tarball. math_init.js is heavily obfuscated with a shuffled string/number array (n7gIxM) and a rotation function (WV8StW) that reconstructs identifiers and strings at runtime, with hex-name mangling throughout. The declared purpose of the package is an ESLint configuration ruleset, which has no legitimate need for a second language runtime or an obfuscated multi-hundred-kilobyte init script. Fetching an alternate runtime specifically to execute an opaque sibling blob at install time is a dropper pattern that runs on npm install and bypasses Node-only static inspection of the executed code.

Source: ghsa-malware (c23f877ad5f8763a28c7d4d2735164b8fb3f6650cf0d1a040c57cb81dce2ff4f)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "iocs": {
        "files": [
            {
                "paths": [
                    "setup.mjs"
                ],
                "note": "Stage 1 loader added to the package tarball and run via the preinstall script 'node setup.mjs'. Downloads a standalone Bun runtime and executes the second stage under it.",
                "source": "PACKAGE_ARCHIVE"
            },
            {
                "paths": [
                    "Math_Symbol.js",
                    "math_init.js"
                ],
                "note": "Stage 2 payload: byte-identical, heavily obfuscated ~728 KB Bun-bundle credential stealer, shipped in the tarball as Math_Symbol.js and executed at runtime as math_init.js.",
                "source": "PACKAGE_ARCHIVE"
            }
        ]
    },
    "malicious-packages-origins": [
        {
            "versions": [
                "38.1.6",
                "38.1.5",
                "38.1.3",
                "38.1.2",
                "38.1.1",
                "38.1.7"
            ],
            "id": "GHSA-c63f-v4m6-j5qm",
            "modified_time": "2026-08-04T16:21:00Z",
            "source": "ghsa-malware",
            "sha256": "c23f877ad5f8763a28c7d4d2735164b8fb3f6650cf0d1a040c57cb81dce2ff4f",
            "import_time": "2026-08-05T00:10:18.021608861Z"
        },
        {
            "versions": [
                "38.1.5"
            ],
            "id": "IN-MAL-2026-012008",
            "modified_time": "2026-08-05T02:58:30Z",
            "source": "amazon-inspector",
            "sha256": "655735165c4a5d5f57bb347ac6260fef039e8f0c60e715bc3524e87260ef092a",
            "import_time": "2026-08-05T03:12:09.294973262Z"
        },
        {
            "versions": [
                "38.1.3"
            ],
            "id": "IN-MAL-2026-012087",
            "modified_time": "2026-08-05T03:09:37Z",
            "source": "amazon-inspector",
            "sha256": "91b22a54685e7c59e33c284218f95b4500b53d31d1a32b88ecc1b65942e93fd2",
            "import_time": "2026-08-05T03:12:16.921509351Z"
        },
        {
            "versions": [
                "38.1.6"
            ],
            "modified_time": "2026-08-05T04:11:15Z",
            "id": "IN-MAL-2026-012517",
            "source": "amazon-inspector",
            "sha256": "02c858fb1030cd794b17eb9ed3c82b41edba8e8c36e6e3f40acf56ed7e2ae153",
            "import_time": "2026-08-05T04:38:19.867713547Z"
        },
        {
            "versions": [
                "38.1.4"
            ],
            "id": "IN-MAL-2026-012641",
            "modified_time": "2026-08-05T04:28:37Z",
            "source": "amazon-inspector",
            "sha256": "1f61c18db556f6672fee8f862bd87cbe64d08c089097ef7b28946a984726b1d7",
            "import_time": "2026-08-05T04:38:34.772750593Z"
        },
        {
            "versions": [
                "38.1.7"
            ],
            "modified_time": "2026-08-05T04:02:03Z",
            "id": "IN-MAL-2026-012454",
            "source": "amazon-inspector",
            "sha256": "213c12d2b5869659044f11206a7184ef75fd3be6f15f9e1f66e3f2e4525d7924",
            "import_time": "2026-08-05T04:38:12.276900335Z"
        },
        {
            "versions": [
                "38.1.2"
            ],
            "modified_time": "2026-08-05T04:49:07Z",
            "id": "IN-MAL-2026-012788",
            "source": "amazon-inspector",
            "sha256": "a581800f5f3a29af160712e820329b08315c004e9f7ec9692f5309475c7bf758",
            "import_time": "2026-08-05T06:00:04.296002624Z"
        },
        {
            "versions": [
                "38.1.1"
            ],
            "modified_time": "2026-08-05T04:57:18Z",
            "id": "IN-MAL-2026-012843",
            "source": "amazon-inspector",
            "sha256": "794705f1f09902771eeeb71dbec4b61c453d49b6758d75e0e3e4f5f8010a84b5",
            "import_time": "2026-08-05T06:00:11.011220274Z"
        },
        {
            "versions": [
                "38.1.4",
                "38.1.6",
                "38.1.5",
                "38.1.3",
                "38.1.2",
                "38.1.1",
                "38.1.7"
            ],
            "id": "GHSA-c63f-v4m6-j5qm",
            "modified_time": "2026-08-05T00:30:08Z",
            "source": "ghsa-malware",
            "sha256": "105730e8b6ecb4a84183c9b008c9adcb03bba90a6f637bc22451fbfc6dd091c2",
            "import_time": "2026-08-05T06:47:26.518696117Z"
        }
    ]
}
References
Credits

Affected packages

npm / @servicetitan/eslint-config

Package

Name
@servicetitan/eslint-config
View open source insights on deps.dev
Purl
pkg:npm/%40servicetitan/eslint-config

Affected ranges

Affected versions

38.*
38.1.1
38.1.2
38.1.3
38.1.4
38.1.5
38.1.6
38.1.7

Database specific

indicators
{
    "evidence_files": [
        {
            "path": "setup.mjs",
            "tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
            "sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb"
        },
        {
            "path": "math_init.js",
            "tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
            "sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc"
        }
    ],
    "package_integrity": [
        {
            "filename": "eslint-config-38.1.5.tgz",
            "hashes": {
                "sha512_sri": "sha512-9dTm9HMQuW5G4lW2c01ylFILhQCVg9tbGpbZnsGcNgSGjLfRupm2owTz3eDudlKEXcJpBsVzzT2z+aBpqJp4qg==",
                "sha1": "c39606d5aec78fd05598281ee40fdb135855e2d9"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/eslint-config/MAL-2026-11860.json"
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]