Skip to content

chore: fix bun audit vulnerabilities and upgrade astro to v6 - #709

Merged
theoephraim merged 2 commits into
mainfrom
fix/bun-audit-vulnerabilities
May 21, 2026
Merged

theoephraim merged 2 commits into
mainfrom
fix/bun-audit-vulnerabilities

Conversation

@theoephraim

Copy link
Copy Markdown
Member

Summary

  • Bump direct dependencies to resolve 14 bun audit vulnerabilities (now 0)
  • Upgrade astro ecosystem to v6 (astro, @astrojs/mdx, @astrojs/starlight, @astrojs/vue, astro-og-canvas, starlight-llms-txt)
  • Add socket security scanner, reduce minimumReleaseAge from 3 days to 1 day
  • Clean up stale overrides (form-data, punycode) and CI audit ignores
  • Add targeted overrides for transitive vulns that can't be fixed via direct bumps (postcss, ws, @modelcontextprotocol/sdk)

Astro v6 migration

  • experimental.fonts → top-level fonts (graduated to stable)
  • Astro.url → Astro.request.url (5 pages)
  • import assert → import with (deprecated syntax)
  • await OGImageRoute() (astro-og-canvas 0.11.x made it async)

Test plan

  • bun audit reports 0 vulnerabilities
  • bun run typecheck passes
  • Website builds successfully (bun run build)
  • Verify website renders correctly in dev/preview
  • Verify OG images still generate

Direct dependency bumps:
- turbo ^2.8.12 → ^2.9.14
- @cloudflare/vite-plugin ^1.30.1 → ^1.37.1
- agents ^0.2.8 → ^0.3.7
- wrangler ^4.45.x → ^4.93.0
- astro ^5.17.1 → ^6.3.6
- @astrojs/mdx ^4.3.13 → ^5.0.6
- @astrojs/starlight ^0.37.6 → ^0.39.2
- @astrojs/vue ^5.1.4 → ^6.0.1
- astro-og-canvas ^0.7.2 → ^0.11.1
- starlight-llms-txt ^0.6.0 → ^0.10.0

Astro v6 migration:
- Move experimental.fonts to top-level fonts (graduated to stable)
- Replace Astro.url with Astro.request.url
- Update import assert → import with
- Await async OGImageRoute() (astro-og-canvas 0.11.x)

Supply chain security:
- Add socket security scanner
- Reduce minimumReleaseAge from 3 days to 1 day
- Add overrides for transitive vulns (postcss, ws, @modelcontextprotocol/sdk)
- Remove stale overrides (form-data, punycode)
- Bump @xmldom/xmldom override to >=0.9.10
- Remove CI audit ignores (no longer needed)

Resolves all 14 bun audit vulnerabilities.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
varlock-docs-mcp 53b1896 May 21 2026, 06:44 AM

@socket-security

socket-security Bot commented May 21, 2026 •

Copy link
Copy Markdown

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
varlock-website 53b1896 Commit Preview URL

Branch Preview URL
May 21 2026, 06:46 AM

@theoephraim
theoephraim requested a review from philmillman May 21, 2026 06:52

@philmillman philmillman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@theoephraim
theoephraim merged commit ade5dd7 into main May 21, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants