René's URL Explorer Experiment


Title: lab-ops-hub crawl validators disagree on special IPv6 ranges — Python allows multicast/reserved, TS allows 2001::/23 specials · Issue #474 · developing-today/code · GitHub

Open Graph Title: lab-ops-hub crawl validators disagree on special IPv6 ranges — Python allows multicast/reserved, TS allows 2001::/23 specials · Issue #474 · developing-today/code

X Title: lab-ops-hub crawl validators disagree on special IPv6 ranges — Python allows multicast/reserved, TS allows 2001::/23 specials · Issue #474 · developing-today/code

Description: Problem The two lab-ops-hub crawl validators claim to apply the same policy independently (src/lib.ts: "The Python container crawler applies the same policy independently"; container/app.py: "Only public http(s) targets"), but they disag...

Open Graph Description: Problem The two lab-ops-hub crawl validators claim to apply the same policy independently (src/lib.ts: "The Python container crawler applies the same policy independently"; container/app.py: "Only ...

X Description: Problem The two lab-ops-hub crawl validators claim to apply the same policy independently (src/lib.ts: "The Python container crawler applies the same policy independently"; container/app....

Opengraph URL: https://github.com/developing-today/code/issues/474

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"lab-ops-hub crawl validators disagree on special IPv6 ranges — Python allows multicast/reserved, TS allows 2001::/23 specials","articleBody":"## Problem\n\nThe two lab-ops-hub crawl validators claim to apply the **same policy** independently (`src/lib.ts`: \"The Python container crawler applies the same policy independently\"; `container/app.py`: \"Only public http(s) targets\"), but they disagree on special-use IPv6 literals **in both directions**. Verified this run on main `4b8f252d` by calling both validators directly on the same URLs:\n\n### Python container validator ALLOWS, TS Worker validator blocks\nPython relies on `ipaddress.IPv6Address.is_global`, which is `True` for any address outside its narrow private list — including multicast and reserved space:\n\n| URL | Python (`container/app.py` `validate_crawl_url`) | TS (`src/lib.ts` `validateCrawlUrl`) |\n|---|---|---|\n| `http://[ff00::1]/` (multicast ff00::/8) | ALLOW | BLOCK |\n| `http://[4000::1]/` (reserved, outside global unicast 2000::/3) | ALLOW | BLOCK |\n| `http://[fec0::1]/` (site-local fec0::/10, deprecated) | ALLOW | BLOCK |\n| `http://[5f00::1]/` (SRv6 SIDs 5f00::/16, IANA Global=False) | ALLOW | BLOCK |\n| `http://[100:1::1]/` (outside the 100::/64 discard prefix, not global unicast) | ALLOW | BLOCK |\n\nThe Python service is **the component that actually fetches**, so these non-public targets are reachable through the container path even though the Worker would refuse them as direct targets and as redirect targets.\n\n### TS Worker validator ALLOWS, Python blocks\n`ipv6IsGlobal` in `src/lib.ts` treats everything in 2000::/3 as global except a short blocklist that omits the IANA special-purpose block **2001::/23**:\n\n| URL | TS | Python |\n|---|---|---|\n| `http://[2001::1]/` (Teredo 2001::/32) | ALLOW | BLOCK |\n| `http://[2001:2::1]/` (benchmarking 2001:2::/48) | ALLOW | BLOCK |\n| `http://[2001:10::1]/` (ORCHID 2001:10::/28) | ALLOW | BLOCK |\n| `http://[2001:40::1]/`, `http://[2001:50::1]/` (2001::/23 specials) | ALLOW | BLOCK |\n\nPython's verdict follows the IANA special registry encoded in `ipaddress`: 2001::/23 is non-global **except** 2001:1::1/128, 2001:1::2/128, 2001:3::/32, 2001:4:112::/48, 2001:20::/28 and 2001:30::/28 — those exceptions must keep passing in both validators (e.g. `http://[2001:20::1]/` and `http://[2001:3::1]/` are ALLOW in both today).\n\n## Why it matters\n\nThe two validators are defence-in-depth for the same SSRF policy (#441, #460–#472). A policy that depends on which component happens to fetch is not defence in depth: the container path currently accepts multicast/reserved/site-local literals outright, and the Worker path accepts the 2001::/23 special ranges its own redirect validation is supposed to refuse.\n\n## Acceptance criteria\n\n- Both validators refuse: `ff00::1`, `4000::1`, `fec0::1`, `5f00::1`, `100:1::1`, `2001::1`, `2001:2::1`, `2001:10::1`, `2001:40::1`, `2001:50::1`.\n- Both validators still accept the global exceptions inside 2001::/23 (2001:1::1, 2001:1::2, 2001:3::1, 2001:4:112::1, 2001:20::1, 2001:30::1) and ordinary global unicast (e.g. `2606:4700:4700::1111`, `2001:4860:4860::8888`).\n- The same test vectors appear in both suites (`test/lib.test.ts` and `test/test_container_validate.py`) with identical verdicts, in the style of the #472 shared-vectors test.\n- Suggested fix: in Python, don't trust `is_global` wholesale for IPv6 — require global unicast 2000::/3 (as the TS side does) on top of the existing checks; in TS, add the 2001::/23 block with the six global exceptions above.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-21T10:59:11Z","url":"https://github.com/developing-today/code/issues/474"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:15cefe7e-6cd0-4cf2-9283-fc0478a37e17
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9C00:1619FB:654A56:876AC8:6B062A73
html-safe-nonce17b246a9995c7aec33c6d75514010fc9f1784c29956595dcb4c2ed51f8a1a3e4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzAwOjE2MTlGQjo2NTRBNTY6ODc2QUM4OjZCMDYyQTczIiwidmlzaXRvcl9pZCI6IjMzNDU4NjAzNTIzNjkxMDk2MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4d1ab32821043d3042190746ce5ae11cd7c85f05fe257af1e5dfeb73c3d3fe19
hovercard-subject-tagissue:5959188918
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/474/issue_layout
twitter:imagehttps://opengraph.githubassets.com/89562fb01f4851c3a6a17bcc141d3cf2e4aefd0d0928580bc5574ccbc7f448b0/developing-today/code/issues/474
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/89562fb01f4851c3a6a17bcc141d3cf2e4aefd0d0928580bc5574ccbc7f448b0/developing-today/code/issues/474
og:image:altProblem The two lab-ops-hub crawl validators claim to apply the same policy independently (src/lib.ts: "The Python container crawler applies the same policy independently"; container/app.py: "Only ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release494ea0bb1e0feef734a83e2628697647755e8864
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/474#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F474
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F474
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/474
Reloadhttps://github.com/developing-today/code/issues/474
Reloadhttps://github.com/developing-today/code/issues/474
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests151 (151)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/474
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/474
#475https://github.com/developing-today/code/pull/475
lab-ops-hub crawl validators disagree on special IPv6 ranges — Python allows multicast/reserved, TS allows 2001::/23 specialshttps://github.com/developing-today/code/issues/474#top
#475https://github.com/developing-today/code/pull/475
https://github.com/dezren39
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 21, 2026https://github.com/developing-today/code/issues/474#issue-5959188918
#441https://github.com/developing-today/code/issues/441
#460https://github.com/developing-today/code/issues/460
#472https://github.com/developing-today/code/issues/472
lab-ops-hub crawl validators don't judge NAT64/6to4 literals by their embedded IPv4 — Python allows embedded loopback/metadata, TS and Python disagree #472https://github.com/developing-today/code/issues/472
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 21, 2026https://github.com/developing-today/code/issues/474#event-33837478841
dezren39https://github.com/dezren39
on Oct 21, 2026https://github.com/developing-today/code/issues/474#event-33838036131
style(lab-ops-hub): biome format for #474 conditionhttps://github.com/developing-today/code/commit/e902a83c2bf4804fd8576ef03ded14e7d389f082
#474https://github.com/developing-today/code/issues/474
e902a83https://github.com/developing-today/code/commit/e902a83c2bf4804fd8576ef03ded14e7d389f082
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#475https://github.com/developing-today/code/pull/475
on Oct 21, 2026https://github.com/developing-today/code/issues/474#event-33838192735
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/474
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/474
dezren39https://github.com/dezren39
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.