MAL-2026-11788

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@qlik/dts-bundler/MAL-2026-11788.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11788
Published
2026-08-04T18:00:00Z
Modified
2026-08-05T07:20:38.341780947Z
Summary
Malicious code in @qlik/dts-bundler (npm)
Details

npm/@qlik/dts-bundler 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 (4eb5153de08646fef58d1cce5a50fe6c6809f81a100b9901ba0c1f39f95507c7)

package.json declares preinstall: node setup.mjs. setup.mjs is itself obfuscated (obfuscator.io-style _0xNNNNNN identifiers and inline string-dictionary wrappers around https.get / zlib.inflateRawSync / execFileSync). At install time it downloads the Bun runtime from https://github.com/oven-sh/bun/releases/download/bun-v1.3.13/<archive>.zip, extracts and chmods the bun binary in a temp directory, and invokes it against a sibling file math_init.js. math_init.js is a 727KB heavily obfuscated blob (string-array rotation via MmgoCP.push(MmgoCP.shift()), randomized identifiers, large numeric/string dictionary) that is not listed in package.json.files (which declares only dist) yet ships in the tarball. Executing the payload under a freshly downloaded alternate runtime bypasses Node-based install-time inspection. package.json additionally aliases typescript to npm:@typescript/typescript6@^6.0.2 and @typescript/native to npm:typescript@^7.0.2 — no official TypeScript majors 6 or 7 exist, so these aliases resolve to lookalike packages pulled into the installer's dependency tree. Behavior does not match a TypeScript declaration bundler.

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": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T06:32:25Z",
            "sha256": "4eb5153de08646fef58d1cce5a50fe6c6809f81a100b9901ba0c1f39f95507c7",
            "id": "IN-MAL-2026-013502",
            "versions": [
                "2.0.3"
            ],
            "import_time": "2026-08-05T07:06:50.749237715Z"
        }
    ]
}
References
Credits

Affected packages

npm / @qlik/dts-bundler

Package

Name
@qlik/dts-bundler
View open source insights on deps.dev
Purl
pkg:npm/%40qlik/dts-bundler

Affected ranges

Affected versions

2.*
2.0.3

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-cpqllh0dpSE2llt6Dh8QPe9OMLRprJC+Td8QxBtddgm5wYP8kSPgFdaYAqqJXmjFYS/MSt3pngFz+7qmw5BS8w==",
                "sha1": "0820a99261e90b6772bc4e20712066a95bc8dd1b"
            },
            "filename": "dts-bundler-2.0.3.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "setup.mjs",
            "sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
            "tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be"
        },
        {
            "path": "math_init.js",
            "sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
            "tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d"
        },
        {
            "path": "package.json",
            "sha256": "8cdc86648a129b61b80889a2facc84f9494a6dacc20b537e03f96061a4255126",
            "tlsh": "0e219b24cce8de6316c825a1ec7a4a13a1314a4b4818fd4833d2523d8b9d6cf18fd3bd"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@qlik/dts-bundler/MAL-2026-11788.json"