Skip to content

[auto-sec] aspire.dev: remediate 12 frontend npm security alerts - #1645

Open
David Pine (IEvangelist) wants to merge 1 commit into
mainfrom
dapire/security-deps/aspire.dev-frontend-npm
Open

[auto-sec] aspire.dev: remediate 12 frontend npm security alerts#1645
David Pine (IEvangelist) wants to merge 1 commit into
mainfrom
dapire/security-deps/aspire.dev-frontend-npm

Conversation

@IEvangelist

Copy link
Copy Markdown
Member

[auto-sec] Canonical — aspire.dev frontend npm security cluster

Canonical remediation PR for the aspire.dev dependency/security cluster.
Branch dapire/security-deps/aspire.dev-frontend-npm, based on the latest
origin/main, labeled automated-security.

Alerts addressed — all 12 open Dependabot alerts (1 critical, 6 high, 5 moderate)

Package Change Severity Advisory / alert
astro 7.1.3 → 7.2.10 🔴 CRITICAL + 🟡 moderate alerts #122, #123
sharp 0.35.3 → 0.35.4 🟠 HIGH alerts #125, #128
js-yaml override → 4.3.2 🟠 HIGH alert #127
nanoid override → 3.3.18 🟠 HIGH alert #118
smol-toml override → 1.7.1 🟠 HIGH alert #129
svgo override → 4.1.0 🟠 HIGH + 🟡 moderate alerts #120, #121
fflate override → 0.7.5 🟡 moderate alert #119
vitest 4.1.10 → 4.1.11 🟡 moderate alert #126
@vitest/mocker override → 4.1.11 🟡 moderate alert #124

How

  • Direct deps bumped in src/frontend/package.json: astro, sharp, vitest.
  • Transitive deps pinned via src/frontend/pnpm-workspace.yaml overrides — the
    repo's existing security-remediation mechanism. Stale overrides refreshed
    (js-yaml 4.3.1→4.3.2, nanoid 3.3.17→3.3.18, svgo =4.0.0→<4.1.0:4.1.0)
    and new surgical range overrides added (fflate, smol-toml, @vitest/mocker).
  • src/frontend/pnpm-lock.yaml regenerated with pnpm install (astro minor bump
    accounts for the large lockfile delta).

Verification

  • pnpm install — succeeds; lockfile npm ci-consistent.
  • pnpm auditNo known vulnerabilities found.
  • pnpm exec astro sync — config + all integrations + content types load under astro 7.2.10.

Supersedes (Dependabot PRs folded into this canonical cluster)

These remain open and tracked until this canonical PR is confirmed green, per the
closure gate; they will then be closed as superseded.


canonical_count_frontend-npm = 1

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Dependency/security remediations with a regenerated lockfile require CI confirmation to ensure the updated resolution graph doesn’t introduce build/runtime regressions.

Pull request overview

This PR remediates a cluster of frontend npm Dependabot security alerts for aspire.dev by updating a few direct dependencies and pinning vulnerable transitives via pnpm overrides, with a regenerated lockfile to reflect the resolved versions.

Changes:

  • Bump direct frontend deps: astro, sharp, and vitest.
  • Add/refresh pnpm-workspace.yaml overrides to force patched transitive versions (@vitest/mocker, fflate, js-yaml, nanoid, smol-toml, svgo).
  • Regenerate pnpm-lock.yaml to capture the new resolution graph.
File summaries
File Description
src/frontend/pnpm-workspace.yaml Adds/updates pnpm overrides to pin vulnerable transitives to patched versions.
src/frontend/package.json Bumps direct dependencies (astro, sharp, vitest) involved in the security remediation.
src/frontend/pnpm-lock.yaml Updated dependency resolution output consistent with the new direct deps + overrides.
Review details
  • Files reviewed: 2/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/frontend/package.json
"@mdx-js/mdx": "^3.1.1",
"asciinema-player": "^3.17.0",
"astro": "^7.1.3",
"astro": "^7.2.8",
Clears all open Dependabot alerts for src/frontend (1 critical, 6 high, 5 medium):
- astro 7.1.3 -> 7.2.10 (critical GHSA + medium)
- sharp 0.35.3 -> 0.35.4 (high)
- vitest 4.1.10 -> 4.1.11; @vitest/mocker -> 4.1.11 (medium)
- pnpm overrides: js-yaml 4.3.2, nanoid 3.3.18, svgo 4.1.0, fflate 0.7.5, smol-toml 1.7.1

Verified: pnpm install OK; pnpm audit -> no known vulnerabilities; astro sync OK.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@IEvangelist
David Pine (IEvangelist) force-pushed the dapire/security-deps/aspire.dev-frontend-npm branch from 76b7dda to 16f96b2 Compare September 10, 2026 14:20
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #1645. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1645 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This all works on my machine. Approved.

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

Labels

automated-security Automated security dependency management PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants