MAL-2026-11750

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ornikar/eslint-config-react/MAL-2026-11750.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11750
Aliases
  • GHSA-h957-h79m-9cv6
Published
2026-08-04T15:12:50Z
Modified
2026-08-05T03:20:07.224586312Z
Summary
Malicious code in @ornikar/eslint-config-react (npm)
Details

npm/@ornikar/eslint-config-react 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 (4dad56c3080f81dbfc2e573c133124bace20b4eca25ebed3437697f859dfcdd0)

This release of @ornikar/eslint-config-react declares scripts.preinstall = "node setup.mjs", which fires automatically on npm install. setup.mjs is obfuscated (obfuscator.io-style _0xNNNN identifiers, per-function string-property lookup tables) and downloads the Bun runtime from https://github.com/oven-sh/bun/releases/download/bun-v<version>/...zip, extracts it, then execFileSyncs the downloaded Bun binary against a sibling file math_init.js. math_init.js is a ~727KB @bun @bun-cjs bundle with a shuffled string/number array and a custom character-substitution decoder (hc1jfK9) — its real behavior is hidden from static inspection and it is executed under an alternate JavaScript runtime that Node-focused install-time scanners do not observe. The declared purpose of the package is a plain ESLint flat-config (main: index.js); fetching a second JavaScript runtime and executing a 700KB obfuscated bundle at install time has no relationship to that purpose. The tarball composition (ESLint-config metadata alongside an obfuscated loader, an obfuscated payload, and a preinstall lifecycle hook that wires them together) is consistent with a maintainer-account compromise or malicious release into the @ornikar scope rather than a legitimate publish.

Source: ghsa-malware (83c979ca0decb09b8e2f82a39c7c02c58bdfff61ef3c936d37ba9c27bf686219)

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:51:07Z",
            "sha256": "83c979ca0decb09b8e2f82a39c7c02c58bdfff61ef3c936d37ba9c27bf686219",
            "id": "GHSA-h957-h79m-9cv6",
            "versions": [
                "24.0.11",
                "24.0.10",
                "24.0.9",
                "24.0.8",
                "24.0.7",
                "24.0.6",
                "24.0.5",
                "24.0.4",
                "24.0.3",
                "24.0.2",
                "24.0.1"
            ],
            "import_time": "2026-08-05T00:10:18.093891816Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T00:09:28Z",
            "sha256": "c43fe18efd20c87dd0bebf2bd584566c90a5bd3b3a5b8f470884b762be25bb7a",
            "id": "IN-MAL-2026-011396",
            "versions": [
                "24.0.10"
            ],
            "import_time": "2026-08-05T00:44:42.861693686Z"
        },
        {
            "import_time": "2026-08-05T03:11:54.061208336Z",
            "sha256": "035497cad10bdab9bcd2fc10536a3b39d63ef9546738769a9b4850c4c7f6b6d4",
            "modified_time": "2026-08-05T02:38:19Z",
            "id": "IN-MAL-2026-011864",
            "versions": [
                "24.0.5"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T02:38:34Z",
            "sha256": "16ca15fbf1ec37e708f5706fe84ca7d9d31be26d06ccee82b300f17fb2e4a765",
            "id": "IN-MAL-2026-011866",
            "versions": [
                "24.0.6"
            ],
            "import_time": "2026-08-05T03:11:54.240676797Z"
        },
        {
            "import_time": "2026-08-05T03:11:26.082986598Z",
            "sha256": "210aa9f54f2ba8d482cf4fcad0714269135a75b480098e26f286089603b3b39b",
            "modified_time": "2026-08-05T02:01:27Z",
            "id": "IN-MAL-2026-011605",
            "versions": [
                "24.0.11"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T02:38:44Z",
            "sha256": "82d747d83531d22b9815c38918bc92fa50a6bd9e6c2343528660803097b92147",
            "id": "IN-MAL-2026-011867",
            "versions": [
                "24.0.4"
            ],
            "import_time": "2026-08-05T03:11:54.320179924Z"
        },
        {
            "import_time": "2026-08-05T03:11:26.243283275Z",
            "sha256": "9a237845714be19f890b7b1ce4c25523a0189faefaeb8369544b921aa81a54ca",
            "modified_time": "2026-08-05T02:01:44Z",
            "id": "IN-MAL-2026-011607",
            "versions": [
                "24.0.3"
            ],
            "source": "amazon-inspector"
        },
        {
            "import_time": "2026-08-05T03:11:21.133923223Z",
            "sha256": "9ab6036bd7c661b86f7e7865f6c984666bb7c59130f8aa03483da7d67177ffff",
            "modified_time": "2026-08-05T01:55:15Z",
            "id": "IN-MAL-2026-011561",
            "versions": [
                "24.0.1"
            ],
            "source": "amazon-inspector"
        },
        {
            "import_time": "2026-08-05T03:11:33.329888332Z",
            "sha256": "4d7f7ef1c9fb5e6565361ece418df599430a9adacffe0719a67c5b18321e2d30",
            "modified_time": "2026-08-05T02:10:46Z",
            "id": "IN-MAL-2026-011669",
            "versions": [
                "24.0.2"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T01:54:38Z",
            "sha256": "4dad56c3080f81dbfc2e573c133124bace20b4eca25ebed3437697f859dfcdd0",
            "id": "IN-MAL-2026-011557",
            "versions": [
                "24.0.7"
            ],
            "import_time": "2026-08-05T03:11:20.687100817Z"
        },
        {
            "import_time": "2026-08-05T03:11:33.420176741Z",
            "sha256": "5e252dbbab7b0adf016050429a19be3687d80a9ba38c7ce3c47c339a0ea7797f",
            "modified_time": "2026-08-05T02:10:54Z",
            "id": "IN-MAL-2026-011670",
            "versions": [
                "24.0.8"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T02:23:23Z",
            "sha256": "aed53a6b37f0e429faa54bcfaa3c650d779a25cbe9294ee92ce8587389d770ff",
            "id": "IN-MAL-2026-011758",
            "versions": [
                "24.0.9"
            ],
            "import_time": "2026-08-05T03:11:42.934847972Z"
        }
    ]
}
References
Credits

Affected packages

npm / @ornikar/eslint-config-react

Package

Name
@ornikar/eslint-config-react
View open source insights on deps.dev
Purl
pkg:npm/%40ornikar/eslint-config-react

Affected ranges

Affected versions

24.*
24.0.1
24.0.2
24.0.3
24.0.4
24.0.5
24.0.6
24.0.7
24.0.8
24.0.9
24.0.10
24.0.11

Database specific

cwes
[
    {
        "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",
        "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."
    },
    {
        "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-93geTTZ9RZVQpo0kTZrbjBI1hrRyLGqY7n/ZDY71WkpruezEkSLd2d7eKgFbenKem0M9I1wcIb7JbYSVUx5nEw==",
                "sha1": "35bb35392fe40893c37af2fb37f2a2f750a14266"
            },
            "filename": "eslint-config-react-24.0.10.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "setup.mjs",
            "sha256": "fd3ca4007b225fdf8de7af4345a19179d5efa8c4bb9205f88cda806e5684b1eb",
            "tlsh": "9a32640912f63210736765e6f54fa0e8f237094b2498dd47795cb188ef49c2ce9e25be"
        },
        {
            "path": "math_init.js",
            "sha256": "9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc",
            "tlsh": "59f493746ec2786982736b5f2199e372e2652e11c27e73fb57e0e432a54c22c30eb51d"
        },
        {
            "path": "package.json",
            "sha256": "d514e80e58ec0d09a468664f9751e2df50de3a7b27e594a3fb5f19e5ced7c274",
            "tlsh": "a4213611c9a88cd387e9499e962553c3142a158b8887f81ce3f2732d8f5c59f50b6aec"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ornikar/eslint-config-react/MAL-2026-11750.json"