MAL-2026-11812

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/admin-layout/MAL-2026-11812.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11812
Aliases
  • GHSA-p7mv-cxfx-xvp9
Published
2026-08-04T15:30:56Z
Modified
2026-08-05T06:34:51.370640603Z
Summary
Malicious code in @servicetitan/admin-layout (npm)
Details

npm/@servicetitan/admin-layout 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 (50ed1c0bdab0005cadf36b63636c462aafb82a49a23e112cc21ea11ff87526fe)

Version 2.4.6 of this React admin-layout package declares a preinstall script (node setup.mjs) whose source is obfuscator.io-style. On npm install it detects platform/arch (including Alpine musl), downloads the Bun runtime zip from github.com/oven-sh/bun/releases (bun v1.3.13), extracts and chmods the binary, and then invokes that freshly-downloaded Bun binary to execute the bundled math_init.js. math_init.js is a ~727KB Bun-CJS file (// @bun @bun-cjs header) using a rotated string-array decoder with hex-mangled identifiers, so what actually runs on the installer's machine is not human-readable without decoding. The pattern — a UI library pulling a second, non-Node language runtime at install time solely to execute an obfuscated bundled blob under it — is the npm alternate-runtime-dropper shape and is structured to bypass Node-based install-time scanning. A React admin-layout has no legitimate need for a Bun runtime or for opaque install-time code execution.

Source: ghsa-malware (672308937b089202278ea7f7135c429731492f5dbed5f696714d9436ccb90a4f)

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.173057986Z",
            "sha256": "672308937b089202278ea7f7135c429731492f5dbed5f696714d9436ccb90a4f",
            "id": "GHSA-p7mv-cxfx-xvp9",
            "modified_time": "2026-08-04T16:41:04Z",
            "versions": [
                "2.4.9",
                "2.4.8",
                "2.4.7",
                "2.4.5",
                "2.4.4",
                "2.4.3"
            ]
        },
        {
            "versions": [
                "2.4.8"
            ],
            "import_time": "2026-08-05T03:12:12.33465169Z",
            "sha256": "3ebcc1c65fd87444a0b75a6cf1d82ded0044867497110d883634b1a4f14ab895",
            "id": "IN-MAL-2026-012037",
            "modified_time": "2026-08-05T03:02:31Z",
            "source": "amazon-inspector"
        },
        {
            "versions": [
                "2.4.6"
            ],
            "import_time": "2026-08-05T04:37:53.928062914Z",
            "sha256": "50ed1c0bdab0005cadf36b63636c462aafb82a49a23e112cc21ea11ff87526fe",
            "id": "IN-MAL-2026-012293",
            "modified_time": "2026-08-05T03:38:43Z",
            "source": "amazon-inspector"
        },
        {
            "versions": [
                "2.4.7"
            ],
            "import_time": "2026-08-05T04:38:26.60600953Z",
            "sha256": "9d28bec270113006a2fbb00c0890a249ae6b8fba96fa6358a3db56f8c4ecdaa3",
            "id": "IN-MAL-2026-012570",
            "modified_time": "2026-08-05T04:18:47Z",
            "source": "amazon-inspector"
        },
        {
            "versions": [
                "2.4.9"
            ],
            "sha256": "b05cc478e9214fddd6f79e34be7ffbc57747dde450eee9b517c9fd6da81bf482",
            "import_time": "2026-08-05T04:38:13.605877733Z",
            "id": "IN-MAL-2026-012466",
            "modified_time": "2026-08-05T04:03:42Z",
            "source": "amazon-inspector"
        },
        {
            "versions": [
                "2.4.4"
            ],
            "sha256": "345a7a24593728a62430e3fea223cf25483408f3e97e7e7501e8f61c22fbdf87",
            "import_time": "2026-08-05T06:00:06.316448719Z",
            "id": "IN-MAL-2026-012803",
            "modified_time": "2026-08-05T04:51:24Z",
            "source": "amazon-inspector"
        },
        {
            "versions": [
                "2.4.3"
            ],
            "import_time": "2026-08-05T06:00:11.22285234Z",
            "sha256": "590f57678bfc20235e89bfbadc9a9670a3a14f646838368e664a300dd752ed5e",
            "id": "IN-MAL-2026-012845",
            "modified_time": "2026-08-05T04:57:33Z",
            "source": "amazon-inspector"
        },
        {
            "versions": [
                "2.4.5"
            ],
            "import_time": "2026-08-05T05:59:56.449850091Z",
            "sha256": "92aa1339e9ab5c74df187c72c888194f1e8b715c81c53ef128ff583d19a7c651",
            "id": "IN-MAL-2026-012721",
            "modified_time": "2026-08-05T04:39:39Z",
            "source": "amazon-inspector"
        }
    ],
    "iocs": {
        "files": [
            {
                "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.",
                "paths": [
                    "setup.mjs"
                ],
                "source": "PACKAGE_ARCHIVE"
            },
            {
                "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.",
                "paths": [
                    "Math_Symbol.js",
                    "math_init.js"
                ],
                "source": "PACKAGE_ARCHIVE"
            }
        ]
    }
}
References
Credits

Affected packages

npm / @servicetitan/admin-layout

Package

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

Affected ranges

Affected versions

2.*
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.4.8
2.4.9

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "admin-layout-2.4.8.tgz",
            "hashes": {
                "sha512_sri": "sha512-r++FnM0xonsJwYvkehRMLM3qOnLFP9yEq+0g4JSzQu+elR1uaGfavQF0jfb+Uhi0Z6o7CocNcjN7UtE9lGzbxQ==",
                "sha1": "373a062d266438f2d8b45b21f49d00d4ef4d63ed"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
            "sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
            "path": "setup.mjs"
        },
        {
            "tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
            "sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
            "path": "math_init.js"
        },
        {
            "path": "package.json",
            "sha256": "c046a5f2dcefb4fad46d5795b51378f362b38bef90912b288451eef01ec726a8",
            "tlsh": "63214310c9661de72ade20e8587b1113296d85176d19bd2c33e2931c0f9caefa17ae2d"
        }
    ]
}
cwes
[
    {
        "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.",
        "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.",
        "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"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/admin-layout/MAL-2026-11812.json"