Skip to content

Patch open Dependabot alerts and scope the CI token - #179

Open
YurMil wants to merge 1 commit into
mainfrom
fix/security-alerts-2026-09
Open

YurMil wants to merge 1 commit into
mainfrom
fix/security-alerts-2026-09

Conversation

@YurMil

@YurMil YurMil commented Sep 16, 2026

Copy link
Copy Markdown
Owner

Summary

This PR closes all 20 open Dependabot alerts and code scanning alert #138.

Triage. None of the alerts is exploitable on this site in practice:

  • All are transitive dependencies. Most sit in the Docusaurus build toolchain or the dev server (svgo, browserslist, baseline-browser-mapping, joi, js-yaml, toml, qs, fast-uri, colord, @swc/html). There they only process this repository's own MDX, SVG and config files.
  • Only fflate reaches the browser (through three-stdlib and jspdf). Its advisory is an infinite loop on a malformed ZIP, which can only hang the user's own tab.

So no issues were opened; everything is fixed here.

Package Before After Alerts
js-yaml 4.3.1 4.3.2 #193
colord 2.9.3 2.10.0 #192
baseline-browser-mapping 2.10.x 2.11.24 #190
qs 6.15.3 6.16.0 #177, #189
svgo 4.0.2 4.1.0 #187, #188
joi 18.2.3 18.2.9 #185, #186
@swc/html 1.15.43 1.16.2 #184
browserslist 4.28.2 / 4.28.6 4.29.0 #182, #183
toml 3.0.0 4.3.0 #180, #181
fflate 0.6.10 / 0.8.2 0.6.11 / 0.8.3 #178, #179
fast-uri 4.1.2 4.1.5 #173#176

Lockfile note. svgo, fast-uri and joi were already covered by older, open-ended overrides such as svgo@>=3.0.0 <3.3.3 → >=3.3.3. The lockfile had kept the version first resolved under them, so these three were re-resolved.

toml 3 → 4. It is only imported by remark-mdx-frontmatter, which uses the named parse export. That export still exists in v4 (checked).

ci.yml. Adds permissions: contents: read, since the job only reads the repository (code scanning #138).

Remaining. pnpm audit still reports only the two image-size advisories. They have no patched release, and they were dismissed earlier because the package is only used at build time.

Verification

  • A clean pnpm install --frozen-lockfile succeeds.
  • pnpm typecheck passes; pnpm lint has 0 errors.
  • pnpm test:db: 43/43.
  • DOCUSAURUS_ONBROKENLINKS=throw pnpm build succeeds for all six locales.
  • Built site served locally:
    • The home page and /mini-games/eco-sort-game/ (three.js / drei, which pull in fflate) both render.
    • The only console errors are 404s for /_vercel/* analytics scripts, which exist only on Vercel.

🤖 Generated with Claude Code

- pnpm overrides for js-yaml, qs, joi, fast-uri, fflate, colord,
  baseline-browser-mapping, svgo, browserslist, toml and @swc/html.
- Re-resolve svgo, fast-uri and joi, whose older open-ended overrides had
  kept vulnerable versions in the lockfile.
- ci.yml: explicit read-only permissions (code scanning alert #138).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@supabase

supabase Bot commented Sep 16, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project bkcimygtsnckzexbfqxh because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@vercel

vercel Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cadautoscript-com Ready Ready Preview Sep 16, 2026 7:20pm UTC

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-16T19:19:46.537409Z 4251f1c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant