Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

GitHub security workshop: Add Copilot-assisted remediation and verification

オープン
#273 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
68/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github, github-actions, python

調査の方向性

既存の CodeQL lab で導入された alert から始め、脆弱な経路と、それに対応する対象を絞った動作テストを追跡します。Copilot による支援と手動の修正ガイダンスを追加し、修正を lab branch に commit してから、code scanning を再実行し、pull request check が成功し、元の alert が修正済みまたは存在しないことを確認します。

索引モデルが issue の本文から書いたものです。

説明

priority: P2

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github-samples/pets-workshop のほかの issue

github-samples/pets-workshop の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。