Skip to content

docs(adr): record the js-yaml security alert resolution - #2393

Merged
kompiro merged 1 commit into
mainfrom
docs/adr-security-20260807
Aug 7, 2026
Merged

kompiro merged 1 commit into
mainfrom
docs/adr-security-20260807

Conversation

@kompiro

@kompiro kompiro commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Purpose

Refs #2390

Summary

Records ADR-2390 — the decision behind PR #2392, which resolved Dependabot security alert #66 (js-yaml !!omap quadratic CPU consumption, GHSA-5p4m-2wfm-xmqj, high, transitive, dev scope).

The notable part worth recording: the repo already carried a js-yaml@4 pnpm override from ADR-1675, and its floor (^4.3.0) was itself inside the advisory's vulnerable range. Five packages resolved to 4.3.0 despite the pin. The ADR captures why the fix was a floor raise rather than a new override, why the @4 scope stays, and the rejected alternatives (unscoped key, dismiss, waiting for upstreams).

Changes

  • docs/adr/2390-dependabot-security-2026-08-07.md — new ADR
  • docs/adr/effective.md, graph.md, graph/build.md — regenerated by pnpm adr:regenerate

Scope filter (new-feature PRs only)

  • N/A — not a new-feature PR

Dependency & license impact

  • N/A — no production dependency added or bumped across a major version

Manual Verification Checklist

N/A — pnpm adr:validate (0 errors) and pnpm adr:check-assumptions (ADR-2390 ✓) cover this.

TPL impact

Disposition: N/A — ADR only.

Related Docs

ADR-2390 covers Dependabot alert #66 (GHSA-5p4m-2wfm-xmqj, high, transitive,
dev scope). The interesting part is that we already had a js-yaml@4 override
and its floor was the vulnerable version itself, so five packages resolved to
4.3.0 despite the pin. Records why the floor moved to ^4.3.1, why the @4
scope stays, and what was rejected (unscoped key, dismiss, waiting upstream).

Refs #2390

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@kompiro
kompiro enabled auto-merge (squash) August 7, 2026 14:07
@kompiro
kompiro merged commit a775736 into main Aug 7, 2026
5 checks passed
@kompiro
kompiro deleted the docs/adr-security-20260807 branch August 7, 2026 14:08
@kompiro kompiro mentioned this pull request Aug 7, 2026
2 of 3 tasks
kompiro added a commit that referenced this pull request Aug 7, 2026
Two ADR PRs landed close together (#2393 and #2370). Each regenerated the
derived files against its own base, so the entries merged cleanly but the
summary counts at the top of effective.md and graph.md were computed from a main
that was one ADR short. The drift guard on main caught it.

Regenerating only moves the counts: 311 -> 312 ADRs, 302 -> 303 effective.

Co-authored-by: Claude Fable 5 <[email protected]>
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