MAL-2026-11948

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/va-mfe-loader/MAL-2026-11948.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11948
Aliases
  • GHSA-x3v2-v328-jjmw
Published
2026-08-04T13:19:48Z
Modified
2026-08-05T05:05:52.172073859Z
Summary
Malicious code in @servicetitan/va-mfe-loader (npm)
Details

npm/@servicetitan/va-mfe-loader 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 (7e4d1bc555f5e0ec302890c0f55b497b9a4b46fd1fac346bc7aa0421453bad35)

The package advertises itself as a small React micro-frontend loader (dist/va-mfe-loader.js exports a VaMfeLoader component that wraps @servicetitan/web-components Loader). Its package.json declares a preinstall hook that runs node setup.mjs, which downloads the Bun JavaScript runtime v1.3.13 from https://github.com/oven-sh/bun/releases/download/bun-v1.3.13/, extracts and chmod +x's the binary, and then execFileSync's that Bun binary against a bundled sibling file mathinit.js. mathinit.js is a 727KB heavily obfuscated blob using a string-array-shuffle scheme (WV8StW rotator over a large mixed literal/opcode constants array, hex-encoded values, random-suffix identifiers, @bun-cjs header) whose behavior is not statically reviewable. Pulling a second language runtime at install specifically to execute a bundled opaque script evades Node-resolved static scanners, and has no relationship to the declared React loader functionality. The install-time behavior is entirely disjoint from the stated library purpose, consistent with a scope compromise or lookalike within the @servicetitan namespace.

Source: ghsa-malware (abe2a62bf590de86eac37c14f08761ea1d4ef49f886f4760feca7c11558b918b)

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": [
        {
            "import_time": "2026-08-05T00:10:18.280329954Z",
            "modified_time": "2026-08-04T16:38:24Z",
            "sha256": "abe2a62bf590de86eac37c14f08761ea1d4ef49f886f4760feca7c11558b918b",
            "source": "ghsa-malware",
            "id": "GHSA-x3v2-v328-jjmw",
            "versions": [
                "1.1.7",
                "1.1.5",
                "1.1.4",
                "1.1.1",
                "1.1.3",
                "1.1.2",
                "1.1.6"
            ]
        },
        {
            "source": "amazon-inspector",
            "import_time": "2026-08-05T04:37:52.405509249Z",
            "sha256": "029ec047ea18066979fa8a77028f01cb1bae895371e0a421087ccd79eef51e47",
            "modified_time": "2026-08-05T03:37:22Z",
            "id": "IN-MAL-2026-012283",
            "versions": [
                "1.1.5"
            ]
        },
        {
            "source": "amazon-inspector",
            "import_time": "2026-08-05T04:38:17.496877701Z",
            "sha256": "315536bd5a275b85e94e8cedf5b7263d94567fb2cce8f7012a2395a4bddc0271",
            "modified_time": "2026-08-05T04:08:21Z",
            "id": "IN-MAL-2026-012499",
            "versions": [
                "1.1.6"
            ]
        },
        {
            "import_time": "2026-08-05T04:37:41.984905948Z",
            "modified_time": "2026-08-05T03:25:31Z",
            "sha256": "7369e30de0e115d232014604af7ccd83c79947fe4c36bb1b0e0499e826b637e3",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-012198",
            "versions": [
                "1.1.1"
            ]
        },
        {
            "source": "amazon-inspector",
            "import_time": "2026-08-05T04:38:29.952952428Z",
            "sha256": "7e4d1bc555f5e0ec302890c0f55b497b9a4b46fd1fac346bc7aa0421453bad35",
            "modified_time": "2026-08-05T04:22:25Z",
            "id": "IN-MAL-2026-012596",
            "versions": [
                "1.1.4"
            ]
        },
        {
            "import_time": "2026-08-05T04:37:59.85217972Z",
            "modified_time": "2026-08-05T03:46:25Z",
            "sha256": "8d29132956898ae43ddfb16d38fcc24fc5ed5aaea3f7d93bd1778c2747d4b019",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-012345",
            "versions": [
                "1.1.3"
            ]
        },
        {
            "source": "amazon-inspector",
            "import_time": "2026-08-05T04:38:04.689335559Z",
            "sha256": "9975f83eb0792a9ddd9921f7bf9d939925fe9848685ce47cc900282fa775b524",
            "modified_time": "2026-08-05T03:52:22Z",
            "id": "IN-MAL-2026-012387",
            "versions": [
                "1.1.2"
            ]
        },
        {
            "modified_time": "2026-08-05T03:30:12Z",
            "source": "amazon-inspector",
            "sha256": "b858533943bb701004fb017e32901f3f11747099f42a696ba5a7b8ab1c07bd3a",
            "import_time": "2026-08-05T04:37:46.071899221Z",
            "id": "IN-MAL-2026-012231",
            "versions": [
                "1.1.7"
            ]
        }
    ],
    "iocs": {
        "files": [
            {
                "source": "PACKAGE_ARCHIVE",
                "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."
            },
            {
                "paths": [
                    "Math_Symbol.js",
                    "math_init.js"
                ],
                "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."
            }
        ]
    }
}
References
Credits

Affected packages

npm / @servicetitan/va-mfe-loader

Package

Name
@servicetitan/va-mfe-loader
View open source insights on deps.dev
Purl
pkg:npm/%40servicetitan/va-mfe-loader

Affected ranges

Affected versions

1.*
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7

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": "va-mfe-loader-1.1.5.tgz",
            "hashes": {
                "sha512_sri": "sha512-5vf5MSm6YX8Z8aLtMyOMpmVaa2eIK7qZnBeh/l9tA1hdkDCIuhMIOk3jB8FtnrLtH8KjK9wdUDEtFEXHGPmdig==",
                "sha1": "84be79bed1fc83025c15d954a5dcaaa479db6541"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
            "sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
            "path": "setup.mjs"
        },
        {
            "tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
            "sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
            "path": "math_init.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/va-mfe-loader/MAL-2026-11948.json"