目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%
← 返回恶意软件包
npm active

babel-polyfill-plugin-corejs2

MAL-2026-14426
2026-08-24 16:45:38
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in babel-polyfill-plugin-corejs2 (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmbabel-polyfill-plugin-corejs21.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-24T16:45:38Z","published":"2026-08-24T16:45:38Z","schema_version":"1.7.4","id":"MAL-2026-14426","summary":"Malicious code in babel-polyfill-plugin-corejs2 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (13878d994b01607c379e26646449b7cca95099f9b2eb5be2e1f8e19aeea32eb3)\nThe package advertises itself as a Babel core-js 2 polyfill plugin, but the shipped lib/index.js contains unrelated web3-core-subscriptions boilerplate followed by a Function() invocation whose body is ~110KB of obfuscated JavaScript (random identifiers, numeric offset arrays, TEA-like mixing routine, unicode-escape string literals). The Function() call executes whenever a consumer require()s the package, running the opaque payload at import time. The declared purpose does not match the shipped code, and the obfuscation is confined to the appended payload rather than being a general minification artifact.\n","affected":[{"package":{"ecosystem":"npm","name":"babel-polyfill-plugin-corejs2"},"versions":["1.0.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"lib/index.js","sha256":"e128537a49012ee255e98827ece385ecabeb4827ba8ce8dc2eaca045102666dc","tlsh":"f3b3bac722fa961dcc92cea08df45e4d43a85422cfc510c4bf9b9d5ee6ae690e7e1344"},{"path":"package.json","sha256":"0a2baad786bbd1b0fd113b5900f912aaa621a10f127b16c67beb4c2424e9eeba","tlsh":"1c018920c4785eb316e923a9fc9845035270464b4c6dbc0837ac52ac8f5d5de98fc6ad"}],"package_integrity":[{"filename":"babel-polyfill-plugin-corejs2-1.0.1.tgz","hashes":{"sha1":"076c925c9d1cf6a577096db7b79ab1ef3879459c","sha512_sri":"sha512-mzX1+c9z0ZZLO4As7ARbnPLaXslwBKS3y90lV/SOAPKhaBpr1L38ZQzBxEZTQWmjVM7kmqpek4BBq4N1n15Mhw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/babel-polyfill-plugin-corejs2/v/1.0.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018647","import_time":"2026-08-24T16:49:14.751664125Z","modified_time":"2026-08-24T16:45:38Z","sha256":"13878d994b01607c379e26646449b7cca95099f9b2eb5be2e1f8e19aeea32eb3","source":"amazon-inspector","versions":["1.0.1"]}]}}

数据来源:OpenSSF Malicious Packages · Apache-2.0