Skip to content

Harden SSRF validation at connection time#142

Open
kiwi0401 wants to merge 1 commit into
mainfrom
fix-ssrf-bypass
Open

Harden SSRF validation at connection time#142
kiwi0401 wants to merge 1 commit into
mainfrom
fix-ssrf-bypass

Conversation

@kiwi0401

@kiwi0401 kiwi0401 commented May 3, 2026

Copy link
Copy Markdown
Member

Adds a connect-time DNS re-validation check for TCP database connections in cloud mode. Previously, hostname validation only ran when a connection was saved. This ensures the resolved IP is re-checked against the SSRF denylist before the driver opens a socket, closing a theoretical DNS rebinding window.

No user-facing changes. Existing connections continue to work as before.

Re-validate hostname against SSRF denylist immediately before connecting,
not just at connection save time. Prevents DNS rebinding where a hostname
passes validation at save but resolves to an internal IP at connect time.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented May 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
signal-pilot Ready Ready Preview, Comment May 3, 2026 9:16pm
signal-pilot-docs Ready Ready Preview, Comment May 3, 2026 9:16pm

Request Review

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.

1 participant