René's URL Explorer Experiment


Title: chore(deps): drop the archived image-size dependency by waleedlatif1 · Pull Request #6485 · simstudioai/sim · GitHub

Open Graph Title: chore(deps): drop the archived image-size dependency by waleedlatif1 · Pull Request #6485 · simstudioai/sim

X Title: chore(deps): drop the archived image-size dependency by waleedlatif1 · Pull Request #6485 · simstudioai/sim

Description: Summary Removes the image-size dependency, which is archived upstream and carries two unpatched high-severity DoS advisories (Dependabot #217/#218 — GHSA-w3rx-r6r6-pgpr, GHSA-5p2g-fcmc-qvqq). Both list no patched version, so there is nothing to bump to. Its only consumer was readOgImageDimensions in lib/content/registry-factory.ts, which probes intrinsic dimensions of repo-committed OG covers under public/. It now uses sharp — already a direct dependency, already used server-side, and a Next.js default server-external package — instead of a third-party parser. The vulnerable parsers were ICNS/JXL/HEIF, formats this app never reads, so real-world exposure was nil. Dropping the dep resolves the alerts outright rather than dismissing them. Net effect is a smaller tree: one dependency gone, ~10 lines changed, no new parsing code to own. Verification Diffed sharp against image-size@2.0.2 over every file in apps/sim/public (208 images): 0 disagreements on every raster format — JPEG, PNG, WebP, GIF. 3 SVGs differ by exactly 0.75× (sharp applies 72/96 DPI scaling; image-size reads the raw attribute) and favicon.ico is unsupported by sharp. None is an og:image, and neither SVG nor ICO is accepted by the social crawlers. All 40 ogImage entries across blog and library resolve to real files with readable dimensions — no post changes behavior. Notes pptxgenjs still pulls image-size@1.2.1 transitively, but it's a sandbox-bundle dep that never reaches those parsers, and no fixed version exists to move it to. sharp.metadata() parses headers only; it does not decode pixels. Type of Change Bug fix (security) Testing New og-image.test.ts guards the content invariant: every local ogImage must exist, expose dimensions, and be a crawler-accepted format. 41 tests. Mutation-checked both branches — pointing a cover at an SVG and deleting a cover each turn it red. The format assertion exists because the mutation showed a dimensions-only check passes on SVG. bun run lint, bun run type-check, and bun run lint:check clean. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Removes the image-size dependency, which is archived upstream and carries two unpatched high-severity DoS advisories (Dependabot #217/#218 — GHSA-w3rx-r6r6-pgpr, GHSA-5p2g-fcmc-qvqq). Both...

X Description: Summary Removes the image-size dependency, which is archived upstream and carries two unpatched high-severity DoS advisories (Dependabot #217/#218 — GHSA-w3rx-r6r6-pgpr, GHSA-5p2g-fcmc-qvqq). Both...

Opengraph URL: https://github.com/simstudioai/sim/pull/6485

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllerpull_requests
route-actionfiles
fetch-noncev2:4a571ca0-b530-0df7-171c-c9a2f9032867
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBCB0:3D6EF:1495D0:1CEB3A:6AFB4D8E
html-safe-nonce2d9ef6f181f15ed1a4c7c59ef9630f9247a277c30231ba937d326ef0472cba9f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0IwOjNENkVGOjE0OTVEMDoxQ0VCM0E6NkFGQjREOEUiLCJ2aXNpdG9yX2lkIjoiNjUyNzkyOTIwODgyNjE4NzE1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac969c102948f5bf4d8d6fbd0a999b9354ce8cce603b6d591f49dc0c0f8ab64d3b
hovercard-subject-tagpull_request:4242120256
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/simstudioai/sim/pull/6485/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Removes the image-size dependency, which is archived upstream and carries two unpatched high-severity DoS advisories (Dependabot #217/#218 — GHSA-w3rx-r6r6-pgpr, GHSA-5p2g-fcmc-qvqq). Both...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneacf7616d06cc051644705b379878c9bb13dc5e70ecf4ffd9b34140f8ac01d7e1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
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
release26504db649b58525278f77a52b80ba5f10d5f4de
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6485/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6485%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%2Fsimstudioai%2Fsim%2Fpull%2F6485%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=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/6485/files
Reloadhttps://github.com/simstudioai/sim/pull/6485/files
Reloadhttps://github.com/simstudioai/sim/pull/6485/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
worktree-image-size-dos-fixhttps://github.com/simstudioai/sim/tree/worktree-image-size-dos-fix
Conversation 5 https://github.com/simstudioai/sim/pull/6485
Commits 3 https://github.com/simstudioai/sim/pull/6485/commits
Checks 31 https://github.com/simstudioai/sim/pull/6485/checks
Files changed https://github.com/simstudioai/sim/pull/6485/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6485/files
chore(deps): drop the archived image-size dependency https://github.com/simstudioai/sim/pull/6485/files#top
Show all changes 3 commits https://github.com/simstudioai/sim/pull/6485/files
0fafe0c chore(deps): drop the archived image-size dependency waleedlatif1 Aug 10, 2026 https://github.com/simstudioai/sim/pull/6485/commits/0fafe0ca73e17f0aa185a9e869b6f58c34e19b0e
14448a7 improvement(content): cover GIF and warn when OG dimensions are unrea… waleedlatif1 Aug 10, 2026 https://github.com/simstudioai/sim/pull/6485/commits/14448a7238899a4a2be395f20ac198fcdb2361e8
e53b246 improvement(content): read OG dimensions via sharp instead of a bespo… waleedlatif1 Aug 10, 2026 https://github.com/simstudioai/sim/pull/6485/commits/e53b2460753232ce86513d2562b06eb85d286388
Clear filters https://github.com/simstudioai/sim/pull/6485/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6485/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6485/files
og-image.test.ts https://github.com/simstudioai/sim/pull/6485/files#diff-53faa493b254082e5684b2e5accff1f2eeec06a840c3bf984125da463992187d
registry-factory.ts https://github.com/simstudioai/sim/pull/6485/files#diff-ec68bcac9834a0f66fb1cca87a910066c709827e88618a5eab899a3653417215
package.json https://github.com/simstudioai/sim/pull/6485/files#diff-43a1bb37ce68ac536b0a4ed9e973d9d52da3975d74b37865f591bb37e191be64
bun.lock https://github.com/simstudioai/sim/pull/6485/files#diff-bfd0ef82a01108fa1e836c2500b98b7de8a92bb1ae352a8efcbd9d6ffcaabd60
apps/sim/lib/content/og-image.test.tshttps://github.com/simstudioai/sim/pull/6485/files#diff-53faa493b254082e5684b2e5accff1f2eeec06a840c3bf984125da463992187d
View file https://github.com/simstudioai/sim/blob/e53b2460753232ce86513d2562b06eb85d286388/apps/sim/lib/content/og-image.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6485/{{ revealButtonHref }}
apps/sim/lib/content/registry-factory.tshttps://github.com/simstudioai/sim/pull/6485/files#diff-ec68bcac9834a0f66fb1cca87a910066c709827e88618a5eab899a3653417215
View file https://github.com/simstudioai/sim/blob/e53b2460753232ce86513d2562b06eb85d286388/apps/sim/lib/content/registry-factory.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6485/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6485/files#diff-ec68bcac9834a0f66fb1cca87a910066c709827e88618a5eab899a3653417215
https://github.com/simstudioai/sim/pull/6485/files#diff-ec68bcac9834a0f66fb1cca87a910066c709827e88618a5eab899a3653417215
https://github.com/simstudioai/sim/pull/6485/files#diff-ec68bcac9834a0f66fb1cca87a910066c709827e88618a5eab899a3653417215
https://github.com/simstudioai/sim/blob/staging/.github/CODEOWNERS#L36
apps/sim/package.jsonhttps://github.com/simstudioai/sim/pull/6485/files#diff-43a1bb37ce68ac536b0a4ed9e973d9d52da3975d74b37865f591bb37e191be64
View file https://github.com/simstudioai/sim/blob/e53b2460753232ce86513d2562b06eb85d286388/apps/sim/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6485/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6485/files#diff-43a1bb37ce68ac536b0a4ed9e973d9d52da3975d74b37865f591bb37e191be64
https://github.com/simstudioai/sim/pull/6485/files#diff-43a1bb37ce68ac536b0a4ed9e973d9d52da3975d74b37865f591bb37e191be64
https://github.com/simstudioai/sim/blob/staging/.github/CODEOWNERS#L38
bun.lockhttps://github.com/simstudioai/sim/pull/6485/files#diff-bfd0ef82a01108fa1e836c2500b98b7de8a92bb1ae352a8efcbd9d6ffcaabd60
View file https://github.com/simstudioai/sim/blob/e53b2460753232ce86513d2562b06eb85d286388/bun.lock
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/simstudioai/sim/pull/6485/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6485/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

Viewport: width=device-width


URLs of crawlers that visited me.