CK

Results comments of CK

This vulnerability was fixed in #490 (merged 2026-05-08). `assertNotPrivateHost` now returns a pinned public IP and `safeFetch` rewrites the fetch URL with that IP while preserving the original hostname via...

Closing: DNS rebinding TOCTOU fix merged in #490. `assertNotPrivateHost` returns a pinned public IP; `safeFetch` rewrites the fetch URL with that IP and preserves the original hostname via the `Host`...

Closing via #529 — hardens DNS pinning by rejecting unresolved hostnames and correctly bracketing IPv6 pinned addresses.

Resolved by #490 (DNS IP pinning) and #529 (reject unresolved hostnames, bracket IPv6 pinned addresses). Regression coverage in safe-fetch.test.ts and ssrf-guard.test.ts — 95 tests passing.

Verified on main (f00c2cb): DNS rebinding TOCTOU closed by IP pinning (#490) and hardening (#529). assertNotPrivateHost returns a pinned public IP; safeFetch rewrites the fetch URL with that IP (IPv6...

Verified on upstream main (f00c2cb): DNS rebinding TOCTOU closed by IP pinning (#490) and hardening (#529). assertNotPrivateHost returns a pinned public IP; safeFetch rewrites the fetch URL with that IP...

Fixed in #529 (merged 2026-06-06), building on the IP-pinning approach from #490. **Hardening applied:** - `assertNotPrivateHost` returns the resolved public IP for hostname lookups and throws `SSRF blocked: DNS resolution...

Verified the hardening fix on branch \`fix/405-safe-fetch-dns-pinning-hardening\`: - IPv6 pinned addresses use bracket notation in rewritten URLs - Hostname lookups throw when DNS fails or returns no addresses (prevents TOCTOU...

Fixed in #529 (merged 2026-06-06). The hardening closes both remaining DNS rebinding TOCTOU gaps on top of the IP-pinning from #490: 1. **DNS failure now blocks fetch** — `assertNotPrivateHost` throws...