René's URL Explorer Experiment


Title: fix(forge-server): configurable CORS allowlist, asymmetric-only JWKS verification & shared HTTP client (closes #262) by luksluki · Pull Request #269 · elcode-id/elcode-forge · GitHub

Open Graph Title: fix(forge-server): configurable CORS allowlist, asymmetric-only JWKS verification & shared HTTP client (closes #262) by luksluki · Pull Request #269 · elcode-id/elcode-forge

X Title: fix(forge-server): configurable CORS allowlist, asymmetric-only JWKS verification & shared HTTP client (closes #262) by luksluki · Pull Request #269 · elcode-id/elcode-forge

Description: Summary Added \cors_allowed_origins: Vec\ to \ServerConfig\ configurable via \EFORGE_CORS_ALLOWED_ORIGINS\ (defaulting to local dashboard origins, supporting explicit *). Replaced unconditional permissive CORS with \�uild_cors_layer\ in \crates/forge-server/src/app.rs. Hardened \JwksCache\ in \crates/forge-server/src/auth/jwks.rs: Reused persistent eqwest::Client\ field. Added \is_safe_jwks_url\ restricting remote JWKS URLs to \https://\ or loopback \http://\ (\localhost, \127.0.0.1, [::1]). Enforced asymmetric RSA token algorithms (\RS256, \RS384, \RS512), rejecting symmetric algorithms (\HS256, etc.) and \jwk.k\ symmetric keys to prevent algorithm confusion attacks, and strictly enforcing \�alidation.validate_exp = true. Added unit and integration tests covering SSRF URL restriction, symmetric rejection, RSA verification, and CORS allowlist preflight. Closes #262

Open Graph Description: Summary Added \cors_allowed_origins: Vec\ to \ServerConfig\ configurable via \EFORGE_CORS_ALLOWED_ORIGINS\ (defaulting to local dashboard origins, supporting explicit *). Replaced unconditional pe...

X Description: Summary Added \cors_allowed_origins: Vec\ to \ServerConfig\ configurable via \EFORGE_CORS_ALLOWED_ORIGINS\ (defaulting to local dashboard origins, supporting explicit *). Replaced unconditional pe...

Opengraph URL: https://github.com/elcode-id/elcode-forge/pull/269

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9d76cf77-8269-a2ec-7aff-404ad512a503
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEA62:E2902:A105AB:E06FEA:6B05A08F
html-safe-nonce955cfb6e16022c5041811f9bd868692fe669b88e88e96bcf3047b1c5d6460732
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTYyOkUyOTAyOkExMDVBQjpFMDZGRUE6NkIwNUEwOEYiLCJ2aXNpdG9yX2lkIjoiNDE5OTk5NzM4NDY3MzMwNDcxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6ec92a5ee7e7478943751651af67c0b9a0ec6e858d1d1fc6c6691efb36b13533
hovercard-subject-tagpull_request:5352002561
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/elcode-id/elcode-forge/pull/269/files
twitter:imagehttps://avatars.githubusercontent.com/u/42430456?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/42430456?s=400&v=4
og:image:altSummary Added \cors_allowed_origins: Vec\ to \ServerConfig\ configurable via \EFORGE_CORS_ALLOWED_ORIGINS\ (defaulting to local dashboard origins, supporting explicit *). Replaced unconditional pe...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None8bd54b96ae4db60ce608a145a6b2fb16216749fbdb431d9879aabfa7459f1139
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/elcode-id/elcode-forge git https://github.com/elcode-id/elcode-forge.git
octolytics-dimension-user_id337957755
octolytics-dimension-user_loginelcode-id
octolytics-dimension-repository_id1423983661
octolytics-dimension-repository_nwoelcode-id/elcode-forge
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1423983661
octolytics-dimension-repository_network_root_nwoelcode-id/elcode-forge
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecda4791073b4da3005eb3d470dc0aef3956bbe34
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/elcode-id/elcode-forge/pull/269/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Felcode-id%2Felcode-forge%2Fpull%2F269%2Ffiles
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%2Felcode-id%2Felcode-forge%2Fpull%2F269%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=elcode-id%2Felcode-forge
Reloadhttps://github.com/elcode-id/elcode-forge/pull/269/files
Reloadhttps://github.com/elcode-id/elcode-forge/pull/269/files
Reloadhttps://github.com/elcode-id/elcode-forge/pull/269/files
elcode-idhttps://github.com/elcode-id
elcode-forgehttps://github.com/elcode-id/elcode-forge
Codehttps://github.com/elcode-id/elcode-forge
Issueshttps://github.com/elcode-id/elcode-forge/issues
Pull requestshttps://github.com/elcode-id/elcode-forge/pulls
Actionshttps://github.com/elcode-id/elcode-forge/actions
Projectshttps://github.com/elcode-id/elcode-forge/projects
Security and qualityhttps://github.com/elcode-id/elcode-forge/security
Insightshttps://github.com/elcode-id/elcode-forge/insights
Sign up for GitHub https://github.com/signup?return_to=%2Felcode-id%2Felcode-forge%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Felcode-id%2Felcode-forge%2Fissues%2Fnew%2Fchoose
lukslukihttps://github.com/luksluki
develophttps://github.com/elcode-id/elcode-forge/tree/develop
fix/forge-262-server-cors-and-jwks-hardeninghttps://github.com/elcode-id/elcode-forge/tree/fix/forge-262-server-cors-and-jwks-hardening
Conversation 0 https://github.com/elcode-id/elcode-forge/pull/269
Commits 1 https://github.com/elcode-id/elcode-forge/pull/269/commits
Checks 4 https://github.com/elcode-id/elcode-forge/pull/269/checks
Files changed https://github.com/elcode-id/elcode-forge/pull/269/files
Please reload this pagehttps://github.com/elcode-id/elcode-forge/pull/269/files
fix(forge-server): configurable CORS allowlist, asymmetric-only JWKS verification & shared HTTP client (closes #262) https://github.com/elcode-id/elcode-forge/pull/269/files#top
Show all changes 1 commit https://github.com/elcode-id/elcode-forge/pull/269/files
62582b4 fix(forge-server): configurable CORS allowlist, asymmetric-only JWKS … luksluki Nov 17, 2026 https://github.com/elcode-id/elcode-forge/pull/269/commits/62582b497fefb9b50b00464fbf6b8dad30de1c91
Clear filters https://github.com/elcode-id/elcode-forge/pull/269/files
Please reload this pagehttps://github.com/elcode-id/elcode-forge/pull/269/files
Please reload this pagehttps://github.com/elcode-id/elcode-forge/pull/269/files
app.rs https://github.com/elcode-id/elcode-forge/pull/269/files#diff-bb697608af8b0a45bbe775b4a584ffed6318464b42715398f3b1724dce050693
jwks.rs https://github.com/elcode-id/elcode-forge/pull/269/files#diff-3c89bde81a86a900b6ba54e9f629eade06387b3557156b4ab7acb64b044cc580
config.rs https://github.com/elcode-id/elcode-forge/pull/269/files#diff-2368bbfb48e73b12d821b734fb90f54fcac3eecf809f085e01a00f8462c0fd8f
audit_events_test.rs https://github.com/elcode-id/elcode-forge/pull/269/files#diff-db26bc878338dac9a03e12620b690fff2616a350bfeb70dfe61375b070b3fae7
server_api_test.rs https://github.com/elcode-id/elcode-forge/pull/269/files#diff-a2f51d1db001999bcbb560d76eb7eaf03a19bc9edca7324ed60b2f9934e71ae0
ARCHITECTURE_STATE.md https://github.com/elcode-id/elcode-forge/pull/269/files#diff-afec48f4f0e556320eb04c370b8daca727e03e9ce35e8632fbb86ceb8b20a0c4
crates/forge-server/src/app.rshttps://github.com/elcode-id/elcode-forge/pull/269/files#diff-bb697608af8b0a45bbe775b4a584ffed6318464b42715398f3b1724dce050693
View file https://github.com/elcode-id/elcode-forge/blob/62582b497fefb9b50b00464fbf6b8dad30de1c91/crates/forge-server/src/app.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/elcode-id/elcode-forge/pull/269/{{ revealButtonHref }}
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-bb697608af8b0a45bbe775b4a584ffed6318464b42715398f3b1724dce050693
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-bb697608af8b0a45bbe775b4a584ffed6318464b42715398f3b1724dce050693
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-bb697608af8b0a45bbe775b4a584ffed6318464b42715398f3b1724dce050693
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-bb697608af8b0a45bbe775b4a584ffed6318464b42715398f3b1724dce050693
crates/forge-server/src/auth/jwks.rshttps://github.com/elcode-id/elcode-forge/pull/269/files#diff-3c89bde81a86a900b6ba54e9f629eade06387b3557156b4ab7acb64b044cc580
View file https://github.com/elcode-id/elcode-forge/blob/62582b497fefb9b50b00464fbf6b8dad30de1c91/crates/forge-server/src/auth/jwks.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/elcode-id/elcode-forge/pull/269/{{ revealButtonHref }}
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-3c89bde81a86a900b6ba54e9f629eade06387b3557156b4ab7acb64b044cc580
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-3c89bde81a86a900b6ba54e9f629eade06387b3557156b4ab7acb64b044cc580
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-3c89bde81a86a900b6ba54e9f629eade06387b3557156b4ab7acb64b044cc580
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-3c89bde81a86a900b6ba54e9f629eade06387b3557156b4ab7acb64b044cc580
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-3c89bde81a86a900b6ba54e9f629eade06387b3557156b4ab7acb64b044cc580
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-3c89bde81a86a900b6ba54e9f629eade06387b3557156b4ab7acb64b044cc580
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-3c89bde81a86a900b6ba54e9f629eade06387b3557156b4ab7acb64b044cc580
crates/forge-server/src/config.rshttps://github.com/elcode-id/elcode-forge/pull/269/files#diff-2368bbfb48e73b12d821b734fb90f54fcac3eecf809f085e01a00f8462c0fd8f
View file https://github.com/elcode-id/elcode-forge/blob/62582b497fefb9b50b00464fbf6b8dad30de1c91/crates/forge-server/src/config.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/elcode-id/elcode-forge/pull/269/{{ revealButtonHref }}
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-2368bbfb48e73b12d821b734fb90f54fcac3eecf809f085e01a00f8462c0fd8f
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-2368bbfb48e73b12d821b734fb90f54fcac3eecf809f085e01a00f8462c0fd8f
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-2368bbfb48e73b12d821b734fb90f54fcac3eecf809f085e01a00f8462c0fd8f
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-2368bbfb48e73b12d821b734fb90f54fcac3eecf809f085e01a00f8462c0fd8f
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-2368bbfb48e73b12d821b734fb90f54fcac3eecf809f085e01a00f8462c0fd8f
crates/forge-server/tests/audit_events_test.rshttps://github.com/elcode-id/elcode-forge/pull/269/files#diff-db26bc878338dac9a03e12620b690fff2616a350bfeb70dfe61375b070b3fae7
View file https://github.com/elcode-id/elcode-forge/blob/62582b497fefb9b50b00464fbf6b8dad30de1c91/crates/forge-server/tests/audit_events_test.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/elcode-id/elcode-forge/pull/269/{{ revealButtonHref }}
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-db26bc878338dac9a03e12620b690fff2616a350bfeb70dfe61375b070b3fae7
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-db26bc878338dac9a03e12620b690fff2616a350bfeb70dfe61375b070b3fae7
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-db26bc878338dac9a03e12620b690fff2616a350bfeb70dfe61375b070b3fae7
https://github.com/elcode-id/elcode-forge/pull/269/files#diff-db26bc878338dac9a03e12620b690fff2616a350bfeb70dfe61375b070b3fae7
Please reload this pagehttps://github.com/elcode-id/elcode-forge/pull/269/files
Please reload this pagehttps://github.com/elcode-id/elcode-forge/pull/269/files
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-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.