GitHub security workshop: Add Copilot-assisted remediation and verification
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 68/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- github, github-actions, python
- 領域
- ci-cd, documentation, security, testing-qa
調査の方向性
既存の CodeQL lab で導入された alert から始め、脆弱な経路と、それに対応する対象を絞った動作テストを追跡します。Copilot による支援と手動の修正ガイダンスを追加し、修正を lab branch に commit してから、code scanning を再実行し、pull request check が成功し、元の alert が修正済みまたは存在しないことを確認します。
索引モデルが issue の本文から書いたものです。
説明
Goal
Teach a complete remediation loop: understand a CodeQL finding, use Copilot as an optional assistant, review the proposed fix, test it, and verify the security alert is resolved.
Scope
Use the alert introduced by the CodeQL lab. Prompts should ask Copilot to explain the weakness and propose a minimal secure change, but learners must validate the output rather than accept it automatically. Include an equivalent manual remediation path for learners without Copilot.
Acceptance criteria
- The exercise provides model-agnostic example prompts for explanation, remediation, and test generation.
- A manual secure implementation is available as a fallback.
- Learners review the change against the CodeQL data flow and secure coding guidance.
- Focused behavior tests cover the vulnerable path and pass after remediation.
- Learners commit the fix to the lab branch and trigger code scanning again.
- The pull request check passes and the original alert is shown as fixed or absent from the updated analysis.
- The exercise states that Copilot output is untrusted until reviewed and tested.
- No specific optional model or transient UI layout is required.
- 主要言語
- Python
- スター
- 80
- フォーク
- 161
- 平均マージ
- 31分
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github-samples/pets-workshop のほかの issue
-
priority: P0
難易度 2/5 1〜2日 初心者へのやさしさ 78/100
github-samples/pets-workshop#268 · コメント 1 件 ·
-
priority: P0
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
github-samples/pets-workshop#267 · コメント 1 件 ·
-
priority: P1
難易度 1/5 1〜3時間 初心者へのやさしさ 92/100
github-samples/pets-workshop#261 · コメント 1 件 ·
-
priority: P1
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
github-samples/pets-workshop#257 · コメント 1 件 ·
-
priority: deferred
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
github-samples/pets-workshop#278 · コメント 1 件 ·
github-samples/pets-workshop の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
anthropics/skills#1811 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
speaches-ai/speaches#678 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
datalayer/mcp-compose#42 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
conda-forge/spacy-feedstock#177 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
UKGovernmentBEIS/inspect_evals#2523 ·