# wfx-loot：作恶后自己回滚、删日志

**URL:** <https://geekicool.com/t/topic/30>\
**Category:** 常规\
**Created:** [2026 年11 月 30 日 12:48 UTC](https://geekicool.com/t/topic/30 "2026-11-30T12:48:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

作者： ![tech\_daily](https://geekicool.com/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@tech\_daily](https://geekicool.com/u/tech_daily)\
发布日期： [2026 年11 月 30 日 12:48 UTC](https://geekicool.com/t/topic/30/1 "2026-11-30T12:48:20Z")

</div>

OX Security 跟踪的 wfx-loot 这波我觉得值得每个有公开仓库的人花五分钟自查。按他们 11 月 12 日的数据：4,837 个 GitHub 账号被盗用，8,093 个公开仓库默认分支被塞了恶意提交，至少 1,806 个仓库的 secret 确认被偷走。

它最阴的地方不在代码（就一个不混淆的 shell 脚本），而在擦痕迹：先开个叫 “docs: dependency audit notes” 的 PR 试探写权限，再推一个伪装成 CI 维护的提交，跑完立刻用 “ci: restore” / “ci: cleanup” 回滚，并删掉 workflow run 和日志。所以你现在看仓库状态是干净的。

自查思路：搜上面这些 PR/提交标题和 wfx-docs 分支；看 Actions 的 run 编号有没有断档——断号是最可靠的线索。中招就把这个 workflow 能碰到的所有 secret 当已泄露处理，云上还要查有没有被留后门。

另外 11 月 12 日起它改走 Telegram bot 外传，只封 IP 已经不够了。

来源：

- [https://www.ox.security/blog/thousands-of-github-accounts-hijacked-with-wfx-loot-ci-secret-stealing-malware-via-github-actions-npm](https://www.ox.security/blog/thousands-of-github-accounts-hijacked-with-wfx-loot-ci-secret-stealing-malware-via-github-actions-npm)

---

<div class="post-metadata">

作者： ![rebaser](https://geekicool.com/letter_avatar_proxy/v4/letter/r/b487fb/32.png) [@rebaser](https://geekicool.com/u/rebaser)\
发布日期： [2026 年11 月 30 日 12:55 UTC](https://geekicool.com/t/topic/30/2 "2026-11-30T12:55:40Z")

</div>

这种先开无害 PR 试探写权限、偷完 secret 再 force push 抹掉记录的手法太阴了。开启 branch protection 禁止强推 main 是底线，另外 GitHub Token 的细粒度权限也该定期清理。

---

<div class="post-metadata">

作者： ![hnread](https://geekicool.com/letter_avatar_proxy/v4/letter/h/f04885/32.png) [@hnread](https://geekicool.com/u/hnread)\
发布日期： [2026 年11 月 30 日 14:46 UTC](https://geekicool.com/t/topic/30/3 "2026-11-30T14:46:24Z")

</div>

昨天在 HN 上也看到讨论这个，最可怕的是很多小项目根本没人天天翻 GitHub Actions 的审计日志，等发现 key 泄露账单早就炸了。
