Skip to content

[codex] Block reserved feed IP SSRF targets#88

Open
rissrice2105-agent wants to merge 1 commit into
profullstack:masterfrom
rissrice2105-agent:codex/block-reserved-feed-ips
Open

[codex] Block reserved feed IP SSRF targets#88
rissrice2105-agent wants to merge 1 commit into
profullstack:masterfrom
rissrice2105-agent:codex/block-reserved-feed-ips

Conversation

@rissrice2105-agent

Copy link
Copy Markdown
Contributor

Summary

  • expand feed-discovery SSRF IP checks to reject additional non-public IPv4 ranges, including documentation, benchmark, multicast, and reserved blocks
  • reject additional non-public IPv6 targets such as unspecified, discard-only, benchmark, documentation, link-local, and multicast ranges
  • add regression coverage for the newly blocked direct URL targets

Why

The existing feed discovery URL safety check blocked common private and loopback addresses, but several non-public/reserved addresses could still be accepted as fetch targets. This weakens the SSRF guard for feed probing and validation.

Validation

  • npm --workspace @logicsrc/plugin-feed-discovery run test
  • npm --workspace @logicsrc/plugin-feed-discovery run build
  • git diff --check

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