René's URL Explorer Experiment


Title: muse-proxy: MUSE_PROXY_PORT parsed with bare parseInt — the one bin proxy that skips the strict parseProxyPort helper (#483) · Issue #661 · developing-today/code · GitHub

Open Graph Title: muse-proxy: MUSE_PROXY_PORT parsed with bare parseInt — the one bin proxy that skips the strict parseProxyPort helper (#483) · Issue #661 · developing-today/code

X Title: muse-proxy: MUSE_PROXY_PORT parsed with bare parseInt — the one bin proxy that skips the strict parseProxyPort helper (#483) · Issue #661 · developing-today/code

Description: Finding bin/muse-proxy.mjs:26 is the only proxy in bin/ that does not parse its listen port through the shared strict helper: const PORT = parseInt(process.env.MUSE_PROXY_PORT || '18747', 10); Every sibling uses parseProxyPort from bin/p...

Open Graph Description: Finding bin/muse-proxy.mjs:26 is the only proxy in bin/ that does not parse its listen port through the shared strict helper: const PORT = parseInt(process.env.MUSE_PROXY_PORT || '18747', 10); Ever...

X Description: Finding bin/muse-proxy.mjs:26 is the only proxy in bin/ that does not parse its listen port through the shared strict helper: const PORT = parseInt(process.env.MUSE_PROXY_PORT || '18747', 1...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"muse-proxy: MUSE_PROXY_PORT parsed with bare parseInt — the one bin proxy that skips the strict parseProxyPort helper (#483)","articleBody":"## Finding\n\n`bin/muse-proxy.mjs:26` is the only proxy in `bin/` that does not parse its listen port through the shared strict helper:\n\n```js\nconst PORT = parseInt(process.env.MUSE_PROXY_PORT || '18747', 10);\n```\n\nEvery sibling uses `parseProxyPort` from `bin/proxy-port.mjs` — codex-proxy.mjs:10, clef-proxy.mjs:8, agy-proxy.mjs:10, antigravity-ls-proxy.mjs:10, design-code-proxy.mjs:6/:9/:10 (7 sites). The helper's header (proxy-port.mjs:1-8, from #483) states the rule and the exact failure modes a bare `parseInt` causes:\n\n> A bare parseInt is not a validator: 'abc' becomes NaN (an opaque ERR_SOCKET_BAD_PORT crash at listen time), '18744abc' and '18744.9' silently become 18744, and '0x4a38' becomes 0, which binds a random ephemeral port while every client keeps dialling the configured one. Every proxy parses its *_PROXY_PORT through here instead, so a bad value fails at startup with the env var and its value named.\n\nmuse-proxy was added after that rule (it mirrors codex-proxy per its header comment) and never adopted the helper — and the guard that should have caught it doesn't see it: `bin/proxy-port.test.mjs`'s test \"all seven parse sites in the five proxies use the shared helper\" enumerates only the five older proxies, so muse-proxy is in neither its import/`parseInt` checks nor the site count.\n\n## Verified on current main (f1a8abf0)\n\nLive repro, `MUSE_PROXY_PORT=\u003cvalue> node bin/muse-proxy.mjs`:\n\n- `18747abc` → silently binds 18747 (trailing junk ignored; `parseProxyPortValue` rejects this spelling)\n- `99999` → crashes with an unhandled `RangeError [ERR_SOCKET_BAD_PORT]` stack from `node:net`, naming neither the env var nor its value\n- `abc` → same opaque crash (`Received type number (NaN)`)\n- `0x4a38` → binds port **0** — a random ephemeral port — and logs `listening on http://127.0.0.1:0`, while clients keep dialling 18747\n\nWith the helper, each of these exits 1 at startup with `MUSE_PROXY_PORT=\"\u003cvalue>\" is not a valid port (expected an integer 1-65535)`.\n\n## Why it matters\n\nThis is the exact silent-misconfiguration class #483/#494 fixed for the other five proxies: a typo'd `MUSE_PROXY_PORT` in a service environment either crashes opaquely or — worse, for `0x…`/0 spellings — starts \"successfully\" on a random port while every configured client dials the dead one. The proxy family is meant to be uniform here; one member quietly opting out is how the bug class comes back.\n\n## Acceptance criteria\n\n- `bin/muse-proxy.mjs` imports `parseProxyPort` from `./proxy-port.mjs` and parses its port as `parseProxyPort('MUSE_PROXY_PORT', 18747)`; no bare `parseInt(process.env.…PROXY_PORT…)` remains in the file.\n- Bad spellings (`abc`, `99999`, `18747abc`, `18747.9`, `0x4a38`, `0`, `-1`) exit 1 at startup with the error naming `MUSE_PROXY_PORT` and the offending value; unset/empty still defaults to 18747 and a valid value binds exactly that port (existing `bin/muse-proxy.test.mjs` suite stays green).\n- The guard test in `bin/proxy-port.test.mjs` covers muse-proxy: it joins the enumerated proxy list (import + no-bare-parseInt assertions) and the parse-site count goes from seven to eight. If muse-proxy is not launched from `home/common/default.nix` the way the other five are, the home-manager test's file list should be evaluated separately rather than silently extended.\n- Cross-repo: muse-proxy exists only in this repo (no `MUSE_PROXY_PORT`/`muse-proxy` copy in developing-today/opencode, developing-today/openchamber, or dezren39/nix — grep-verified at filing), so this is a single-repo fix, not a cross-repo set.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-23T09:40:05Z","url":"https://github.com/developing-today/code/issues/661"}

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:1ea8a907-d8f3-8485-af5f-33135a5e06b7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCD58:2356C0:93DBF8:C500DE:6B06396F
html-safe-nonceeecbfe4dce8fe92968895dc6d4ab0f8f4236057e9d4b8e204ec0a704463ba4d2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDU4OjIzNTZDMDo5M0RCRjg6QzUwMERFOjZCMDYzOTZGIiwidmlzaXRvcl9pZCI6IjE4NDM0MzQwMjQzMjk0MjczMTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac151ad2fd25a7d9d394b57a15912362500c055e007df448cec80a2e0756a6a0bd
hovercard-subject-tagissue:5995486156
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/661/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0ad08ca0d8d696c0ba54d8d3d8e1c073cae5f3948efbd20588a7e08a7da6f98a/developing-today/code/issues/661
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0ad08ca0d8d696c0ba54d8d3d8e1c073cae5f3948efbd20588a7e08a7da6f98a/developing-today/code/issues/661
og:image:altFinding bin/muse-proxy.mjs:26 is the only proxy in bin/ that does not parse its listen port through the shared strict helper: const PORT = parseInt(process.env.MUSE_PROXY_PORT || '18747', 10); Ever...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
Nonedcf72c457c022486d23c3cbb0dd21aba537a87611ca9ddabd1799cf2eaa9b297
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
release0f38f5735226749ec5e08a8649dce4cb2613d9ad
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/661#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F661
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%2F661
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/661
Reloadhttps://github.com/developing-today/code/issues/661
Reloadhttps://github.com/developing-today/code/issues/661
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 requests158 (158)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/661
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/661
#662https://github.com/developing-today/code/pull/662
muse-proxy: MUSE_PROXY_PORT parsed with bare parseInt — the one bin proxy that skips the strict parseProxyPort helper (#483)https://github.com/developing-today/code/issues/661#top
#662https://github.com/developing-today/code/pull/662
https://github.com/dezren39
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 23, 2026https://github.com/developing-today/code/issues/661#issue-5995486156
#483https://github.com/developing-today/code/issues/483
f1a8abfhttps://github.com/developing-today/code/commit/f1a8abf0c4da2fee9b28c42805ecfc6b62340acb
#483https://github.com/developing-today/code/issues/483
#494https://github.com/developing-today/code/issues/494
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 23, 2026https://github.com/developing-today/code/issues/661#event-34037898741
dezren39https://github.com/dezren39
on Oct 23, 2026https://github.com/developing-today/code/issues/661#event-34038000960
Merge pull request #662 from developing-today/creator/661-muse-proxy-…https://github.com/developing-today/code/commit/a1b06f536c8182d934f041b82b54654ff41e738b
#662https://github.com/developing-today/code/pull/662
a1b06f5https://github.com/developing-today/code/commit/a1b06f536c8182d934f041b82b54654ff41e738b
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#662https://github.com/developing-today/code/pull/662
on Oct 23, 2026https://github.com/developing-today/code/issues/661#event-34038001182
https://github.com/apps/developing-today-fleet
developing-today-fleethttps://github.com/apps/developing-today-fleet
on Nov 24, 2026https://github.com/developing-today/code/issues/661#issuecomment-7124556191
developing.today fleethttps://kaneo.security.cab
PR #662 — fix(muse-proxy): parse MUSE_PROXY_PORT through the strict parseProxyPort helper (#661)https://github.com/developing-today/code/pull/662
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/661
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/661
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.