Repository navigation
feat: require HTTPS for webhook endpoints and block private network addresses - #885
Open
Ranjeet2063 wants to merge 1 commit into
Open
Ranjeet2063 wants to merge 1 commit into
Ranjeet2063 wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Ranjeet2063
force-pushed
the
fix/issue-884-implementation
branch
from
November 11, 2026 03:44
3b83924 to
edf6eaa
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #823
Summary of Changes
This pull request implements comprehensive SSRF hardening and DNS rebinding protections for outbound webhooks according to the specifications in #823:
Protocol Hardening:
IP Range and Hostname Resolution Blocking:
Safe Outbound Dispatch:
Automated Unit Tests ():
Verification Proof
/data/workspaces/audioblock-backend/src/tests/WebhookService.test.ts
17:17 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
106:62 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
107:61 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
110:22 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
125:65 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
127:22 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
139:64 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
141:22 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
152:13 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
185:51 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
197:51 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
321:64 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
/data/workspaces/audioblock-backend/src/services/WebhookService.ts
16:18 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
122:32 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
145:39 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
217:19 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
229:41 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
234:28 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
326:35 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
328:27 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
543:57 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
554:40 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
561:11 warning 'allActive' is assigned a value but never used. Allowed unused vars must match /^_/u unused-imports/no-unused-vars
600:71 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
605:51 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
✖ 25 problems (0 errors, 25 warnings): Passed with 0 errors.