MAL-2026-11872

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/grid/MAL-2026-11872.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11872
Aliases
  • GHSA-mv8q-p57m-xj7h
Published
2026-08-04T15:41:55Z
Modified
2026-08-05T06:35:20.002962045Z
Summary
Malicious code in @servicetitan/grid (npm)
Details

npm/@servicetitan/grid 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 (0a01f5e383e99b7a7c6657a22822eba963305f2ab17d8d3cfec59416cbb0fd65)

The package declares a preinstall script (node setup.mjs) that, on every npm install, detects the host platform and libc, downloads a Bun runtime binary from the oven-sh/bun GitHub releases, extracts it to a temporary directory, chmods it executable, and then invokes it against a sibling file math_init.js. math_init.js is a 727KB single-line, heavily obfuscated bundle marked // @bun @bun-cjs containing a large string/numeric dictionary array and a rotating-array unpacker (WV8StW) — its behavior is not readable statically. Fetching an alternate language runtime specifically to execute an obfuscated sibling bundle at install time bypasses Node-based static analysis and guarantees the opaque payload runs against the installer on install. The install-time dropper is inconsistent with the package's stated purpose (a React/Kendo grid UI component), and dist/ ships legitimate-looking grid wrappers that serve as cover for the hostile preinstall path. The @servicetitan scope suggests impersonation of the corporate namespace to trojanize dependency graphs pulling in what appears to be an internal component.

Source: ghsa-malware (68c3427ee48de47e26dd7540dd33e494d5135dae47552e6fb3bb0bcf9154bdf0)

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
{
    "malicious-packages-origins": [
        {
            "source": "ghsa-malware",
            "import_time": "2026-08-05T00:10:18.155539696Z",
            "sha256": "68c3427ee48de47e26dd7540dd33e494d5135dae47552e6fb3bb0bcf9154bdf0",
            "modified_time": "2026-08-04T16:42:12Z",
            "id": "GHSA-mv8q-p57m-xj7h",
            "versions": [
                "0.0.69",
                "0.0.68",
                "0.0.67",
                "0.0.66",
                "0.0.65",
                "0.0.64",
                "0.0.63"
            ]
        },
        {
            "source": "amazon-inspector",
            "import_time": "2026-08-05T00:44:43.958272317Z",
            "sha256": "792d03e8518333c8d0d8177b46c2ff34dd7e7f4b97bbf11ee5959a50951984b2",
            "modified_time": "2026-08-05T00:10:33Z",
            "id": "IN-MAL-2026-011403",
            "versions": [
                "0.0.69"
            ]
        },
        {
            "import_time": "2026-08-05T04:38:05.318712017Z",
            "modified_time": "2026-08-05T03:53:14Z",
            "sha256": "63509d84d8e68f79ac9f33e943dd4d197394276c36b20cd41727794cdd34f946",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-012393",
            "versions": [
                "0.0.63"
            ]
        },
        {
            "import_time": "2026-08-05T04:38:27.428793661Z",
            "modified_time": "2026-08-05T04:19:50Z",
            "sha256": "663985de8f4a3aa0413e865f49cfa120981ba2995b6ddda1a64457e6fefde889",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-012577",
            "versions": [
                "0.0.67"
            ]
        },
        {
            "import_time": "2026-08-05T04:37:35.037646354Z",
            "modified_time": "2026-08-05T03:17:13Z",
            "sha256": "a039197ed35a722ec03d776d5a2108d31a5243735952a9620e2017d6926024d6",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-012140",
            "versions": [
                "0.0.66"
            ]
        },
        {
            "import_time": "2026-08-05T04:38:21.684779282Z",
            "modified_time": "2026-08-05T04:13:11Z",
            "sha256": "dc38e6763bd93fa5a655a3a88ccef8b4ba6c9266b5ad29233fcbb1bfc87717a8",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-012530",
            "versions": [
                "0.0.68"
            ]
        },
        {
            "source": "amazon-inspector",
            "import_time": "2026-08-05T04:38:00.352703813Z",
            "sha256": "0a01f5e383e99b7a7c6657a22822eba963305f2ab17d8d3cfec59416cbb0fd65",
            "modified_time": "2026-08-05T03:47:11Z",
            "id": "IN-MAL-2026-012350",
            "versions": [
                "0.0.65"
            ]
        },
        {
            "import_time": "2026-08-05T06:00:02.790491119Z",
            "modified_time": "2026-08-05T04:47:19Z",
            "sha256": "2cbf77fc8f2a0623e03a674e3ebb68cc06ca12fea1097ce5ad6746c9bae15afe",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-012775",
            "versions": [
                "0.0.64"
            ]
        }
    ],
    "iocs": {
        "files": [
            {
                "paths": [
                    "setup.mjs"
                ],
                "source": "PACKAGE_ARCHIVE",
                "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."
            }
        ]
    }
}
References
Credits

Affected packages

npm / @servicetitan/grid

Package

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

Affected ranges

Affected versions

0.*
0.0.63
0.0.64
0.0.65
0.0.66
0.0.67
0.0.68
0.0.69

Database specific

cwes
[
    {
        "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."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "grid-0.0.69.tgz",
            "hashes": {
                "sha512_sri": "sha512-pkwKgkH/GkILDi9PCpPKcsqtBi2eJfT5mTgzAOUhYe6t/aZdFyMr/IzjahIsJmuvulwXUwTJMpUFCUY3DdeUlQ==",
                "sha1": "a4f18ae77dcd55335c2e76e0f0b864fe0fb62887"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
            "sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
            "path": "setup.mjs"
        },
        {
            "tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
            "sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
            "path": "math_init.js"
        },
        {
            "tlsh": "99312251cc6acda32ad92460297b0016166d9427cc1af8ac33e1a74d4f4c7ef2476abe",
            "sha256": "863a2d7b61ec6722aabce166b8d8d65bca6db748df33ec785abfc0542eb62a9d",
            "path": "package.json"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/grid/MAL-2026-11872.json"