MAL-2026-11792

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@qlik/embed-web-components/MAL-2026-11792.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11792
Aliases
  • GHSA-ghgg-89w3-phrx
Published
2026-08-04T15:47:55Z
Modified
2026-08-05T07:20:38.873871003Z
Summary
Malicious code in @qlik/embed-web-components (npm)
Details

npm/@qlik/embed-web-components 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 (16c42be9c67a8e3566408500244c465178f2ef8fd44b9b6155df9974e1975d22)

Version 1.7.3 of this npm package contains a preinstall hook (node setup.mjs) that downloads the Bun runtime from GitHub releases and uses it to execute a co-shipped 727KB obfuscated file math_init.js at install time. setup.mjs itself is obfuscated with obfuscator.io-style identifier mangling (_0x488df8, _0x52943e, etc.) and string-lookup indirection. math_init.js is a single-line hex-array obfuscated bundle carrying a // @bun @bun-cjs header, a rotated string array (n7gIxM, rotation function WV8StW), and a charset decoder (hc1jfK9) — using Bun rather than Node so the payload executes outside the Node require-tree that ordinary scanners walk. Neither setup.mjs nor math_init.js is listed in package.json's files manifest (declared as ["dist", "CHANGELOG.md"]), and CHANGELOG.md has no entry for 1.7.3, consistent with a compromised-publish where the preinstall + payload were injected without updating the publish manifest. A web-components UI library has no legitimate need to fetch an alternate JS runtime and execute a large obfuscated bundle at install.

Source: ghsa-malware (7a22e8dc259dc8b68d23b1db5bdba9e20f37fdf66b0f407cc3485078693a591c)

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": [
        {
            "versions": [
                "1.7.3"
            ],
            "sha256": "7a22e8dc259dc8b68d23b1db5bdba9e20f37fdf66b0f407cc3485078693a591c",
            "import_time": "2026-08-05T00:10:18.076418031Z",
            "id": "GHSA-ghgg-89w3-phrx",
            "modified_time": "2026-08-04T15:47:56Z",
            "source": "ghsa-malware"
        },
        {
            "versions": [
                "1.7.3"
            ],
            "import_time": "2026-08-05T07:06:54.402995076Z",
            "sha256": "16c42be9c67a8e3566408500244c465178f2ef8fd44b9b6155df9974e1975d22",
            "id": "IN-MAL-2026-013568",
            "modified_time": "2026-08-05T06:42:04Z",
            "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 / @qlik/embed-web-components

Package

Name
@qlik/embed-web-components
View open source insights on deps.dev
Purl
pkg:npm/%40qlik/embed-web-components

Affected ranges

Affected versions

1.*
1.7.3

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "embed-web-components-1.7.3.tgz",
            "hashes": {
                "sha512_sri": "sha512-DtvT8cVFoV+TKq9aGLCaTu4jSrfxz37gF2OcAkf4Q86axQ97BOmH2C4AIBHiAff/T+5Z8c7LOjqUnuCTXLW6fg==",
                "sha1": "102ad1018a93e653c90aed7d4b4e16f16ad8b019"
            }
        }
    ],
    "evidence_files": [
        {
            "path": "setup.mjs",
            "sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
            "tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be"
        },
        {
            "path": "math_init.js",
            "sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
            "tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d"
        },
        {
            "path": "package.json",
            "sha256": "9f0647be46ca013ca917948fa122f8e6f2a08ca2bae31aa851f8ac1e04f0c85f",
            "tlsh": "b2014925cdf08d7325cc61ea4c2a495776b6484b09587e4937c7410c4bcd6da31ff09e"
        }
    ]
}
cwes
[
    {
        "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"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@qlik/embed-web-components/MAL-2026-11792.json"