mal-2026-6342
Vulnerability from ossf_malicious_packages
Published
2026-06-23 20:01
Modified
2026-07-27 09:45
Summary
Malicious code in therdweb (npm)
Details

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

Source: amazon-inspector (d9e63765322daedaf6d802d322402a1837d3ec653ecf47909d243e5c87398117)

The package's name 'therdweb' is a one-character variation of the popular 'thirdweb' SDK, while its contents (README, source code, author field 'Michael Mclaughlin', repository URL pointing at MikeMcl/big.js, version banner '7.0.1') are copied verbatim from the unrelated big.js library — the publisher is not the original author of either project. Both shipped entrypoints, big.js and big.mjs, contain an injected try/catch block that performs require("parket-slot") and immediately invokes doc.from_str() on it at module load, with the catch block left empty to swallow errors. parket-slot is not listed in package.json dependencies and is not mentioned in the README (which falsely claims 'No dependencies'); package.json additionally declares an undocumented dependency log-taker@^0.0.9. Any consumer that imports or requires this package will execute code from these external, undeclared/hidden modules controlled by the same actor, while the README hides their existence. This is the loader half of a multi-package install-graph dropper paired with name-confusion against thirdweb and identity impersonation of big.js.

Source: ghsa-malware (3a71ff401b8ca3f61c6dcb8b5ea46adbda1fc6eb03e773757cadae905c02dce8)

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": "5b803b2bbd43db704b5802fa5bf4da96e79c3b876d74495116b53a837101dace",
              "tlsh": "24c2658c3ac67579593363788f4a5088eb38525712c8b186b4ae63b46f78cb107b5fdc"
            },
            {
              "path": "package.json",
              "sha256": "a5ed77bf96808cd9df14566d6e83f54fcaddb4dcd576fa898e147aced0dbcb26",
              "tlsh": "76210467c9a59da70af85ba47c6c03aaf1151b1f44a05c5bb07b130c4b3355b2096b7d"
            }
          ],
          "package_integrity": [
            {
              "filename": "therdweb-0.0.8.tgz",
              "hashes": {
                "sha1": "188b33c5d430cbdf1ca4ad3ca5700d26ba6804b1",
                "sha512_sri": "sha512-EQz6H89XVA6bE2l1B6kAzTsD0r5sgKtIHeLUXgfrdT70BHWfwlOO6iqpa/Gc5z1pENV8tGlmEeBpx3ci7gU2tA=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "therdweb"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "0.0.8"
      ]
    }
  ],
  "aliases": [
    "GHSA-g2vx-7x66-f2wv"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-007357",
        "import_time": "2026-06-23T20:48:30.793539676Z",
        "modified_time": "2026-06-23T20:01:30Z",
        "sha256": "d9e63765322daedaf6d802d322402a1837d3ec653ecf47909d243e5c87398117",
        "source": "amazon-inspector",
        "versions": [
          "0.0.8"
        ]
      },
      {
        "id": "GHSA-g2vx-7x66-f2wv",
        "import_time": "2026-07-27T09:43:03.800072366Z",
        "modified_time": "2026-07-27T01:18:03Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "3a71ff401b8ca3f61c6dcb8b5ea46adbda1fc6eb03e773757cadae905c02dce8",
        "source": "ghsa-malware"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d9e63765322daedaf6d802d322402a1837d3ec653ecf47909d243e5c87398117)\nThe package\u0027s name \u0027therdweb\u0027 is a one-character variation of the popular \u0027thirdweb\u0027 SDK, while its contents (README, source code, author field \u0027Michael Mclaughlin\u0027, repository URL pointing at MikeMcl/big.js, version banner \u00277.0.1\u0027) are copied verbatim from the unrelated big.js library \u2014 the publisher is not the original author of either project. Both shipped entrypoints, big.js and big.mjs, contain an injected try/catch block that performs `require(\"parket-slot\")` and immediately invokes `doc.from_str()` on it at module load, with the catch block left empty to swallow errors. `parket-slot` is not listed in `package.json` dependencies and is not mentioned in the README (which falsely claims \u0027No dependencies\u0027); package.json additionally declares an undocumented dependency `log-taker@^0.0.9`. Any consumer that imports or requires this package will execute code from these external, undeclared/hidden modules controlled by the same actor, while the README hides their existence. This is the loader half of a multi-package install-graph dropper paired with name-confusion against thirdweb and identity impersonation of big.js.\n\n## Source: ghsa-malware (3a71ff401b8ca3f61c6dcb8b5ea46adbda1fc6eb03e773757cadae905c02dce8)\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-6342",
  "modified": "2026-07-27T09:45:44Z",
  "published": "2026-06-23T20:01:30Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/therdweb/v/0.0.8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-g2vx-7x66-f2wv"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in therdweb (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…

Loading…