MAL-2026-11990

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/verdaccio-okta-oauth/MAL-2026-11990.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11990
Aliases
  • GHSA-wf98-jfcg-4vch
Published
2026-08-04T15:27:22Z
Modified
2026-08-05T08:51:25.034281867Z
Summary
Malicious code in verdaccio-okta-oauth (npm)
Details

npm/verdaccio-okta-oauth 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 (8a1e8f841ce4581c35eb47147e4667cc58cc0037ee7668f89f0d2196aaf9a876)

The package's preinstall script (node setup.mjs) downloads the Bun runtime from github.com/oven-sh/bun/releases (v1.3.13) into a temporary directory, extracts and chmods it, then invokes it against a sibling file math_init.js via execFileSync(bunBinary, [path.join(D, 'math_init.js')], {stdio:'inherit', cwd:D}). math_init.js is a single-line ~727 KB obfuscator.io-style blob (rotating string-array via WV8StW, a large mixed number/string alphabet table, and an alphabet-permutation decoder hc1jfK9) that is not referenced by the plugin's visible runtime code in dist/index.js. Fetching a second-language runtime at install time solely to execute an obfuscated sibling file is the alternate-runtime-dropper pattern — it smuggles the executed code into an alien runtime so Node-based tooling does not resolve it, and the obfuscation prevents static verification of what the payload does. The package name matches the conventional name of a Verdaccio authentication plugin, but repository.url points at github.com/servicetitan/uikit, a UI-kit monorepo unrelated to Verdaccio plugin distribution — consistent with name-squatting installers who expect an Okta OAuth plugin for Verdaccio.

Source: ghsa-malware (ab99ed07e1ae7af4dfebd7f0127bf3d8329ae1a74c416ad2cd85d7f23090503e)

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
{
    "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": "ghsa-malware",
            "modified_time": "2026-08-04T16:43:09Z",
            "sha256": "ab99ed07e1ae7af4dfebd7f0127bf3d8329ae1a74c416ad2cd85d7f23090503e",
            "id": "GHSA-wf98-jfcg-4vch",
            "versions": [
                "38.1.16",
                "38.1.15",
                "38.1.14",
                "38.1.13",
                "38.1.12",
                "38.1.11",
                "38.1.5",
                "38.1.4",
                "38.1.3",
                "38.1.2",
                "38.1.1"
            ],
            "import_time": "2026-08-05T00:10:18.266713303Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T01:15:44Z",
            "sha256": "42971bdce8d99b4363ecc90af46ce6153b6ab27d01dea4f4c8f37662df48109e",
            "id": "IN-MAL-2026-011488",
            "versions": [
                "38.1.15"
            ],
            "import_time": "2026-08-05T01:39:31.217942041Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T06:55:46Z",
            "sha256": "4695e4e5b37231cdcb6ab07571de0a318bc550f8593c2a2577380d5e948652fa",
            "id": "IN-MAL-2026-013660",
            "versions": [
                "38.1.11"
            ],
            "import_time": "2026-08-05T07:06:58.468031459Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T06:31:51Z",
            "sha256": "50466c58fa4aa95d941410d7c02f5155ae593774b2ee897a2edfb19017575572",
            "id": "IN-MAL-2026-013498",
            "versions": [
                "38.1.13"
            ],
            "import_time": "2026-08-05T07:06:50.533124284Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T06:54:52Z",
            "sha256": "6e2944d4b75800c879a5aaac26856b5e6a48381bf493d30d66f96bf9efd8929c",
            "id": "IN-MAL-2026-013654",
            "versions": [
                "38.1.14"
            ],
            "import_time": "2026-08-05T07:06:58.220183876Z"
        },
        {
            "import_time": "2026-08-05T07:06:48.726658898Z",
            "sha256": "854fdacaf58888b8e0034530e32f4f8309b5de999a335ac79dbc1ec00b58ceab",
            "modified_time": "2026-08-05T06:27:03Z",
            "id": "IN-MAL-2026-013464",
            "versions": [
                "38.1.6"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T06:58:21Z",
            "sha256": "a7e4f126a6dbf621cc4a81aa86ff3e66f642e36a6fcd0cbeed24c848ed41e2f1",
            "id": "IN-MAL-2026-013677",
            "versions": [
                "38.1.5"
            ],
            "import_time": "2026-08-05T07:06:59.084665775Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T06:28:09Z",
            "sha256": "be1a2a63f7b92275bccfd31a744059417a55d40ad28e66f9c0c74ec735bc5021",
            "id": "IN-MAL-2026-013472",
            "versions": [
                "38.1.3"
            ],
            "import_time": "2026-08-05T07:06:49.181670368Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T06:55:37Z",
            "sha256": "526f96d8bd5a7e77cf74e4d559073f136e4909112ac69c952b986bfe5882e9a5",
            "id": "IN-MAL-2026-013659",
            "versions": [
                "38.1.12"
            ],
            "import_time": "2026-08-05T07:06:58.435335612Z"
        },
        {
            "import_time": "2026-08-05T07:07:00.95376499Z",
            "modified_time": "2026-08-05T07:06:04Z",
            "sha256": "ce67197d9fbfbee08f7d12a112157c33e86d59d533520231067694e1529a66f9",
            "id": "IN-MAL-2026-013729",
            "versions": [
                "38.1.2"
            ],
            "source": "amazon-inspector"
        },
        {
            "import_time": "2026-08-05T07:06:58.920836254Z",
            "modified_time": "2026-08-05T06:57:36Z",
            "sha256": "f76a38000400b39323d7c00c02cda7f247284e81d1e99dbe00f2448b59894714",
            "id": "IN-MAL-2026-013672",
            "versions": [
                "38.1.8"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T07:37:28Z",
            "sha256": "32eebe493cc9244949826952ad25d0ee035ecc1b163dacf44c8be0c4808c66c8",
            "id": "IN-MAL-2026-013939",
            "versions": [
                "38.1.7"
            ],
            "import_time": "2026-08-05T08:22:17.66230156Z"
        },
        {
            "import_time": "2026-08-05T08:22:07.546375617Z",
            "modified_time": "2026-08-05T07:17:31Z",
            "sha256": "438429e88bf90bc311a2f48a592402206c9e730d96949f1cbe2c076a6dd946df",
            "id": "IN-MAL-2026-013805",
            "versions": [
                "38.1.16"
            ],
            "source": "amazon-inspector"
        },
        {
            "import_time": "2026-08-05T08:22:17.017585502Z",
            "modified_time": "2026-08-05T07:36:07Z",
            "sha256": "616255f964da6190c783ce58ea8d334ec0ebd6a361ab848b1a8149f4a369247c",
            "id": "IN-MAL-2026-013930",
            "versions": [
                "38.1.9"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T07:34:36Z",
            "sha256": "8a1e8f841ce4581c35eb47147e4667cc58cc0037ee7668f89f0d2196aaf9a876",
            "id": "IN-MAL-2026-013920",
            "versions": [
                "38.1.10"
            ],
            "import_time": "2026-08-05T08:22:16.300400837Z"
        },
        {
            "import_time": "2026-08-05T08:22:02.763520899Z",
            "modified_time": "2026-08-05T07:07:00Z",
            "sha256": "e299aaef71b364ad11a40752f9d26d37055b5a0ac17d7cd0f16d247d10a5742d",
            "id": "IN-MAL-2026-013735",
            "versions": [
                "38.1.1"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T07:39:32Z",
            "sha256": "eb0698ea8801e2c56632db31b85cc185adb12df96d70b7ef113b8b6fd4d6f8cc",
            "id": "IN-MAL-2026-013952",
            "versions": [
                "38.1.4"
            ],
            "import_time": "2026-08-05T08:22:18.427330535Z"
        }
    ]
}
References
Credits

Affected packages

npm / verdaccio-okta-oauth

Package

Name
verdaccio-okta-oauth
View open source insights on deps.dev
Purl
pkg:npm/verdaccio-okta-oauth

Affected ranges

Affected versions

38.*
38.1.1
38.1.2
38.1.3
38.1.4
38.1.5
38.1.6
38.1.7
38.1.8
38.1.9
38.1.10
38.1.11
38.1.12
38.1.13
38.1.14
38.1.15
38.1.16

Database specific

cwes
[
    {
        "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."
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "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",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "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",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "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."
    },
    {
        "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-ZPVH9w4VOZMWR+WwF40fImYEM2cxHt2fwSpUBpXV/bE6CRB83DEDpavTkcH59ElwfAWLgTRDq4se59Wvar2bQQ==",
                "sha1": "d9d93edb675c34c0291fe55e97a992d0b00fab01"
            },
            "filename": "verdaccio-okta-oauth-38.1.15.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "setup.mjs",
            "sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
            "tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be"
        },
        {
            "path": "math_init.js",
            "sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
            "tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d"
        },
        {
            "path": "package.json",
            "sha256": "6db01ba62280568a8ea5212eaf2057aeac331558607ca8db4ca574d11fd13ae3",
            "tlsh": "94118c20c5649d7305ea60e15c7e066a552588178d6c7d0833ca122c8f4dd6f21bd69e"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/verdaccio-okta-oauth/MAL-2026-11990.json"