Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Add security label to triage and release notes (#3516)

Jeremiah Lowinb5a45034ab3e
diff --git a/.github/release.yml b/.github/release.yml
index 5ff95aace..5397d75e4 100644
--- a/.github/release.yml
+++ b/.github/release.yml
@@ -8,26 +8,33 @@ changelog:
labels:
- feature
- - title: Enhancements πŸ”§
+ - title: Breaking Changes ⚠️
labels:
- - enhancement
+ - breaking change
exclude:
labels:
- - breaking change
+ - contrib
+ - security
- - title: Fixes 🐞
+ - title: Enhancements ✨
labels:
- - bug
+ - enhancement
exclude:
labels:
- - contrib
+ - breaking change
+ - security
- - title: Breaking Changes πŸ›«
+ - title: Security πŸ”’
labels:
- - breaking change
+ - security
+
+ - title: Fixes 🐞
+ labels:
+ - bug
exclude:
labels:
- contrib
+ - security
- title: Docs πŸ“š
labels:
@@ -41,6 +48,9 @@ changelog:
- title: Dependencies πŸ“¦
labels:
- dependencies
+ exclude:
+ labels:
+ - security
- title: Other Changes 🦾
labels:
diff --git a/.github/workflows/marvin-label-triage.yml b/.github/workflows/marvin-label-triage.yml
index 2d8ee9da1..aa357f733 100644
--- a/.github/workflows/marvin-label-triage.yml
+++ b/.github/workflows/marvin-label-triage.yml
@@ -108,6 +108,7 @@ jobs:
- http: HTTP transport or networking is the main issue
- contrib: Specifically about community contributions in src/contrib/
- tests: Issues primarily about testing infrastructure, CI/CD workflows, or test coverage
+ - security: Apply ONLY when the issue/PR addresses an exploitable vulnerability or hardens against one. Examples: SSRF, LFI, path traversal, injection, auth bypass allowing unauthorized access, scope escalation, open redirects. Do NOT apply for ordinary auth bugs (wrong scopes returned, token refresh logic, OAuth flow correctness) unless an attacker could exploit the bug to bypass access controls or escalate privileges. The key question: "Could a malicious actor exploit this?" If the answer is just "it breaks for legitimate users," that's a bug, not a security issue.
IMPORTANT LABELING RULES:
- Be selective - only apply labels that are clearly relevant