AI Services Market
AI Services Market › スキルファクトリー › セキュリティ › GitHub and CI/CD Hardening Sprint
Free · サインイン不要v1.0.0– 回表示

GitHub and CI/CD Hardening Sprint

開発者パイプラインの経路を閉じる:1人の従業員アカウントがソース、CI/CD、本番に届いてはならない。

2026年11月の1Passwordインシデントで使われた経路そのもの——従業員のGitHubアカウントからソースコード、CI/CDアクセス、悪意あるバックエンドコードへ——を、アイデンティティ保護、最小権限のパイプライン認証情報、1つの侵害アカウントが本番侵害になるのを防ぐプッシュ制御で堅牢化します。

GitHub and CI/CD Hardening Sprint のプレビュー
こんな方におすすめ
本番サービス向けにGitHubとCI/CDを運用するエンジニアリング、プラットフォーム、セキュリティチーム
所要時間
3時間
レベル
中級

3ステップでインストール

登録不要。CLIツールも不要です。お使いのAIを選んで、1行コピーして貼るだけです。

ご自分で入れたい場合は、ZIPを無料でダウンロードして、上のディレクトリに展開し、AIのセッションを再起動してください。結果は同じです。AIアシスタントにダウンロードしてもらうこともできます。

パックの内容

SKILL.md(手順書)1点とスターターテンプレート1点が入っています。プレビューはこちらです:

The idea

Read 1Password's November 25, 2026 disclosure as a path, not a list. Step one: access to an employee's corporate GitHub account — 1Password has not disclosed how that account was first compromised, and this skill does not guess. Step two: private source code read and copied. Step three: access to CI/CD systems. Step four: malicious code pushed to backend services. Step five: that code downloaded admin and customer account records for a subset of accounts. Every arrow in that chain is a control point. If any one of them had been hard — phishing-resistant authentication on the GitHub account, tightly scoped repository permissions, short-lived CI/CD credentials that cannot be replayed, protected branches and deployment approvals that a single account cannot satisfy alone — the chain breaks and the incident becomes a contained account compromise instead of a disclosure. Note also what 1Password did once it found the intrusion: it rotated all potentially exposed CI/CD credentials. Rotation is the emergency brake; this sprint installs the guardrails so the brake is not the whole safety system. The same developer-side entry pattern opened the LastPass 2022 incident, which is why this is a standing discipline, not a one-off response.

Workflow

  1. Inventory developer identities and their reach. List every human and machine account that can read private source, administer repositories, or trigger production pipelines. Flag any single account that spans more than one of those — that span is your blast radius.
  2. Put phishing-resistant authentication on the front door. Require hardware-backed or passkey authentication and SSO for GitHub, shorten session lifetimes for privileged roles, and alert on new-device and unusual-location sign-ins. 1Password has not disclosed the initial vector, so defend the account layer generally rather than patching one guessed trick.
  3. Shrink repository permissions to least privilege. Default to read-only, grant write and admin per repository with expiry, and remove dormant collaborators and stale personal access tokens. Source code being read and copied should require an account that actually needs that repository.
  4. Make CI/CD credentials short-lived and scoped. Replace long-lived stored secrets with short-lived, audience-bound credentials wherever the platform supports it; scope each pipeline identity to one environment; and keep production credentials unreachable from pull-request or fork workflows.
  5. Put a second human between code and production. Protected branches, required reviews, and deployment approvals mean one compromised account cannot push malicious code to backend services alone. Log and alert on bypasses — a bypass that fires silently is not a control.
  6. Instrument the pipeline like production. Alert on new CI/CD secrets being read in bulk, unusual artefact or log access, first-time deployment sources, and code pushes outside normal patterns. 1Password began investigating on November 19 after detecting the GitHub access; detection speed is a control, not luck.
  7. Pre-write the rotation runbook. 1Password rotated all potentially exposed CI/CD credentials — you should be able to do the same in hours, from a list you already maintain: every pipeline secret, where it lives, what breaks when it rotates, and in what order. Test the runbook on one low-risk service before you need it for real.
  8. Close with an access review cadence. Quarterly, re-run step 1 and delete what is no longer needed. Pair the architecture verdict from [zero-knowledge-vault-audit] with the user-facing response in [breach-disclosure-and-phishing-watch].

テンプレートのプレビュー

GitHub and CI/CD Hardening Sprint — Worksheet

1. Identity reach inventory

2. Pipeline credentials

3. Push controls checklist

  • [ ] Protected branches with required review on all production repositories
  • [ ] Deployment approval needs a second person
  • [ ] Bypasses logged and alerted
  • [ ] Alerts on bulk secret reads, new-device sign-ins, unusual pushes

4. Rotation runbook test

  • Service tested:
  • Time to rotate all its CI/CD credentials:
  • Gaps found:

スキルパック本体(SKILL.md とテンプレート)は英語で書かれています。

Download the ZIP — free

こちらもおすすめです