Repository navigation
fix(ssrf): block the full IPv6 link-local range - #534
Tyagiquamar wants to merge 1 commit into
Conversation
The fe80:: prefix left fe81:: through febf:: fetchable even though those addresses are still link-local.
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Range detection and validation src/local-guard.ts, src/local-guard.test.ts |
isBlockedSsrfHost now uses a helper that classifies first hextets from 0xfe80 through 0xfebf as link-local. Tests cover blocked address forms, nearby allowed ranges, and rejection before DNS resolution. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Possibly related PRs
- BlockRunAI/ClawRouter#506: Adds resolved-address checks and connection pinning in the same SSRF guard.
Suggested reviewers: killerqueen-z
Merge Risk: 
Minimal · up to fadaa
-
The IPv6 link-local SSRF guard matches the intended range without an established merge-blocking issue.
Pre-merge checks: 
5
-
Full details: Title check
-
Explanation
The title states the main change: the SSRF guard now blocks the full IPv6 link-local range, not only the fe80:: prefix. It follows the conventional commit format and matches the file summaries and PR objectives. It is specific and concise.
Full details: Docstring Coverage
-
Explanation
Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 2 functions across 2 files.
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
What was wrong
Summary by CodeRabbit