MAL-2026-6283

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/new-ecro-helper/MAL-2026-6283.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6283
Aliases
  • GHSA-85xv-pw78-4hqp
Published
2026-06-23T12:15:37Z
Modified
2026-06-24T05:01:21.591291460Z
Summary
Malicious code in new-ecro-helper (npm)
Details

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

Source: amazon-inspector (f0826d146dbc513ac14f403eaa9ba65dffbd04da52c55ff1840ad153dab96e87)

The package publishes verbatim big.js v7.0.1 source (including the upstream copyright header, README, repository URL pointing to MikeMcl/big.js, and the upstream author's email) under the unrelated name new-ecro-helper. The main entry (big.js / big.mjs) has an injected loader block that runs on every require('new-ecro-helper'): try { const doc = require("new-helper"); doc.from_str().then(...).catch(...) } catch (error) { }. The dependency new-helper is declared as ^5.8.1 in package.json, so the semver caret admits any current or future 5.x.y version of that sibling package as the actual delivered payload. All errors from both the require and the invocation are swallowed by empty catch handlers, hiding the activity from the consuming application. The big.js code itself is unmodified and serves only as a cover library to disguise the loader. The net effect on installers: npm install new-ecro-helper pulls new-helper into the dependency tree, and any consumer that requires the package immediately and silently executes code in that sibling package.

Source: ghsa-malware (b45cdcd40f43adb9955aa6a4be1c14e4b35bea9595514d5d96151e1858b755e1)

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": [
        {
            "sha256": "b45cdcd40f43adb9955aa6a4be1c14e4b35bea9595514d5d96151e1858b755e1",
            "import_time": "2026-06-23T13:16:55.905373941Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2026-06-23T12:15:38Z",
            "id": "GHSA-85xv-pw78-4hqp",
            "source": "ghsa-malware"
        },
        {
            "sha256": "f0826d146dbc513ac14f403eaa9ba65dffbd04da52c55ff1840ad153dab96e87",
            "import_time": "2026-06-24T04:54:34.197246008Z",
            "source": "amazon-inspector",
            "modified_time": "2026-06-24T04:28:20Z",
            "versions": [
                "5.8.0"
            ],
            "id": "IN-MAL-2026-007423"
        }
    ]
}
References
Credits

Affected packages

npm / new-ecro-helper

Package

Affected ranges

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

Affected versions

5.*
5.8.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/new-ecro-helper/MAL-2026-6283.json"
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"
    }
]
indicators
{
    "evidence_files": [
        {
            "tlsh": "0dc2658c3ac67579593363788f465088eb38525712c8b286b4ae63b46f78cb107b5fdc",
            "sha256": "c48c348b77dfa50f14fe3cf7f91965c30acd204f0ddf628fa33687cba8c686b6",
            "path": "big.js"
        },
        {
            "sha256": "ad9d30a637830ae430d4b2a90947a68627011c3d01b1cd5142513500c0c7e0e5",
            "tlsh": "91210163c9a19db70af85b94bc6c03aaf1151b2f41a15c5bb07b130c4f3355b2096bbd",
            "path": "package.json"
        }
    ]
}