MAL-2025-41440 (GHSA-CXM3-WV7P-598C)

Vulnerability from ossf_malicious_packages – Published: 2025-08-27 23:12 – Updated: 2026-05-26 16:40 – Source website
Withdrawn 2026-05-26 Malicious package
Summary
Malicious code in @nx/key (npm)
Affected package
Ecosystem Package Versions
npm @nx/key
3.2.05.0.7
Details
Amazon Inspector IN-MAL-2026-004217 Reported 2026-05-22 14:35

The package @nx/key@5.0.7 is published under the @nx scope and ships a heavily obfuscated JavaScript file (native.js) using hex-mangled identifiers (_0x1bbf0b...) at the tarball root. The @nx scope was the target of a known supply-chain compromise in which malicious versions were published with obfuscated payloads that harvest credentials and developer secrets from the installer environment. A legitimate @nx package would not ship an obfuscated native.js with this fingerprint. The combination of (a) publication under a high-value compromised scope and (b) shipping an obfuscated JS payload as a top-level file matches the structural fingerprint of that compromise.

google-open-source-security Reported 2025-08-27 23:12

The nx project and associated plugins were compromised via a vulnerable GitHub workflow that allowed code injection and the theft of an NPM token.

Amazon Inspector IN-MAL-2026-004218 Reported 2026-05-22 14:35

No description from this source.

Indicators
Type Indicator Hashes
Evidence file native.js
sha256 1be4a6353e6d057972a891bf9e8ddbe07c8e0702db16d416e298a9bdb9792e50
tlsh 4dd1dfd2b3e6f4ec47990be076a915c5fca7e6d8078e6484c1246bd239d4c88d899cf3
Package archive key-5.0.7.tgz
sha1 88e5e1d0930e73af580b9f915045fc9db918e61e
sha512_sri sha512-ce3cJe5txdjEzEZm+h3EJj+GcF7GTRGOOD9bv2s+wPHbyTLYrGitL6jpxT6S9DzFt3h/r3943+IsJEAeSjwtPQ==
CWE
  • CWE-506 - Embedded Malicious Code
Credits
Amazon Inspector actran@amazon.com

{
  "affected": [
    {
      "database_specific": {
        "cwes": [
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "domains": [
            "34.7.16.104.in-addr.arpa",
            "34.9.16.104.in-addr.arpa"
          ],
          "evidence_files": [
            {
              "path": "native.js",
              "sha256": "1be4a6353e6d057972a891bf9e8ddbe07c8e0702db16d416e298a9bdb9792e50",
              "tlsh": "4dd1dfd2b3e6f4ec47990be076a915c5fca7e6d8078e6484c1246bd239d4c88d899cf3"
            }
          ],
          "package_integrity": [
            {
              "filename": "key-5.0.7.tgz",
              "hashes": {
                "sha1": "88e5e1d0930e73af580b9f915045fc9db918e61e",
                "sha512_sri": "sha512-ce3cJe5txdjEzEZm+h3EJj+GcF7GTRGOOD9bv2s+wPHbyTLYrGitL6jpxT6S9DzFt3h/r3943+IsJEAeSjwtPQ=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "@nx/key"
      },
      "versions": [
        "3.2.0",
        "5.0.7"
      ]
    }
  ],
  "aliases": [
    "GHSA-cxm3-wv7p-598c"
  ],
  "credits": [
    {
      "contact": [
        "actran@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "import_time": "2025-08-27T23:15:00.59246Z",
        "modified_time": "2025-08-27T23:12:13Z",
        "sha256": "7220ef086ed781ccf2803780e7c7b8090520dc60d05fafb71c0cc5cee048c95a",
        "source": "google-open-source-security",
        "versions": [
          "3.2.0"
        ]
      },
      {
        "id": "IN-MAL-2026-004218",
        "import_time": "2026-05-26T05:52:10.604932951Z",
        "modified_time": "2026-05-22T14:35:56Z",
        "sha256": "c421984cf1d0960945647cd3aa60b98e4196a0f52fae3e0b2300371cbeaa88e4",
        "source": "amazon-inspector",
        "versions": [
          "5.0.7"
        ]
      },
      {
        "id": "IN-MAL-2026-004217",
        "import_time": "2026-05-26T05:52:10.468407174Z",
        "modified_time": "2026-05-22T14:35:29Z",
        "sha256": "4a77d672a4263588b96bbf3fbf8ddbd4e1e7b6ee0bccd619a447bf9e301883b3",
        "source": "amazon-inspector",
        "versions": [
          "5.0.7"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4a77d672a4263588b96bbf3fbf8ddbd4e1e7b6ee0bccd619a447bf9e301883b3)\nThe package @nx/key@5.0.7 is published under the @nx scope and ships a heavily obfuscated JavaScript file (native.js) using hex-mangled identifiers (_0x1bbf0b...) at the tarball root. The @nx scope was the target of a known supply-chain compromise in which malicious versions were published with obfuscated payloads that harvest credentials and developer secrets from the installer environment. A legitimate @nx package would not ship an obfuscated native.js with this fingerprint. The combination of (a) publication under a high-value compromised scope and (b) shipping an obfuscated JS payload as a top-level file matches the structural fingerprint of that compromise.\n\n## Source: google-open-source-security (7220ef086ed781ccf2803780e7c7b8090520dc60d05fafb71c0cc5cee048c95a)\nThe nx project and associated plugins were compromised via a vulnerable\nGitHub workflow that allowed code injection and the theft of an NPM token.\n",
  "id": "MAL-2025-41440",
  "modified": "2026-05-26T16:40:12Z",
  "published": "2025-08-27T23:12:13Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/nrwl/nx/issues/32522"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@nx/key/v/5.0.7"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in @nx/key (npm)",
  "withdrawn": "2026-05-26T16:40:12Z"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.