MAL-2026-11976

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/native-frontend-orb/MAL-2026-11976.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11976
Aliases
  • GHSA-7xfj-37mv-m3wj
Published
2026-08-04T15:18:28Z
Modified
2026-08-05T08:51:21.210949765Z
Summary
Malicious code in native-frontend-orb (npm)
Details

npm/native-frontend-orb 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 (bd68ddcb9ed35aa6b7ee09d93bdcb29f049e819d76e49c8ab75e726a1fac33a1)

The package declares a preinstall hook (node setup.mjs) that runs automatically on npm install. setup.mjs selects a Bun binary for the current OS/arch, downloads it from a hardcoded oven-sh/bun GitHub release, extracts it to a temp directory, chmods +x, and immediately invokes it via execFileSync to run the shipped math_init.js. math_init.js is a 727KB single-line @bun @bun-cjs bundle whose strings are hidden in a shuffled constants array with a rotation function (WV8StW) that reorders the array at runtime, and whose identifiers are scrambled — the executed code is not directly readable. Running the payload under a freshly-downloaded alternate runtime bypasses tooling that only inspects Node-resolved imports. Package metadata does not match the shipped behavior: package.json declares main: index.js but no index.js is present in the tarball, repository points to git@github.com:ornikar/orb-frontend-native.git, and the README describes a CircleCI orb for mobile-frontend CI — none of which requires downloading a second language runtime or executing an obfuscated bundle at install time. The name closely resembles the unrelated Ornikar orb-frontend-native project. On npm install, this gives the publisher arbitrary code execution on the installer's host under a runtime the installer did not choose to install.

Source: ghsa-malware (192aff21565378d8f14271acc1be566cfa5c47b8b3d6281d289ae8993be4b401)

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": [
        {
            "modified_time": "2026-08-04T16:51:13Z",
            "source": "ghsa-malware",
            "sha256": "192aff21565378d8f14271acc1be566cfa5c47b8b3d6281d289ae8993be4b401",
            "import_time": "2026-08-05T00:10:17.973013537Z",
            "id": "GHSA-7xfj-37mv-m3wj",
            "versions": [
                "1.1.19",
                "1.1.18",
                "1.1.17",
                "1.1.16",
                "1.1.12",
                "1.1.15",
                "1.1.14",
                "1.1.13",
                "1.1.11",
                "1.1.10",
                "1.1.9",
                "1.1.8",
                "1.1.7",
                "1.1.6",
                "1.1.5",
                "1.1.4"
            ]
        },
        {
            "import_time": "2026-08-05T07:06:56.484144188Z",
            "modified_time": "2026-08-05T06:48:53Z",
            "sha256": "bd68ddcb9ed35aa6b7ee09d93bdcb29f049e819d76e49c8ab75e726a1fac33a1",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013614",
            "versions": [
                "1.1.19"
            ]
        },
        {
            "import_time": "2026-08-05T07:06:49.812677734Z",
            "modified_time": "2026-08-05T06:29:55Z",
            "sha256": "d602cd5bc0c815f1b4aa2290625b69e5f1f7643279a638a2bdedca337a9b8760",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013485",
            "versions": [
                "1.1.4"
            ]
        },
        {
            "import_time": "2026-08-05T07:06:53.439801384Z",
            "modified_time": "2026-08-05T06:39:44Z",
            "sha256": "dc8116125623bcd5937dfcfff10add2bd60ca1d2a2b2e8cf99b2d2ac606bd4f0",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013552",
            "versions": [
                "1.1.10"
            ]
        },
        {
            "modified_time": "2026-08-05T06:49:30Z",
            "source": "amazon-inspector",
            "sha256": "eeb67ec9cebb99c93e9025cbca5b8a90b6c8a161e81a3d6db0b771855afd6f67",
            "import_time": "2026-08-05T07:06:56.633137946Z",
            "id": "IN-MAL-2026-013618",
            "versions": [
                "1.1.16"
            ]
        },
        {
            "source": "amazon-inspector",
            "import_time": "2026-08-05T07:06:48.755811829Z",
            "sha256": "8ea99df99d0f628235a4dabb5c2c109bb3493495c8f5f4c197bce85914c39b9c",
            "modified_time": "2026-08-05T06:27:11Z",
            "id": "IN-MAL-2026-013465",
            "versions": [
                "1.1.9"
            ]
        },
        {
            "import_time": "2026-08-05T07:06:56.681496697Z",
            "modified_time": "2026-08-05T06:49:37Z",
            "sha256": "96bc8a576bff754978cc5619a8b3a6a32f98fb1004af6aaf8b50355678d39a51",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013619",
            "versions": [
                "1.1.15"
            ]
        },
        {
            "import_time": "2026-08-05T07:06:56.588670267Z",
            "modified_time": "2026-08-05T06:49:21Z",
            "sha256": "97f85c8f5171f3c55660c8dec10aa7eb00ce4f3f01df93fded1be7388e0a60f9",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013617",
            "versions": [
                "1.1.17"
            ]
        },
        {
            "import_time": "2026-08-05T07:06:52.084133504Z",
            "modified_time": "2026-08-05T06:35:55Z",
            "sha256": "ae108bd9bf95ebf262dfbb35ab576f38bc058661d26c88cd487396a0c4f47273",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013526",
            "versions": [
                "1.1.18"
            ]
        },
        {
            "import_time": "2026-08-05T07:06:56.906435981Z",
            "modified_time": "2026-08-05T06:50:24Z",
            "sha256": "bbd3943c7893f342cdd0ce28bfd438a013d515b86a648a3e69ebfe73a08dfb25",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013624",
            "versions": [
                "1.1.12"
            ]
        },
        {
            "import_time": "2026-08-05T07:07:00.737318802Z",
            "modified_time": "2026-08-05T07:05:07Z",
            "sha256": "f09461d404e7261f690c9df03c0ec9ff28d7ad76f7050868717ee2a835335d21",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013723",
            "versions": [
                "1.1.7"
            ]
        },
        {
            "import_time": "2026-08-05T07:06:56.830306965Z",
            "modified_time": "2026-08-05T06:50:08Z",
            "sha256": "166f6c4385bf0b8cd029a624ae3aca3828622c18c8ae602435aa10e3044fb4e7",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013622",
            "versions": [
                "1.1.14"
            ]
        },
        {
            "modified_time": "2026-08-05T06:50:17Z",
            "source": "amazon-inspector",
            "sha256": "b04ae2573759cb05de2a8da675b87e8510b69468da7bd33eab280a2fa3229f08",
            "import_time": "2026-08-05T07:06:56.878010574Z",
            "id": "IN-MAL-2026-013623",
            "versions": [
                "1.1.13"
            ]
        },
        {
            "source": "amazon-inspector",
            "import_time": "2026-08-05T08:22:15.335586835Z",
            "sha256": "205efda2ab02dacad6453bed9e3161b9ee5af2873acc4d4bf47db336f3b592be",
            "modified_time": "2026-08-05T07:32:41Z",
            "id": "IN-MAL-2026-013908",
            "versions": [
                "1.1.11"
            ]
        },
        {
            "source": "amazon-inspector",
            "import_time": "2026-08-05T08:22:28.269136035Z",
            "sha256": "3eaf60bc35e7278b8bd9574b556e0be69016acf418caa9bab338e248dfb6e787",
            "modified_time": "2026-08-05T08:00:11Z",
            "id": "IN-MAL-2026-014093",
            "versions": [
                "1.1.8"
            ]
        },
        {
            "import_time": "2026-08-05T08:22:04.989870962Z",
            "modified_time": "2026-08-05T07:12:02Z",
            "sha256": "4d06665a869dc76534ee354ae08f35365a331577ba17f05acf9c237c800c736c",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013768",
            "versions": [
                "1.1.5"
            ]
        },
        {
            "import_time": "2026-08-05T08:22:04.833557249Z",
            "modified_time": "2026-08-05T07:11:39Z",
            "sha256": "f3e71d6cb0ff19cf7a0f46d6c5f193aa1258e5d0d0eb24b7f89a725e24139219",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013765",
            "versions": [
                "1.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."
            },
            {
                "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 / native-frontend-orb

Package

Name
native-frontend-orb
View open source insights on deps.dev
Purl
pkg:npm/native-frontend-orb

Affected ranges

Affected versions

1.*
1.1.4
1.1.5
1.1.6
1.1.7
1.1.8
1.1.9
1.1.10
1.1.11
1.1.12
1.1.13
1.1.14
1.1.15
1.1.16
1.1.17
1.1.18
1.1.19

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."
    },
    {
        "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."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "native-frontend-orb-1.1.19.tgz",
            "hashes": {
                "sha512_sri": "sha512-nvdudIFYCZEm2wiN+JzDPPjiPZaoT/fBefbUXkkBTQEbnh+Ksh0XCm9HMCvK/wp2SmSQIb3AF+oY4MFC0m9qsQ==",
                "sha1": "5ba33ce6c59b5f8acab97fe86328d7ce18e05551"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be",
            "sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
            "path": "setup.mjs"
        },
        {
            "tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d",
            "sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
            "path": "math_init.js"
        },
        {
            "tlsh": "bce02620eb51847310c80bf28c76050760628c2f0048fc1c23e30098c2e8fe70afe239",
            "sha256": "c09897980fb4dcfc71fb4bb5c898525e2e91ba667acdfcc78e47d2142627d7ef",
            "path": "package.json"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/native-frontend-orb/MAL-2026-11976.json"