Skip to content

Bug 2055580 - #2759

Merged
dklawren merged 2 commits into
mozilla:masterfrom
dklawren:2055580
Sep 23, 2026
Merged

dklawren merged 2 commits into
mozilla:masterfrom
dklawren:2055580

Conversation

@dklawren

Copy link
Copy Markdown
Collaborator

Review carried over from private pull request
https://bugzilla.mozilla.org/show_bug.cgi?id=2055580

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Resolve the visibility-query inefficiency, missing legacy-secret tests, and dependency-manifest mismatch before approval.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 2 Medium severity

Open (2)
What changed in this PR

Hardens GitHub webhook authorization by scoping actions to the signing bot’s visibility and improving attribution.

Changes:

  • Adds visibility checks, identity logging, and disabled-account handling.
  • Expands webhook security and attribution tests.
  • Updates documentation, dependency metadata, and Dockerfile formatting.
File Description
template/​en/​default/​admin/​params/​github.html.tmpl Updates administrator guidance.
t/​github-webhook-bug-visibility.t Adds webhook visibility security tests.
qa/​t/​rest_github_push_comment.t Verifies push-comment attribution.
qa/​t/​rest_github_pull_request.t Verifies pull-request attribution.
Makefile.PL Removes Net::CIDR, but generated dependency manifests remain inconsistent.
docs/​en/​rst/​api/​core/​v1/​github.rst Documents security boundaries; legacy shared-secret attribution needs clarification.
Dockerfile Removes extraneous whitespace.
Bugzilla/​API/​V1/​Github.pm Implements visibility and identity checks; visibility queries need batching and legacy-secret security coverage is missing.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Bugzilla/API/V1/Github.pm Outdated
Comment thread Makefile.PL
…o avoid N+1 queries'

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@dklawren
dklawren merged commit 4ce1e72 into mozilla:master Sep 23, 2026
8 checks passed
@dklawren
dklawren deleted the 2055580 branch September 23, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants