MAL-2026-11908

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/navigation/MAL-2026-11908.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11908
Aliases
  • GHSA-4774-g3fw-f2gg
Published
2026-08-04T15:25:59Z
Modified
2026-08-05T05:05:34.031515383Z
Summary
Malicious code in @servicetitan/navigation (npm)
Details

npm/@servicetitan/navigation 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 (b8a5cb1b58af74615b3cc34419b195f9ee87af740669e27a9398d0e4d03b5c53)

The npm package @servicetitan/navigation@14.1.2 declares a preinstall hook (node setup.mjs) that fires automatically on npm install. setup.mjs is identifier-mangled in obfuscator.io style (_0x488df8, _0x52943e, indirection tables like _0x2c3338.NIXVR) and constructs a URL of the form https://github.com/oven-sh/bun/releases/download/bun-v<V>/...zip, downloads the Bun runtime for the detected platform (linux/darwin/windows, with Alpine/musl detection), extracts the archive, chmods the binary executable, and invokes it via execFileSync(<bun>, [<D>/math_init.js]) against a bundled 727KB sibling file. math_init.js is a Bun-compiled artifact (// @bun @bun-cjs header) with string-array rotation (function WV8StW(...){...MmgoCP.push(MmgoCP.shift())}) and 700KB+ of numeric/hex constants; it is not reachable from any Node-visible entrypoint and is not referenced by the package's advertised React navigation UI functionality. The package's stated purpose does not require a second language runtime; the payload is executed only through the freshly downloaded alien runtime, bypassing Node-based inspection. The combination of install-time execution, alternate-runtime dropper pattern, and dual-layer obfuscation of both the dropper and the payload constitutes arbitrary code execution on any host that installs this version.

Source: ghsa-malware (64564715b6ea6e9241019f3fbca05aafcc2eeeaf066844e0d56e2485d0b05869)

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:17.876311542Z",
            "modified_time": "2026-08-04T16:48:13Z",
            "sha256": "64564715b6ea6e9241019f3fbca05aafcc2eeeaf066844e0d56e2485d0b05869",
            "source": "ghsa-malware",
            "id": "GHSA-4774-g3fw-f2gg",
            "versions": [
                "14.1.7",
                "14.1.6",
                "14.1.5",
                "14.1.4",
                "14.1.3",
                "14.1.2",
                "14.1.1"
            ]
        },
        {
            "import_time": "2026-08-05T00:44:49.982888242Z",
            "modified_time": "2026-08-05T00:16:35Z",
            "sha256": "5b3c758c2a66aefccd52465927fc76b79cda56990cbf7719d436a12cdf3a10ea",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-011443",
            "versions": [
                "14.1.5"
            ]
        },
        {
            "source": "amazon-inspector",
            "import_time": "2026-08-05T03:12:12.053164522Z",
            "sha256": "ea9440caadc7f542edadf21050fa789a35f0c5ceba6bda669854229cd1633de4",
            "modified_time": "2026-08-05T03:02:08Z",
            "id": "IN-MAL-2026-012034",
            "versions": [
                "14.1.3"
            ]
        },
        {
            "source": "amazon-inspector",
            "import_time": "2026-08-05T04:37:35.252272428Z",
            "sha256": "99d9ffa1bd2d5cc3be4f9c22372c13519a3b8890533e59e25fd8cb89f2b0517c",
            "modified_time": "2026-08-05T03:17:31Z",
            "id": "IN-MAL-2026-012142",
            "versions": [
                "14.1.1"
            ]
        },
        {
            "import_time": "2026-08-05T04:38:00.249401722Z",
            "modified_time": "2026-08-05T03:47:03Z",
            "sha256": "b8a5cb1b58af74615b3cc34419b195f9ee87af740669e27a9398d0e4d03b5c53",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-012349",
            "versions": [
                "14.1.2"
            ]
        },
        {
            "import_time": "2026-08-05T04:37:54.308488939Z",
            "modified_time": "2026-08-05T03:39:08Z",
            "sha256": "e9d77de2e6c781b01183f1516a4427d7d72bc7209488400c4e98253689391807",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-012296",
            "versions": [
                "14.1.4"
            ]
        },
        {
            "modified_time": "2026-08-05T04:04:41Z",
            "source": "amazon-inspector",
            "sha256": "1afd7ecb8646f164da22f832bbd732d6269caf0954eafa1c8f7c5ff49305b6c4",
            "import_time": "2026-08-05T04:38:14.334057913Z",
            "id": "IN-MAL-2026-012473",
            "versions": [
                "14.1.7"
            ]
        },
        {
            "import_time": "2026-08-05T04:37:37.350830325Z",
            "modified_time": "2026-08-05T03:19:56Z",
            "sha256": "6dd5855497719aeb68421fbe2df23a35a60d410882c472664843630cb3032e67",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-012159",
            "versions": [
                "14.1.6"
            ]
        }
    ],
    "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/navigation

Package

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

Affected ranges

Affected versions

14.*
14.1.1
14.1.2
14.1.3
14.1.4
14.1.5
14.1.6
14.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": "navigation-14.1.5.tgz",
            "hashes": {
                "sha512_sri": "sha512-dd4RGutLYSG4jlyRU3EnpLOnodq7M3NI/jNvlg5+9nvoBXNuC56j47akstGPsxA91cHuR5M5622LuCFcSPJDVA==",
                "sha1": "fa3ac493bc843b6ea2543c255c59ba28bcd50fa3"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
            "sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
            "path": "setup.mjs"
        },
        {
            "tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
            "sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
            "path": "math_init.js"
        },
        {
            "tlsh": "8211d350c9a55db326de61e11c3b0142582a99075d187e5c32e3930c4f5ca9f427ba7e",
            "sha256": "cfa01444be7667d178ed54f6e3b33c166a9825c06be943016ce77853c7d592f7",
            "path": "package.json"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@servicetitan/navigation/MAL-2026-11908.json"