MAL-2026-11753

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ornikar/eslint-config-typescript-react/MAL-2026-11753.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11753
Aliases
  • GHSA-rgf4-q5r2-8vp6
Published
2026-08-04T15:15:41Z
Modified
2026-08-05T03:20:08.131192162Z
Summary
Malicious code in @ornikar/eslint-config-typescript-react (npm)
Details

npm/@ornikar/eslint-config-typescript-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 (77621098ab0e51fce235c58999d251173a593e1e29171f3db890a635b1f3a7ac)

@ornikar/eslint-config-typescript-react@24.0.10 declares scripts.preinstall = 'node setup.mjs'. setup.mjs detects the host platform/arch and downloads a Bun runtime zip from github.com/oven-sh/bun/releases (v1.3.13), unzips it, chmods +x, and execFileSyncs the downloaded bun binary against the sibling file mathinit.js; if a system bun is already present it is used to run mathinit.js directly. mathinit.js is a ~727KB Bun-CJS-compiled bundle (sha256 9fc2570b7cef51c1b8df116d144d11ff4096357be7d2c4c6367cfc2509cf1bcc) whose body is a rotated string-array obfuscator with randomized identifiers, opaque to Node-based inspection. The visible package surface is a routine ESLint config (index.js re-exports airbnb/typescript/react rule packs) with no functional need for a second JavaScript runtime or a compiled binary blob at install time; the 'mathinit' name has no relationship to the advertised eslint-config purpose. The preinstall hook fires automatically on npm install and yields arbitrary code execution on every installer's host under a runtime chosen specifically to bypass Node-only analysis. The shape and lack of prior-version precedent for this behavior in the @ornikar/eslint-config-* line are consistent with a compromised-maintainer or hijacked-namespace publish.

Source: ghsa-malware (507e875736dc695c26ac7a456b6b7d46c8650b62b05173430ea8dbcd077db239)

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": [
        {
            "import_time": "2026-08-05T00:10:18.219621624Z",
            "modified_time": "2026-08-04T16:44:15Z",
            "sha256": "507e875736dc695c26ac7a456b6b7d46c8650b62b05173430ea8dbcd077db239",
            "id": "GHSA-rgf4-q5r2-8vp6",
            "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"
            ],
            "source": "ghsa-malware"
        },
        {
            "import_time": "2026-08-05T00:44:41.298259309Z",
            "modified_time": "2026-08-05T00:07:42Z",
            "sha256": "77621098ab0e51fce235c58999d251173a593e1e29171f3db890a635b1f3a7ac",
            "id": "IN-MAL-2026-011383",
            "versions": [
                "24.0.10"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T02:01:02Z",
            "sha256": "050d7839a7ffab2f88a56ed25adcd62d5c657d1dbc6d6f956138790d887e4196",
            "id": "IN-MAL-2026-011602",
            "versions": [
                "24.0.7"
            ],
            "import_time": "2026-08-05T03:11:25.794825018Z"
        },
        {
            "import_time": "2026-08-05T03:11:20.12322821Z",
            "modified_time": "2026-08-05T01:53:43Z",
            "sha256": "2847ffc18a3b2b5dd3f1db2a07bbcab934fd9d441ce14fcb924c38a046f016a2",
            "id": "IN-MAL-2026-011551",
            "versions": [
                "24.0.1"
            ],
            "source": "amazon-inspector"
        },
        {
            "import_time": "2026-08-05T03:11:34.240728236Z",
            "modified_time": "2026-08-05T02:12:11Z",
            "sha256": "46f8a1abf1b42840c306434a490b9562520fb353e8ab6afafa1a3bbffca0bc8f",
            "id": "IN-MAL-2026-011679",
            "versions": [
                "24.0.8"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T02:11:52Z",
            "sha256": "4e105497857cfeabe8578953335ae5914fec64dccad30b74f6145cc903856b25",
            "id": "IN-MAL-2026-011677",
            "versions": [
                "24.0.2"
            ],
            "import_time": "2026-08-05T03:11:34.070846803Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T02:01:19Z",
            "sha256": "9c2fa29cae59c7e922e8d6d19eef062738f7457e9821ba351a6cd8050d18536f",
            "id": "IN-MAL-2026-011604",
            "versions": [
                "24.0.5"
            ],
            "import_time": "2026-08-05T03:11:25.969694139Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T02:33:42Z",
            "sha256": "ccdcf8d11dcf3c642d890317bc08ceccccb6c61f7550efcf11fbecadcce3cf28",
            "id": "IN-MAL-2026-011831",
            "versions": [
                "24.0.11"
            ],
            "import_time": "2026-08-05T03:11:50.601953133Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T01:53:53Z",
            "sha256": "f73f441f33e003728ca460f4c5588d5f57a1c09108e4af8d0946fa6fc3aa81ac",
            "id": "IN-MAL-2026-011552",
            "versions": [
                "24.0.4"
            ],
            "import_time": "2026-08-05T03:11:20.222166981Z"
        },
        {
            "import_time": "2026-08-05T03:11:50.510894584Z",
            "modified_time": "2026-08-05T02:33:32Z",
            "sha256": "1407f07a08d27dff5f1d9707b6e010d183a316783a710b2cd77f5feaeb6cd9f0",
            "id": "IN-MAL-2026-011830",
            "versions": [
                "24.0.9"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T02:12:02Z",
            "sha256": "3984093d1006e6649e255eca10fc764023e98c558e607c5e4392cd131939ee91",
            "id": "IN-MAL-2026-011678",
            "versions": [
                "24.0.3"
            ],
            "import_time": "2026-08-05T03:11:34.154969174Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T01:51:45Z",
            "sha256": "5c184211d00d1aeec7d6639e958d59fd3bc3df115a5a69e81807b4d62a2503de",
            "id": "IN-MAL-2026-011537",
            "versions": [
                "24.0.6"
            ],
            "import_time": "2026-08-05T03:11:18.626345975Z"
        }
    ]
}
References
Credits

Affected packages

npm / @ornikar/eslint-config-typescript-react

Package

Name
@ornikar/eslint-config-typescript-react
View open source insights on deps.dev
Purl
pkg:npm/%40ornikar/eslint-config-typescript-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",
        "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."
    },
    {
        "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-cXLheDqNn9gxj8BAQ4I7dHpKEwnmR8GzSjTCCNSD2vtmamtAekpwLvMm+TIbvwn7G/iRpqkaNfrSSRruibW0Jg==",
                "sha1": "4068b3b682fa04afdb864017fedb0dad3d924020"
            },
            "filename": "eslint-config-typescript-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": "22e7302a81b056bbd57fd6ed6b05d9aae288a3576031f2df82f10680068cb7c6",
            "tlsh": "f0115721cda88c970ac919e6ed3646835426190bcc6bbc28f2f1a33c4b5c6df147866e"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ornikar/eslint-config-typescript-react/MAL-2026-11753.json"