René's URL Explorer Experiment


Title: fix(security): fix sandbox bypass and panic when -sandbox and -python are both set by neo-by-projectdiscovery[bot] · Pull Request #222 · projectdiscovery/simplehttpserver · GitHub

Open Graph Title: fix(security): fix sandbox bypass and panic when -sandbox and -python are both set by neo-by-projectdiscovery[bot] · Pull Request #222 · projectdiscovery/simplehttpserver

X Title: fix(security): fix sandbox bypass and panic when -sandbox and -python are both set by neo-by-projectdiscovery[bot] · Pull Request #222 · projectdiscovery/simplehttpserver

Description: Summary Two related security issues in Python listing mode. 1. Runtime panic (DoS) — Sandbox + Python mode File: pkg/httpserver/httpserver.go:65 When -sandbox is set, dir is a SandboxFileSystem, not http.Dir. The type assertion panics at server startup: interface conversion: http.FileSystem is httpserver.SandboxFileSystem, not http.Dir 2. Sandbox bypass in Python listing mode File: pkg/httpserver/pythonliststyle.go Python mode constructed raw filesystem paths via os.Stat / http.ServeFile directly, completely bypassing SandboxFileSystem's dot-file filter, symlink rejection, and containment checks. Fix Changed PythonStyle to accept http.FileSystem (not http.Dir) Replaced raw path construction with fs.Open() so SandboxFileSystem.Open() is always exercised Delegate serving to http.FileServer(root) Tests added (both fail without fix) TestPythonStyleAcceptFileSystem TestNewServerSandboxPythonNoPanic

Open Graph Description: Summary Two related security issues in Python listing mode. 1. Runtime panic (DoS) — Sandbox + Python mode File: pkg/httpserver/httpserver.go:65 When -sandbox is set, dir is a SandboxFileSystem, no...

X Description: Summary Two related security issues in Python listing mode. 1. Runtime panic (DoS) — Sandbox + Python mode File: pkg/httpserver/httpserver.go:65 When -sandbox is set, dir is a SandboxFileSystem, no...

Opengraph URL: https://github.com/projectdiscovery/simplehttpserver/pull/222

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:5aef6b41-5865-c840-2e3f-58283157807a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAD40:2779DA:13CB1C:1B5D2F:6B0675AD
html-safe-nonce411c6e98d1d0ecdfd5f8b56c4b1cf55dd7d6ceed6b4d8c4413305b69d189cfb0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDQwOjI3NzlEQToxM0NCMUM6MUI1RDJGOjZCMDY3NUFEIiwidmlzaXRvcl9pZCI6IjI1MTg2OTkyMjc5NjcwMjY2MDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8b1f215eb3562323f3df386764424f8aac091eb222b2bb6a2e545f608aa43a10
hovercard-subject-tagpull_request:5297193609
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/projectdiscovery/simplehttpserver/pull/222/files
twitter:imagehttps://avatars.githubusercontent.com/in/1831177?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/in/1831177?s=400&v=4
og:image:altSummary Two related security issues in Python listing mode. 1. Runtime panic (DoS) — Sandbox + Python mode File: pkg/httpserver/httpserver.go:65 When -sandbox is set, dir is a SandboxFileSystem, no...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/projectdiscovery/simplehttpserver git https://github.com/projectdiscovery/simplehttpserver.git
octolytics-dimension-user_id50994705
octolytics-dimension-user_loginprojectdiscovery
octolytics-dimension-repository_id323212931
octolytics-dimension-repository_nwoprojectdiscovery/simplehttpserver
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id323212931
octolytics-dimension-repository_network_root_nwoprojectdiscovery/simplehttpserver
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
release6d3909414814ff86ce7da4c51a0f4918a13fb41b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/projectdiscovery/simplehttpserver/pull/222/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprojectdiscovery%2Fsimplehttpserver%2Fpull%2F222%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%2Fprojectdiscovery%2Fsimplehttpserver%2Fpull%2F222%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=projectdiscovery%2Fsimplehttpserver
Reloadhttps://github.com/projectdiscovery/simplehttpserver/pull/222/files
Reloadhttps://github.com/projectdiscovery/simplehttpserver/pull/222/files
Reloadhttps://github.com/projectdiscovery/simplehttpserver/pull/222/files
projectdiscoveryhttps://github.com/projectdiscovery
simplehttpserverhttps://github.com/projectdiscovery/simplehttpserver
Codehttps://github.com/projectdiscovery/simplehttpserver
Issues3 (3)https://github.com/projectdiscovery/simplehttpserver/issues
Pull requests1 (1)https://github.com/projectdiscovery/simplehttpserver/pulls
Discussionshttps://github.com/projectdiscovery/simplehttpserver/discussions
Actionshttps://github.com/projectdiscovery/simplehttpserver/actions
Projectshttps://github.com/projectdiscovery/simplehttpserver/projects
Security and qualityhttps://github.com/projectdiscovery/simplehttpserver/security
Insightshttps://github.com/projectdiscovery/simplehttpserver/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fprojectdiscovery%2Fsimplehttpserver%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fprojectdiscovery%2Fsimplehttpserver%2Fissues%2Fnew%2Fchoose
neo-by-projectdiscoveryhttps://github.com/apps/neo-by-projectdiscovery
mainhttps://github.com/projectdiscovery/simplehttpserver/tree/main
security/fix-sandbox-python-bypasshttps://github.com/projectdiscovery/simplehttpserver/tree/security/fix-sandbox-python-bypass
Conversation 0 https://github.com/projectdiscovery/simplehttpserver/pull/222
Commits 1 https://github.com/projectdiscovery/simplehttpserver/pull/222/commits
Checks 2 https://github.com/projectdiscovery/simplehttpserver/pull/222/checks
Files changed https://github.com/projectdiscovery/simplehttpserver/pull/222/files
Please reload this pagehttps://github.com/projectdiscovery/simplehttpserver/pull/222/files
fix(security): fix sandbox bypass and panic when -sandbox and -python are both set https://github.com/projectdiscovery/simplehttpserver/pull/222/files#top
Show all changes 1 commit https://github.com/projectdiscovery/simplehttpserver/pull/222/files
dd6cc69 fix(security): fix sandbox bypass and panic when -sandbox and -python… Nov 13, 2026 https://github.com/projectdiscovery/simplehttpserver/pull/222/commits/dd6cc6919c19a260346f57fff8b407b21838e104
Clear filters https://github.com/projectdiscovery/simplehttpserver/pull/222/files
Please reload this pagehttps://github.com/projectdiscovery/simplehttpserver/pull/222/files
Please reload this pagehttps://github.com/projectdiscovery/simplehttpserver/pull/222/files
httpserver.go https://github.com/projectdiscovery/simplehttpserver/pull/222/files#diff-968a7bae566c0feb5da17bf686446e84ebeb191584c0aff4ab4ce436f61ae40a
httpserver_security_test.go https://github.com/projectdiscovery/simplehttpserver/pull/222/files#diff-89667ec63606f6b4ea4791aa78218d3859dddd4c1648d7213da6b9f683a01866
pythonliststyle.go https://github.com/projectdiscovery/simplehttpserver/pull/222/files#diff-3e8ce0dc5a4ba7b74e3313d5d81fab43bb60babe6c15bb9f50757a01d4a1a6d3
pkg/httpserver/httpserver.gohttps://github.com/projectdiscovery/simplehttpserver/pull/222/files#diff-968a7bae566c0feb5da17bf686446e84ebeb191584c0aff4ab4ce436f61ae40a
View file https://github.com/projectdiscovery/simplehttpserver/blob/dd6cc6919c19a260346f57fff8b407b21838e104/pkg/httpserver/httpserver.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/projectdiscovery/simplehttpserver/pull/222/{{ revealButtonHref }}
https://github.com/projectdiscovery/simplehttpserver/pull/222/files#diff-968a7bae566c0feb5da17bf686446e84ebeb191584c0aff4ab4ce436f61ae40a
https://github.com/projectdiscovery/simplehttpserver/pull/222/files#diff-968a7bae566c0feb5da17bf686446e84ebeb191584c0aff4ab4ce436f61ae40a
pkg/httpserver/httpserver_security_test.gohttps://github.com/projectdiscovery/simplehttpserver/pull/222/files#diff-89667ec63606f6b4ea4791aa78218d3859dddd4c1648d7213da6b9f683a01866
View file https://github.com/projectdiscovery/simplehttpserver/blob/dd6cc6919c19a260346f57fff8b407b21838e104/pkg/httpserver/httpserver_security_test.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/projectdiscovery/simplehttpserver/pull/222/{{ revealButtonHref }}
pkg/httpserver/pythonliststyle.gohttps://github.com/projectdiscovery/simplehttpserver/pull/222/files#diff-3e8ce0dc5a4ba7b74e3313d5d81fab43bb60babe6c15bb9f50757a01d4a1a6d3
View file https://github.com/projectdiscovery/simplehttpserver/blob/dd6cc6919c19a260346f57fff8b407b21838e104/pkg/httpserver/pythonliststyle.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/projectdiscovery/simplehttpserver/pull/222/{{ revealButtonHref }}
https://github.com/projectdiscovery/simplehttpserver/pull/222/files#diff-3e8ce0dc5a4ba7b74e3313d5d81fab43bb60babe6c15bb9f50757a01d4a1a6d3
https://github.com/projectdiscovery/simplehttpserver/pull/222/files#diff-3e8ce0dc5a4ba7b74e3313d5d81fab43bb60babe6c15bb9f50757a01d4a1a6d3
https://github.com/projectdiscovery/simplehttpserver/pull/222/files#diff-3e8ce0dc5a4ba7b74e3313d5d81fab43bb60babe6c15bb9f50757a01d4a1a6d3
https://github.com/projectdiscovery/simplehttpserver/pull/222/files#diff-3e8ce0dc5a4ba7b74e3313d5d81fab43bb60babe6c15bb9f50757a01d4a1a6d3
https://github.com/projectdiscovery/simplehttpserver/pull/222/files#diff-3e8ce0dc5a4ba7b74e3313d5d81fab43bb60babe6c15bb9f50757a01d4a1a6d3
Please reload this pagehttps://github.com/projectdiscovery/simplehttpserver/pull/222/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.