---
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"
---

# 📱 VSCode 漏洞可被用于窃取 📱 GitHub Token

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

[返回新闻流](https://www.zaihua.news/)
2026年6月3日 · 14:32 · [在花新闻](https://www.zaihua.news/about/)

# VSCode 漏洞可被用于窃取 GitHub Token

安全研究者披露，攻击者可能通过诱导用户点击 [github.dev](https://www.zaihua.news/article/41731/#) 链接，利用 VSCode Webview 的键盘事件处理问题安装扩展，从而读取 GitHub API Token，并访问用户有权限的仓库，包括私有仓库。

该问题也存在于桌面版 VSCode，但利用门槛更高。研究者建议清除 [github.dev](https://www.zaihua.news/article/41731/#) 的站点数据；如果已运行 PoC，还应卸载相关测试扩展。

[Ammar's Blog](https://blog.ammaraskar.com/github-token-stealing/)

🌸 [在花频道](http://t.me/ZaiHuaPd) · [备用频道](https://t.me/zaihuatg) · [投稿通道](http://t.me/ZaiHuabot)

https://cdn.zaihua.news/main/41731/AQADXBJrG9jdAAFVfg.jpg

[上一条 OpenAI 社区出现 ChatGPT 订阅和账号滥用报告](https://www.zaihua.news/article/41730/)[下一条 特斯拉 2026.20 更新加入行车记录仪加密](https://www.zaihua.news/article/41732/)
