GitHub が数か月にわたるサプライチェーン攻撃を受けて、npm と Actions を強化

継続中のトピック : Accès contrôlé aux modèles de pointe : habilitation, clés matérielles, juridictions· パート 8/10

セキュリティと信頼 Jul 28, 2026 at 20:579ブックマークに追加

GitHub が数か月にわたるサプライチェーン攻撃を受けて、npm と Actions を強化
イラスト : Léa Fontaine

GitHubは、npmおよびGitHub Actionsにおける防御策の詳細を公開:署名付きパブリッシュ、強化されたトークン、強化された隔離。これは2025-2026年の攻撃ラッシュに対する直接の反撃策だ。

簡単に言えば - GitHubは、数か月間にわたる注目すべきサプライチェーン攻撃を受けて、npmとGitHub Actionsに一連のセキュリティ強化を導入しています。署名付き公開、厳格化されたトークン、ワークフローの隔離強化。怠惰なパイプラインには厳しい変更ですが、それだけの価値はあります。

背景

npm + GitHub Actionsのチェーンは、JavaScriptのCI/CDの圧倒的なシェアを占めており、そのために保守者のトークン侵害などを通じた標的型攻撃の割合も増加しています。両プラットフォームの所有者であるGitHubは、2026年7月28日に「過去数か月で導入された変更」に関する振り返り記事を発表します。この動きは、より広範なアクセス強化の一環です(2026年9月2日から全てのコミッターに義務付けられる2FAもご参照ください - #1400)。

データ

公式ブログ(github.blog/security)によると、防御策は3つの柱で構成されています:

  • npm - 署名付き公開(証明書)、トークンの制限、トークンの迅速な無効化。
  • GitHub Actions - ワークフロー間の隔離強化、シークレット管理の厳格化。
  • すでに実環境で観測された攻撃手法に対する能動的な対策。

内部の仕組み

Attestations et provenance

Une attestation lie un artefact publié (paquet npm) à son processus de build - workflow, commit, environnement - de manière vérifiable côté consommateur. C'est la brique fondamentale du cadre SLSA (Supply-chain Levels for Software Artifacts) porté par la Linux Foundation.

具体的には、保守者は署名付きのGitHub Actionsワークフローから、検証可能な証明書付きでパッケージを公開できるようになりました。これにより、「リポジトリ外から署名されたパッケージをプッシュする」攻撃が防げます。パッケージと元のコミットのトレーサビリティが監査可能になります。

分析

3つの重要なシグナルがあります。まず、攻撃対象がリポジトリからパイプラインにシフトしたことです。保守者のトークンやCIランナーを侵害すると、今ではソースコードへの直接アクセス以上の価値を得られます。次に、GitHubは段階的に変更を導入しています。新しいルールは旧モデルと共存し、段階的な移行で破壊的な変更はありません。最後に、支配的なプラットフォームが事実上の基準を押し付けています。GitLab、Bitbucket、Sonatypeのエコシステムは、企業の信頼性を維持するために追随するか、あるいは取り残されるかの選択を迫られています。

12か月のシナリオ

  • ベースケース - 大手消費者(銀行、防衛)がSBOMに証明書の提出を義務付ける。法的強制ではなく、契約による普及。
  • リスク上昇 - 主要な新防御策を回避する大規模なインシデント(自己ホストランナーの設定不備など)。
  • 現実的な障害 - 保守者の慣性。上位1000パッケージの大半が12か月後も署名されない可能性。

実務者への示唆

バックエンドリードへ:GitHub Actionsからのtrusted publishingを設定し、リリースワークフローで証明書を有効化してください。プラットフォームエンジニアへ:自己ホストランナーを確認してください。GitHubホスト型よりもセキュリティが緩いことが多いです。CISOへ:顧客から要求される前に、リリースパイプラインに証明書の検証を追加してください。

要注目ポイント

今後数か月でnpmの上位パッケージにおける証明書のカウント、強化後の最初の攻撃事例、PyPIやCargoが同じモデルに追随するかどうか。

リソース

本記事は人工知能により作成され、人間の編集管理のもとで校閲されています。

編集部について
Your Linux servers, as a desktop.
TermalOSSponsored
Ops, reimagined

Your Linux servers, as a desktop.

Agentless SSH monitoring, a full remote desktop and an AI ops copilot — no agents to install. Everything stays on your machine.

SSHMonitoringAI Ops
Get early access
この記事は役に立ちましたか?

9 人がこの記事を評価しました

いいね
S
Sofia AdlerSecurity & trust
🇬🇧 AI security, model safety, cyber.
シェア:
コメント (9)

ログインして議論に参加しましょう。

LitLover42 29 Jul 2026 · 07:28

I hope these new security measures will be effective. The increase in supply-chain attacks is concerning.

BookWorm47 29 Jul 2026 · 05:37

I'm curious about the impact on small developers. Will these measures create barriers for those with limited resources?

TravelTom 29 Jul 2026 · 10:49

GitHub might offer exemptions for open-source projects to ease the burden on small developers.

FoodieChicago 28 Jul 2026 · 17:09

How will these new security measures affect the open-source community's collaborative spirit? Will it stifle innovation or foster safer development practices?

le_sceptique 28 Jul 2026 · 16:58

I wonder if these measures will be enough to stop the supply-chain attacks. The attackers are getting more sophisticated every day.

Dr. J. 28 Jul 2026 · 19:07

It's a constant arms race, but improved security measures can help tip the balance in our favor.

CriticAtHeart 28 Jul 2026 · 16:54

I'm glad to see GitHub taking proactive steps to secure npm and Actions. It's about time they addressed these vulnerabilities head-on.

MusicFanatic 28 Jul 2026 · 16:49

I wonder how these new measures will affect the speed of development. Will they slow down the workflow for legitimate developers?

FoodieFiona 2 28 Jul 2026 · 16:35

I'm curious about the impact on smaller projects. Will these new measures add unnecessary complexity for developers?

GreenThumb 28 Jul 2026 · 16:26

I'm curious about the impact on small developers. Will these measures make it harder for them to contribute to open-source projects?

curio_usa 28 Jul 2026 · 16:23

I hope these new security measures will indeed make a difference. It's crucial for open-source platforms to stay ahead of these evolving threats.

Your Linux servers, as a desktop.
TermalOSSponsored
Ops, reimagined

Your Linux servers, as a desktop.

Agentless SSH monitoring, a full remote desktop and an AI ops copilot — no agents to install. Everything stays on your machine.

Get early access
テーマ
探索
インフォメーション