[External Plugin]: leoprevent

Đang mở Phù hợp với người mới
#6,247 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
72/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, javascript
Lĩnh vực
security

Hướng nghiên cứu

Bắt đầu bằng cách đọc hướng dẫn đóng góp để thêm plugin vào awesome-copilot, sau đó kiểm tra plugin được gửi tại leotrace-hq/leoprevent-plugin, đường dẫn copilot/leoprevent, ref v0.2.46, commit 0ab0fadfc3af450a49f0b6d0d2ffefd89504c70c. Đối chiếu nội dung gửi với các yêu cầu về plugin của repository. Công việc hoàn tất khi plugin được chấp nhận vào vị trí phù hợp trong danh mục, kèm theo metadata và các tệp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
JavaScript
Star
40.8k
Fork
5.3k
Merge trung bình
2 ngày 6 giờ
Pull request đã merge (30 ngày)
165

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/awesome-copilot

Tất cả issue của github/awesome-copilot

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.