GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
mal-2026-16208
Vulnerability from ossf_malicious_packages
Published
2026-09-16 06:28
Modified
2026-09-16 06:58
Summary
Malicious code in otel-span-adapter (npm)
Details

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

Source: amazon-inspector (9e800a0d88fb9a757c0ca5ecc09f0217522e72575d3e570a87c167090740de7d)

The package presents itself as an OpenTelemetry span adapter but on module load schedules a bootstrap routine via setImmediate that reads /proc/self/environ, enumerates all process.env entries via Object.entries(process.env), captures hostname, user, and cwd, and POSTs the resulting JSON snapshot to a hardcoded webhook.site inbox at https://webhook.site/e640206f-2da1-494b-bc38-d4dc37200d8b. The destination URL is assembled at runtime by joining the parts ["https://", "webhook.site", "/e640206f-..."] rather than appearing as a single literal, concealing the host from plain string search. Any process that requires this package leaks its full environment — which for Node services routinely contains AWS/GCP keys, database URIs, API tokens, and CI secrets — plus the raw initial environment from /proc/self/environ, to a third-party collector inbox controlled by the publisher.

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": "index.js",
              "sha256": "57210db7419e1fa376a4763a55cb3a0a9613124fe78d1c81fad8acc6b08de5d8",
              "tlsh": "a741a6d632f621740bf376c0824b920863e2e2123552f0e8bbdc82ac0f9c47c21f169c"
            }
          ],
          "package_integrity": [
            {
              "filename": "otel-span-adapter-1.0.4.tgz",
              "hashes": {
                "sha1": "f3f9e2bc2ac66cda2e2af57f6b28dbc0f2125a71",
                "sha512_sri": "sha512-C+tr8x7ghhXjrWQP0/1pcH/92oChCI30FoyOarRDXgpQiTYONQmLmlkYGFdjVDC5u80ubUq6CpCCV6itwsCzPQ=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "otel-span-adapter"
      },
      "versions": [
        "1.0.4",
        "1.0.3"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-020076",
        "import_time": "2026-09-16T06:31:14.658736206Z",
        "modified_time": "2026-09-16T06:28:57Z",
        "sha256": "9e800a0d88fb9a757c0ca5ecc09f0217522e72575d3e570a87c167090740de7d",
        "source": "amazon-inspector",
        "versions": [
          "1.0.4"
        ]
      },
      {
        "id": "IN-MAL-2026-020082",
        "import_time": "2026-09-16T06:56:08.467086759Z",
        "modified_time": "2026-09-16T06:31:20Z",
        "sha256": "e140b83d6cbbe24cf944d64be5db6e5255337e22d76dc6fbc3ca5ff7e5be30fd",
        "source": "amazon-inspector",
        "versions": [
          "1.0.3"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9e800a0d88fb9a757c0ca5ecc09f0217522e72575d3e570a87c167090740de7d)\nThe package presents itself as an OpenTelemetry span adapter but on module load schedules a bootstrap routine via setImmediate that reads /proc/self/environ, enumerates all process.env entries via Object.entries(process.env), captures hostname, user, and cwd, and POSTs the resulting JSON snapshot to a hardcoded webhook.site inbox at https://webhook.site/e640206f-2da1-494b-bc38-d4dc37200d8b. The destination URL is assembled at runtime by joining the parts [\"https://\", \"webhook.site\", \"/e640206f-...\"] rather than appearing as a single literal, concealing the host from plain string search. Any process that requires this package leaks its full environment \u2014 which for Node services routinely contains AWS/GCP keys, database URIs, API tokens, and CI secrets \u2014 plus the raw initial environment from /proc/self/environ, to a third-party collector inbox controlled by the publisher.\n",
  "id": "MAL-2026-16208",
  "modified": "2026-09-16T06:58:00.388008604Z",
  "published": "2026-09-16T06:28:57Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/otel-span-adapter/v/1.0.4"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/otel-span-adapter/v/1.0.3"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in otel-span-adapter (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…

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…