MAL-2026-16208Malicious code in otel-span-adapter (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
1.0.3 | unavailable | — | — | — |
1.0.4 | archived | — | — | VIP 下载 |
| Ecosystem | Package | Version |
|---|---|---|
| npm | otel-span-adapter | 1.0.3 |
| npm | otel-span-adapter | 1.0.4 |
{"schema_version":"1.7.4","id":"MAL-2026-16208","published":"2026-09-16T06:28:57Z","modified":"2026-09-16T06:58:00.388008604Z","summary":"Malicious code in otel-span-adapter (npm)","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 — 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.\n","affected":[{"package":{"name":"otel-span-adapter","ecosystem":"npm"},"versions":["1.0.4","1.0.3"],"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=="}}]}}}],"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"}],"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"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0