Skip to content

Block private IPv6 webhook URLs - #28

Merged
ralyodio merged 1 commit into
moshcoder:masterfrom
aiirvizionz:clientkit/block-private-ipv6-webhooks
Jul 11, 2026
Merged

Block private IPv6 webhook URLs#28
ralyodio merged 1 commit into
moshcoder:masterfrom
aiirvizionz:clientkit/block-private-ipv6-webhooks

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • move the webhook SSRF URL guard into a small pure helper
  • block IPv6 loopback, link-local, ULA, and private IPv4-mapped IPv6 webhook targets
  • keep public IPv6 and public IPv4-mapped IPv6 targets allowed

Validation

  • node --test tests\\url-guard.test.mjs
  • npx tsc --noEmit --incremental false
  • git diff --check

Note: npm exec -- next lint is interactive in this checkout because the repo has no ESLint config yet, so I did not let it write config files.

@ralyodio
ralyodio merged commit 94f9640 into moshcoder:master Jul 11, 2026
2 checks passed
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