mal-2026-6545
Vulnerability from ossf_malicious_packages
Published
2026-06-27 03:48
Modified
2026-06-29 03:27
Summary
Malicious code in crossmint-wallets-sdk (npm)
Details

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

Source: amazon-inspector (dd4caebfba35b43bf10f156fe687f455e95b09a514b8644fe1a900b63f1bf78a)

Package name impersonates the Crossmint wallet SDK family. Both preinstall.js and index.js import child_process, capture host identifiers (hostname is read on line 7/9 respectively), and POST the collected data via https.request to a hardcoded external endpoint (line 12/23). The preinstall.js path fires automatically on npm install before any user code runs, giving the publisher install-time data exfiltration from any developer or build system that installs this package. The combination of child_process + hostname collection + outbound POST in a preinstall lifecycle script, in a package whose name typosquats a known wallet SDK, matches the active-attack credential/reconnaissance exfiltration fingerprint.

Source: ghsa-malware (87671437bf61440c69244dbb16af87b5f0df48e46b990bf4814be4fdb2001b03)

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": "index.js",
              "sha256": "55699d641b134440aa4eb710479a0d43d32eb8fb9d01ab98480871cb57568867",
              "tlsh": "092176e0176b5b7851d7a3d0e91d512275b3f10a6d0320f06dd0aa9b1b9ad303553cf4"
            },
            {
              "path": "preinstall.js",
              "sha256": "ed5a8787829d0ba130c744aed9bcb03b6d8b7b183ff71891e60038129756c656",
              "tlsh": "b71194f877a9a67502b563e0e4295123b4b3f218200360e0c8e595979b93e702113cf8"
            }
          ],
          "package_integrity": [
            {
              "filename": "crossmint-wallets-sdk-1.0.0.tgz",
              "hashes": {
                "sha1": "450b4c9ef18e5ed0f610c845d004e3448b8506b5",
                "sha512_sri": "sha512-GtgMzc+DkLXPU5M5+pmERNWjP2aTT63smafgfmSRWyk+Y0b3a66OX9+4/lRs3bl0L2dYhI2AVI1Ts8EHIrO6ew=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "crossmint-wallets-sdk"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "1.0.0"
      ]
    }
  ],
  "aliases": [
    "GHSA-7rfm-v32j-2583"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-007676",
        "import_time": "2026-06-27T04:49:23.353128949Z",
        "modified_time": "2026-06-27T03:48:13Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "dd4caebfba35b43bf10f156fe687f455e95b09a514b8644fe1a900b63f1bf78a",
        "source": "amazon-inspector",
        "versions": [
          "1.0.0"
        ]
      },
      {
        "id": "GHSA-7rfm-v32j-2583",
        "import_time": "2026-06-29T03:26:14.374551197Z",
        "modified_time": "2026-06-29T02:21:20Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "87671437bf61440c69244dbb16af87b5f0df48e46b990bf4814be4fdb2001b03",
        "source": "ghsa-malware"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (dd4caebfba35b43bf10f156fe687f455e95b09a514b8644fe1a900b63f1bf78a)\nPackage name impersonates the Crossmint wallet SDK family. Both preinstall.js and index.js import child_process, capture host identifiers (hostname is read on line 7/9 respectively), and POST the collected data via https.request to a hardcoded external endpoint (line 12/23). The preinstall.js path fires automatically on `npm install` before any user code runs, giving the publisher install-time data exfiltration from any developer or build system that installs this package. The combination of child_process + hostname collection + outbound POST in a preinstall lifecycle script, in a package whose name typosquats a known wallet SDK, matches the active-attack credential/reconnaissance exfiltration fingerprint.\n\n## Source: ghsa-malware (87671437bf61440c69244dbb16af87b5f0df48e46b990bf4814be4fdb2001b03)\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-6545",
  "modified": "2026-06-29T03:27:52Z",
  "published": "2026-06-27T03:48:13Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/crossmint-wallets-sdk/v/1.0.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-7rfm-v32j-2583"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in crossmint-wallets-sdk (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…