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

目标: 1000 元 · 已筹: 1359 元

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

lightning

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

Summary

Malicious code in lightning (PyPI)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
—
下载量
—
数据源
暂无公开数据
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
PyPIlightning2.6.2
PyPIlightning2.6.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-08T19:21:16Z","published":"2026-04-30T16:53:41Z","schema_version":"1.7.4","id":"MAL-2026-3201","summary":"Malicious code in lightning (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (703ac419d775488be137d7e01517d768da0b5581ab63338fb9523f2289f2b92c)\nVersions 2.6.2, 2.6.3 were compromised.\n\n\nCompromised versions contain injected code that starts automatically during importing the module, downloads (legitimate) JavaScript runtime, and executes included JavaScript infostealer. It collects credentials from multiple sources (e.g. files, process memory, cloud metadata endpoints, CLI commands like gh or gcloud), sensitive cryptocurrency data, shell history files. It also attempts to spread itself using discovered credentials to other repositories and packages.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-04-compr-lightning\n\n\nReasons (based on the campaign):\n\n\n - infostealer\n\n\n - files-exfiltration\n\n\n - exfiltration-ssh-keys\n\n\n - exfiltration-crypto\n\n\n - exfiltration-credentials\n\n\n - compromised-package\n","affected":[{"package":{"ecosystem":"PyPI","name":"lightning"},"versions":["2.6.2","2.6.3"]}],"references":[{"type":"WEB","url":"https://github.com/Lightning-AI/pytorch-lightning/issues/21691"},{"type":"WEB","url":"https://www.aikido.dev/blog/pytorch-lightning-pypi-compromise-mini-shai-hulud"},{"type":"WEB","url":"https://socket.dev/blog/lightning-pypi-package-compromised"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/campaign/2026-04-compr-lightning"},{"type":"WEB","url":"https://github.com/Lightning-AI/pytorch-lightning/security/advisories/GHSA-w37p-236h-pfx3"}],"credits":[{"name":"Kamil Mańkowski (kam193)","type":"ANALYST","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]}],"database_specific":{"malicious-packages-origins":[{"source":"kam193","sha256":"703ac419d775488be137d7e01517d768da0b5581ab63338fb9523f2289f2b92c","import_time":"2026-04-30T17:01:25.03549765Z","id":"pypi/2026-04-compr-lightning/lightning","modified_time":"2026-04-30T16:53:41Z","versions":["2.6.2","2.6.3"]},{"source":"kam193","sha256":"21d1958db35f91cdd9e4daf8466ded080429f05ef2f989a858bef41af4d220b1","import_time":"2026-04-30T18:35:47.62757048Z","id":"pypi/2026-04-compr-lightning/lightning","modified_time":"2026-04-30T16:53:41Z","versions":["2.6.2","2.6.3"]},{"source":"kam193","sha256":"ed90aeeb51f0c9480d8f0590f5c035de65bd67722be97987087abbca61e5a21f","import_time":"2026-06-08T19:19:19.167899846Z","id":"pypi/2026-04-compr-lightning/lightning","modified_time":"2026-04-30T16:54:11Z","versions":["2.6.2","2.6.3"]}]}}

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