chore(deps)(deps): bump sharp and astro - #218
Conversation
Bumps [sharp](https://github.com/lovell/sharp) to 0.35.3 and updates ancestor dependency [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro). These dependencies need to be updated together. Updates `sharp` from 0.34.5 to 0.35.3 - [Release notes](https://github.com/lovell/sharp/releases) - [Commits](lovell/sharp@v0.34.5...v0.35.3) Updates `astro` from 6.4.8 to 7.1.4 - [Release notes](https://github.com/withastro/astro/releases) - [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md) - [Commits](https://github.com/withastro/astro/commits/astro@7.1.4/packages/astro) --- updated-dependencies: - dependency-name: sharp dependency-version: 0.35.3 dependency-type: indirect - dependency-name: astro dependency-version: 7.1.4 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
Security review — PR #218
Result: No high-confidence vulnerabilities introduced by this PR.
This is a dependency-only change (astro ^6.4.8 → ^7.1.4 plus lockfile refresh). No application source, config, or workflow files were modified.
Confirmed: security posture improves
npm audit on a clean npm ci install shows three high-severity Astro XSS advisories on astro@6.4.8 (base) that are absent on astro@7.1.4 (this PR):
- Reflected XSS via unescaped View Transition animation properties
- XSS via unescaped spread attribute names in
renderHTMLElement(CVE-2026-59729; incomplete fix for CVE-2026-54298) - XSS via unescaped
transition:*directive values on hydrated islands
Upgrading to 7.1.4 (≥ 7.0.6) addresses these framework-level issues.
Pre-existing supply-chain note (not introduced here)
The PR title mentions sharp, but the resolved transitive version is unchanged at sharp@0.34.5 on both base and head. npm audit still reports inherited libvips CVEs (GHSA-f88m-g3jw-g9cj; fixed in sharp ≥ 0.35.0). This is a residual, pre-existing build-time advisory — not a regression from this diff.
Exposure context: The site is static SSG (no output: 'server', no middleware). Production is GitHub Pages static assets; sharp is only reachable during local/CI astro build/dev, not in the deployed runtime. No astro:assets / <Image> usage was found in src/.
Uncertain / low-risk observations (no action required for merge from a security standpoint)
| Area | Assessment |
|---|---|
| Injection / auth bypass / SSRF / XSS in app code | No code changes; no new attack surface in application logic |
| Astro 7 supply chain | Major bump pulls in new build-time native/WASM packages (@astrojs/compiler-rs, @astrojs/compiler-binding, markdown-satteri). Expected for a framework major; no suspicious or unexpected packages observed |
| SSR-specific Astro CVEs (image SSRF, middleware auth bypass) | Not applicable to this static deployment model |
Optional follow-up (out of scope for this PR)
- Track a separate Dependabot bump to
sharp≥0.35.0when Astro resolves it transitively. - Run the full test suite (
make test/ CI) before merge — major-version framework upgrades are a functional, not security, gate.
Automated security review — dependency diff + npm audit comparison + static-site exposure analysis.
Sent by Cursor Automation: Find vulnerabilities


Bumps sharp to 0.35.3 and updates ancestor dependency astro. These dependencies need to be updated together.
Updates
sharpfrom 0.34.5 to 0.35.3Release notes
Sourced from sharp's releases.
... (truncated)
Commits
1018449Release v0.35.3ba303a7Prerelease v0.35.3-rc.24f94fc5Upgrade to sharp-libvips v1.3.2c5e7a3fBump devDeps, fix Deno/Windows smoke tests9a8d002Docs: Add changelog entry and note about transferable #45208694db0TypeScript: Return more preciseBuffer\<ArrayBuffer>fromtoBuffer(#4520)e000d0bPrerelease v0.35.3-rc.19554ca9Prerelease v0.35.3-rc.06a29fd5Emit warning about native binaries on Linux Electron540d2eaIncrease default concurrency when use of MALLOC_ARENA_MAX detectedUpdates
astrofrom 6.4.8 to 7.1.4Release notes
Sourced from astro's releases.
... (truncated)
Changelog
Sourced from astro's changelog.
... (truncated)
Commits
112d3ea[ci] release (#17469)82bf7e2fix(astro): hide console window for background dev server on Windows (#17517)0fc519dfix(css): preserve styles for child components of client:only islands during ...d4f266dfix(build): deduplicate CSS assets between prerender and SSR environments (#1...fbffc96Fix Container API build errors when using the Cloudflare adapter's workerd pr...eaa1fb0Fix glob() loader watcher ignoring negation patterns, causing unrelated files...704e570Fix tsconfig path aliases not resolving in astro.config.ts (#17418) (#17511)898f008chore: use star import consistently (#17473)8e2b64b[ci] formatf1448defix(sessions): route session diagnostics through AstroLogger and reset partia...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.