[External Plugin]: leoprevent

オープン 初心者向け
#6,247 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github, javascript
領域
security

調査の方向性

まず、awesome-copilotへのプラグイン追加に関する貢献ガイドラインを読み、その後 leotrace-hq/leoprevent-plugin の提出プラグインを、パス copilot/leoprevent、ref v0.2.46、commit 0ab0fadfc3af450a49f0b6d0d2ffefd89504c70c で確認します。提出内容がリポジトリのプラグイン要件を満たしているか確認します。適切なカタログの場所に、メタデータとファイルを含めてプラグインが受理された時点で完了です。

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

説明

Plugin name

leoprevent

Short description

A Stop hook that has the Copilot agent review its own changes for security flaws and fix them before it finishes the turn. Requires a LeoTrace account. Each turn sends the changed code (the diff plus one hop of imported context), the prompt, and turn metadata including the developer's git name and email to the LeoTrace API for review; after a finding, the fix and the agent's reply are sent too. Secret files and symlinks are never read.

GitHub repository

leotrace-hq/leoprevent-plugin

Plugin path inside the repository

copilot/leoprevent

Ref to review

v0.2.46

Commit SHA to review

0ab0fadfc3af450a49f0b6d0d2ffefd89504c70c

Version

0.2.46

License identifier

Apache-2.0

Author name

LeoTrace

Author URL

https://leotrace.io

Homepage URL

https://leotrace.io

Keywords

security
code-review
appsec
secure-coding
vulnerabilities

Additional notes

Tested at this layout with Copilot CLI 1.0.105 and VS Code 1.144.1 on macOS: the hooks load, a planted SQL injection is reported to the agent, fixed and re-checked in the same session. The plugin fails open: if the LeoTrace API is unreachable or the account is not signed in, the turn ends normally.

主要言語
JavaScript
スター
40.8k
フォーク
5.3k
平均マージ
2日 6時間
マージ済み PR(30日)
165

環境構築

はじめの一歩

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

github/awesome-copilot のほかの issue

github/awesome-copilot の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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