| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:21689505-9a70-55e3-6def-822030652115 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C478:F0D9C:93D13:D129E:6AFB4573 |
| html-safe-nonce | c6f1735c85e6b7485a38ed02fad8e87c29667f23a2cd10ec44eaae75e2663193 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDc4OkYwRDlDOjkzRDEzOkQxMjlFOjZBRkI0NTczIiwidmlzaXRvcl9pZCI6IjgyMDY1NzU4ODAzNTcyMzQwMzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9c668aa5927379fa0d44858bf9558eba8e28da79bd7d1a375376461d07c206e5 |
| hovercard-subject-tag | pull_request:4156005648 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6030/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary
Security hardening split out of #6013 so it can be reviewed and merged on test evidence alone. No dependency changes — every fix stands on staging's existing re2js and tldts.
Glob matc... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a6c2f87cbcb6414452377b4967858ed6a66f1109 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/6030/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6030%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6030%2Ffiles |
| Sign up | https://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=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/6030/files |
| Reload | https://github.com/simstudioai/sim/pull/6030/files |
| Reload | https://github.com/simstudioai/sim/pull/6030/files |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests199 (199) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| waleedlatif1 | https://github.com/waleedlatif1 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| security-hardening | https://github.com/simstudioai/sim/tree/security-hardening |
|
Conversation
5
| https://github.com/simstudioai/sim/pull/6030 |
|
Commits
1
| https://github.com/simstudioai/sim/pull/6030/commits |
|
Checks
19
| https://github.com/simstudioai/sim/pull/6030/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/6030/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6030/files |
|
fix(security): harden glob matching, archive parsing, redaction and media handling
| https://github.com/simstudioai/sim/pull/6030/files#top |
|
Show all changes
1 commit
| https://github.com/simstudioai/sim/pull/6030/files |
|
34ff739
fix(security): harden glob matching, archive parsing, redaction and m…
waleedlatif1 Jul 28, 2026
| https://github.com/simstudioai/sim/pull/6030/commits/34ff739d653f37e46ab5b15daaa4ad6bec69d30f |
|
Clear filters
| https://github.com/simstudioai/sim/pull/6030/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6030/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6030/files |
|
route.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-b9a5bdd12d50013cd1000ab2df913b85491a1309d44811acc15e86cae01b8ed4 |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-51d787fcbf919986678a615a6fd6ee9940b0337a5e5a99ec4b1fcbd76d68b824 |
|
route.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-7dd35e6df1faa7042be0b6447db05bd30976793e4595023fa6ea06e5a896d7ea |
|
file-viewer.tsx
| https://github.com/simstudioai/sim/pull/6030/files#diff-41f31a97adfda85382418ff71f00df02005b2d85b01516c49967857a1ee0b948 |
|
preview-shared.test.tsx
| https://github.com/simstudioai/sim/pull/6030/files#diff-f49e02f1557a079e3a42a9a1cfa3e6dda8fcd3c4b0f75d6f57a6866931ce96d3 |
|
preview-shared.tsx
| https://github.com/simstudioai/sim/pull/6030/files#diff-b9f27b1882b6b0a833b1e4fc4b81f9b1a34f6df9cca678980fdc767c1bd4807f |
|
loop.test.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-2967459b5bb42c2319e5515b3aeccdcbb93f42824e35c5623cc1bd1591061d8d |
|
loop.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-112bfce09777d1c73cccd2a5bf9870750f5d7e380332c8af3cdc0fbccc21e98f |
|
json-yaml-chunker.test.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-5a7b642e155f67d0b9fdc470a12a5ddb39574a63f2bc77d701dbd8af14b03c73 |
|
json-yaml-chunker.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-d48559e3b932828168d549e929266ed45803ec682ca11013609292f26b248db5 |
|
vfs.test.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-647d6c8e56d7d16b2aaccdbcb1e31ecb122ce72195e2f7bfd52e02a45ebab3d7 |
|
vfs.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-c7e07b2123ef85e28f2ccdcb848fdf71ba061ef32bdc805e25d3101188796bf6 |
|
document-style.test.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-88c471d4148ec501ee91d844d98b92814b2f7e7c6a0154120267fc1434cf6bc4 |
|
document-style.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-b28c1694febda74c30953986607f7b7eec56e192728f57eab7d890fd8ec612be |
|
operations.glob-semantics.test.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-eb040c293cff710904bdd651cc97ae9b1be3ad2d84dc545abe699b1d8e0d4d44 |
|
operations.test.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-3388b10cebb367c28ccc299787f3edea1cf1eacc061588e0e001ed8a232cefff |
|
operations.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-ef1926568df87416883c211a18478c8799e3700f76a9f87d671709fdbb7a851b |
|
input-validation.server.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-6aff011dd9656fc3e2283ce7a33580a51622749a977dcacb0b75050284426798 |
|
redaction.test.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-f3b18986571adb4d1269549a7ba12e1ca9ba6d212e6be8f21d08ebb7ba5ddf63 |
|
redaction.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-0d2ebc88b5841088f3ee5384ed4d041c41c3abe142273a3844c3bb2488093bc7 |
|
secure-fetch-redirect.server.test.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-07e221308bb4ee1872121b9373479770395a3f5b72cee9e0f17a75eb00c14f12 |
|
doc-parser.test.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-636baec61c335570e8c4c131648286c2870368751f2cdf0a73b59d057ccf4a42 |
|
doc-parser.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-cdfc927b24e9d2666bd93713a077b86bbded2c33e752f1a6f298e0fcf5c48032 |
|
xlsx-parser.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-2d008d967e1c9e51820d451dcb43f90f82ce8dab768a3a3db8a9afd5594f5bff |
|
zip-guard.test.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-b8a14e85c6ff70831de6efe4b18e53eb3dd16020b3eed3d7139e6b37fa9a4f51 |
|
zip-guard.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-82ff22d430d10a3c394c674c4b75b7ba2ce0b74c14e84fdc08ff7b489015b767 |
|
falai.test.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-877f7081cfb1235e890b96aca58d2202e5bfc19b2965140ab15bfd4e624cb60f |
|
falai.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-c077a3538059a85cadfbb40e3e8ca623a7ddf7a2a87dce07d59357130ebda678 |
|
ffmpeg.test.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-84d6454b1747ffe231fb651f9c2f250ca9c9ffca1b44c177c5c5930d7f68bc1e |
|
ffmpeg.ts
| https://github.com/simstudioai/sim/pull/6030/files#diff-4cb239d09c65948f5097877c0984c0a2063556969163ff7c4316dd2de35ca7a9 |
| apps/sim/app/api/tools/onedrive/upload/route.ts | https://github.com/simstudioai/sim/pull/6030/files#diff-b9a5bdd12d50013cd1000ab2df913b85491a1309d44811acc15e86cae01b8ed4 |
|
View file
| https://github.com/simstudioai/sim/blob/34ff739d653f37e46ab5b15daaa4ad6bec69d30f/apps/sim/app/api/tools/onedrive/upload/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6030/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/6030/files#diff-b9a5bdd12d50013cd1000ab2df913b85491a1309d44811acc15e86cae01b8ed4 |
| apps/sim/app/api/tools/video/route.test.ts | https://github.com/simstudioai/sim/pull/6030/files#diff-51d787fcbf919986678a615a6fd6ee9940b0337a5e5a99ec4b1fcbd76d68b824 |
|
View file
| https://github.com/simstudioai/sim/blob/34ff739d653f37e46ab5b15daaa4ad6bec69d30f/apps/sim/app/api/tools/video/route.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6030/{{ revealButtonHref }} |
| Please reload this page | https://github.com/simstudioai/sim/pull/6030/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6030/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |