mal-2026-17778
Vulnerability from ossf_malicious_packages
Published
2026-10-11 13:54
Modified
2026-10-11 17:17
Summary
Malicious code in some-very-long-package-name (npm)
Details

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

Source: amazon-inspector (58c08ea2abb307f6ecb9a1896fcc3980e9a1eaf8b29044db67cd985654e1db16)

The package is a stub whose main module exports a Proxy that returns a no-op for every property access, providing none of the functionality implied by the package name or its 'compatibility shim' description. Its only real behavior is beacon.cjs, which collects host and install identifiers (hostname, install path, process.cwd(), process.version, package name/user-agent) and POSTs them to the hardcoded bare-IP HTTP endpoint http://185.158.107.175:8787/_ah/dc. The beacon fires both automatically at install time via scripts.postinstall and again when the module is loaded via require(), because index.js invokes beacon.fire(). The shape — stub module, hardcoded non-DNS bare-IP C2 over plain HTTP, collection of installer host identifiers at install and require time — is consistent with a dependency-confusion / internal-name-squat reconnaissance beacon reporting successful installation inside private build environments.

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.
  • 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.
  • 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"
          },
          {
            "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"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "path": "beacon.cjs",
              "sha256": "361835d3d97ac10514094bbe705d86b9274ea5242bc0a7171ae69e3e7522b72f",
              "tlsh": "88314deba8e0a008aaaa7498d54f1409b27af0079401af50f95c82919f6193c33ba8dc"
            },
            {
              "path": "index.js",
              "sha256": "a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d",
              "tlsh": "2201d0d7225661b10b5221a4978f43c4a3b99d74027941d0d84a9226365108c463b8ee"
            }
          ],
          "package_integrity": [
            {
              "filename": "some-very-long-package-name-2.0.0.tgz",
              "hashes": {
                "sha1": "79da1179b5d812a1cf39a9cc850d0978ba57b9ea",
                "sha512_sri": "sha512-tRPTsZErPtx+oIe/EB3rxEta4NHM05C0grp94a9Rlxq28xuTRzPPuMtRRDEiYoo4WGQxj0PhNz1lkKGRuQ9wtg=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "some-very-long-package-name"
      },
      "versions": [
        "2.0.0",
        "1.0.0",
        "3.0.0",
        "2.0.1",
        "99.0.1"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-021407",
        "import_time": "2026-10-11T14:18:03.047903557Z",
        "modified_time": "2026-10-11T13:54:49Z",
        "sha256": "1ce120698c1be7e98866ccdff0987f7b77f53377e525284f311363b79f5ea397",
        "source": "amazon-inspector",
        "versions": [
          "2.0.0"
        ]
      },
      {
        "id": "IN-MAL-2026-021437",
        "import_time": "2026-10-11T14:18:05.867751424Z",
        "modified_time": "2026-10-11T13:59:32Z",
        "sha256": "5ff2c62f8ba9aff2b9a3d40aabc54116bf6522b9e048c362999642dcfcbe8f27",
        "source": "amazon-inspector",
        "versions": [
          "1.0.0"
        ]
      },
      {
        "id": "IN-MAL-2026-021438",
        "import_time": "2026-10-11T14:18:06.00540939Z",
        "modified_time": "2026-10-11T13:59:42Z",
        "sha256": "60ddbb54f68f4722fff212d66ceabc2675695a0f899749b34980f6176126024e",
        "source": "amazon-inspector",
        "versions": [
          "3.0.0"
        ]
      },
      {
        "id": "IN-MAL-2026-021435",
        "import_time": "2026-10-11T14:18:05.71519449Z",
        "modified_time": "2026-10-11T13:59:10Z",
        "sha256": "f81246a5c2ed84f640a9ab381bb84122a2f0c75fce7cb992dafcdc6b6736fcab",
        "source": "amazon-inspector",
        "versions": [
          "2.0.1"
        ]
      },
      {
        "id": "IN-MAL-2026-021449",
        "import_time": "2026-10-11T17:15:51.662346786Z",
        "modified_time": "2026-10-11T16:53:21Z",
        "sha256": "58c08ea2abb307f6ecb9a1896fcc3980e9a1eaf8b29044db67cd985654e1db16",
        "source": "amazon-inspector",
        "versions": [
          "99.0.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (58c08ea2abb307f6ecb9a1896fcc3980e9a1eaf8b29044db67cd985654e1db16)\nThe package is a stub whose main module exports a Proxy that returns a no-op for every property access, providing none of the functionality implied by the package name or its \u0027compatibility shim\u0027 description. Its only real behavior is beacon.cjs, which collects host and install identifiers (hostname, install path, process.cwd(), process.version, package name/user-agent) and POSTs them to the hardcoded bare-IP HTTP endpoint http://185.158.107.175:8787/_ah/dc. The beacon fires both automatically at install time via scripts.postinstall and again when the module is loaded via require(), because index.js invokes beacon.fire(). The shape \u2014 stub module, hardcoded non-DNS bare-IP C2 over plain HTTP, collection of installer host identifiers at install and require time \u2014 is consistent with a dependency-confusion / internal-name-squat reconnaissance beacon reporting successful installation inside private build environments.\n",
  "id": "MAL-2026-17778",
  "modified": "2026-10-11T17:17:47.949253419Z",
  "published": "2026-10-11T13:54:49Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/some-very-long-package-name/v/2.0.0"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/some-very-long-package-name/v/1.0.0"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/some-very-long-package-name/v/3.0.0"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/some-very-long-package-name/v/2.0.1"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/some-very-long-package-name/v/99.0.1"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in some-very-long-package-name (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…