Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Suggestion: add a recommended security policy / rate limiting guide

Đang mở
#2,233 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github
Lĩnh vực
documentation, security

Hướng nghiên cứu

Bắt đầu bằng cách xem README của repository và tài liệu hiện có để tìm vị trí phù hợp cho hướng dẫn bảo mật. Xác định contribution nên là một phần trong README, một tệp policy mẫu hay cả hai, sử dụng các PAT scopes được đề xuất, proxy rate limits và các chặn thao tác phá hoại làm các yêu cầu đã nêu. Công việc được xem là hoàn tất khi các biện pháp kiểm soát được khuyến nghị và các giá trị mặc định mẫu được ghi lại rõ ràng cho người dùng GitHub MCP server.

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

Mô tả

Context

The GitHub MCP server exposes 83 tools, including destructive operations like delete_file, write operations like push_files and merge_pull_request, and resource creation like create_repository. There are no built-in rate limits or access controls — every tool is available to the agent at all times.

For agents in production workflows, this can be risky. An agent stuck in a loop can create dozens of repos or issues. A prompt injection can trigger file deletion. There's no way to say "read everything but don't delete" without external tooling.

Suggestion

Would the maintainers be open to adding a recommended security policy or rate limiting guide to the repo? This could be:

  1. A documentation section in the README covering best practices for limiting tool access (e.g. using PATs with minimal scopes, using a proxy for rate limiting)
  2. A sample policy file showing recommended rate limits for write operations and blocks on destructive tools

We maintain Intercept, an open-source MCP enforcement proxy, and have published a ready-made policy template for the GitHub MCP server with suggested defaults (file deletion blocked, writes rate limited at 30/hour, repo creation at 5/hour). Happy to contribute a PR if there's interest.

Use case

Developers connecting the GitHub MCP server to Claude Code, Cursor, or other AI agents who want to limit what the agent can do without restricting the PAT scopes (which are too coarse-grained for per-tool control).

Ngôn ngữ chính
Go
Star
33.1k
Fork
5k
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
25

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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/github-mcp-server

Tất cả issue của github/github-mcp-server

Issue tương tự

Thêm issue về Go

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.