MAL-2026-16208

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/otel-span-adapter/MAL-2026-16208.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-16208
Published
2026-09-16T06:28:57Z
Modified
2026-09-16T07:00:07Z
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.

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"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / otel-span-adapter

Package

Name
otel-span-adapter
View open source insights on deps.dev
Purl
pkg:npm/otel-span-adapter

Affected ranges

Affected versions

1.*
1.0.3
1.0.4

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=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/otel-span-adapter/MAL-2026-16208.json"