---
agent:
  instructions: "Search published articles with space-separated keywords. All terms must occur in the article text. Results are Markdown excerpts with canonical links, newest first."
  endpoint: "https://www.zaihua.news/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://www.zaihua.news/docs/api/#agent-search"
---

# PyPI 包 lightning 遭供应链攻击，窃取开发者凭证并毒化仓库

Source: https://www.zaihua.news/article/41171/

[返回新闻流](https://www.zaihua.news/)
2026年5月2日 · 08:36 · [在花新闻](https://www.zaihua.news/about/)

# PyPI 包 lightning 遭供应链攻击，窃取开发者凭证并毒化仓库

Socket 报告，深度学习 PyPI 包 lightning 的 2.6.2 与 2.6.3 版本被植入恶意代码，导入即自动下载执行混淆 JavaScript 载荷，窃取 GitHub token、云凭证和环境变量。偷得的权限被用于向仓库注入伪装提交并毒化本地 npm 包，模式类似 Shai-Hulud 蠕虫。维护账户 pl-ghost 疑似被控，关闭安全预警 Issue 并尝试横向移动。建议立即移除恶意版本，降级至 2.6.1，并轮换受影响的全部密钥。

[Socket](https://socket.dev/blog/lightning-pypi-package-compromised)

🌸 [在花频道](http://t.me/ZaiHuaPd) · [茶馆讨论](https://t.me/zaihuaSpace) · [投稿通道](http://t.me/ZaiHuabot)

[上一条 小红书启动新一轮组织升级并设 AI 一级部门 Dots](https://www.zaihua.news/article/41170/)[下一条美国军方与七家科技公司达成 AI 机密系统使用协议](https://www.zaihua.news/article/41172/)
