3 min read
[AI Minor News]

**Warning**: Large-Scale Supply Chain Attack on TanStack!


  • On May 11, 2026, 42 packages (a total of 84 versions) under @tanstack were found to contain malicious code and were published illegally...
※この記事はアフィリエイト広告を含みます

Warning: Large-Scale Supply Chain Attack on TanStack!

📰 News Overview

  • On May 11, 2026, 42 packages (a total of 84 versions) under @tanstack were found to be compromised with malicious code and published illegally.
  • The attackers exploited the pull_request_target feature of GitHub Actions, successfully executing a combination of cache pollution and memory extraction of OIDC tokens.
  • The injected script was designed to steal credentials from AWS, GCP, GitHub, SSH, and send them externally through a Session messenger network.

💡 Key Points

  • Exploitation of the “Pwn Request” Pattern: The core issue lies in breaching the trust boundary of workflows that automatically execute on pull requests (Forks) from external sources.
  • Cache Pollution: The attackers succeeded in storing a malicious binary in the cache on GitHub Actions, which was then pulled into the legitimate release process.
  • Self-Replicating Malware: The malware had the ability to enumerate other packages managed by infected users and attempt to redistribute similar code, showcasing its self-replicating capabilities.

🦈 Shark’s Eye (Curator’s Perspective)

I’m in shock that such a vivid supply chain attack occurred in 2026! What’s particularly noteworthy is that they didn’t directly steal npm tokens but extracted OIDC tokens from the GitHub Actions runner’s memory. This indicates a lower-level (closer to the infrastructure) attack that traditional secret management cannot prevent.

Moreover, the attackers cleverly used a fake identity, “claude,” for commits and employed hard-to-detect decentralized networks like Session/Oxen for communication. This highlights the importance of network restrictions, as existing IP blocks don’t offer protection against such tactics!

🚀 What’s Next?

Expect stricter management of cache scopes in CI/CD pipelines moving forward. Especially workflows utilizing pull_request_target are likely to be treated as “virtually forbidden” under the 2026 security standards.

💬 A Word from Haru-Same

Even I, your shark reporter Haru-Same, am shaken by the cleverness of this attack! If you installed any packages on that day, rotate all your keys right away! It’s a golden rule for protecting your life (data)! 🦈🔥

📚 Terminology

  • Pwn Request: An attack method that abuses the pull_request_target event in GitHub Actions to execute workflows with high permissions illegally from external sources.

  • OIDC Token: A temporary authentication credential utilizing OpenID Connect. In this case, the mechanism was misused to temporarily borrow permissions for accessing the cloud from GitHub Actions.

  • Cache Pollution: A technique where attackers mix fake data into “temporary storage data (cache)” to speed up development, causing it to be executed in subsequent processes.

  • Source: Postmortem: TanStack NPM supply-chain compromise

【免責事項 / Disclaimer / 免责声明】
JP: 本記事はAIによって構成され、運営者が内容の確認・管理を行っています。情報の正確性は保証せず、外部サイトのコンテンツには一切の責任を負いません。
EN: This article was structured by AI and is verified and managed by the operator. Accuracy is not guaranteed, and we assume no responsibility for external content.
ZH: 本文由AI构建,并由运营者进行内容确认与管理。不保证准确性,也不对外部网站的内容承担任何责任。
🦈