Skip to content

fix(web): update devalue and source-map-js past their high advisories - #135

Merged
TusanHomichi merged 1 commit into
mainfrom
claude/131-npm-audit
Oct 15, 2026
Merged

TusanHomichi merged 1 commit into
mainfrom
claude/131-npm-audit

Conversation

@TusanHomichi

Copy link
Copy Markdown
Member

Primary Issue

Refs #131

This PR completes the lockfile part of #131. The issue stays open until the maintainer enables the dependency graph in the repository settings and it indexes the lockfiles.

Problem And Outcome

npm audit on main (50be527) reported 2 high-severity transitive packages:

  • devalue ≤ 5.9.2, with six advisories, including uneval amplification and a __proto__ key-coercion bypass;
  • source-map-js 1.2.1, GHSA-68fv-2mgg-jv7q, an event-loop DoS.

After this change npm audit reports 0 high, 0 moderate, and 3 low. The 3 low are #54's cookie chain, which needs SvelteKit 3.

Changes

  • web/package-lock.json only, produced by npm audit fix without --force:

    • devalue 5.9.2 → 5.9.4
    • source-map-js 1.2.1 → 1.2.2

    No package.json range changes, no major bumps, and no other package moved; this was checked by comparing every lockfile entry.

Scope

Verification

  • Candidate revision: 73a510e53866660c8933980b603177f4c5f10313 (tree 8564eccd).
  • Local full proof (verifier role): scripts/proof.py passed all 7 gates in 539 s.
    • Workspace tests: 283 passed, 0 failed, 3 ignored.
    • Browser: 62 expected, 0 unexpected, 0 flaky, 0 skipped, on system Google Chrome 155.0.8059.79.
    • Receipt sha256 2464498606f898b27b1d4391f3ad4848cd43a737bb39e297dd9570d693420ee0, archived on the maintainer machine.
  • After the proof: npm audit --json reported {low: 3, moderate: 0, high: 0, critical: 0}.
  • Listed the exact verification commands run below
  • Added or updated tests when behavior changed (no behavior change)
  • Added or updated an ADR when a durable decision changed (none)
  • All fixtures and examples are invented; no real agency data
- scripts/check-guidance-names.sh
- web/: npm ci, npm run check, npm run build
- cargo fmt --check
- cargo clippy --workspace --all-targets -- -D warnings
- cargo test --workspace
- cargo build -p consolebook-server
- web/: npm run e2e (system Google Chrome 155.0.8059.79)
- web/: npm audit --json

Review And Merge Notes

  • Review performed: integrator self-review of the lockfile diff. Only the two listed packages moved. No independent review for a two-package patch-level lockfile change.
  • Authority: the maintainer's standing PR permission (2026-10-15).
  • User or operator impact: none at runtime beyond the patched libraries.

🤖 Generated with Claude Code

npm audit fix (without --force) moves the transitive devalue 5.9.2 -> 5.9.4
(six advisories, including uneval amplification and a __proto__ key
bypass) and source-map-js 1.2.1 -> 1.2.2 (GHSA-68fv-2mgg-jv7q event-loop
DoS). Only package-lock.json changes; npm audit now lists only the three
low findings of the cookie chain #54 tracks.

Refs #131

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 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-10-15T18:42:36.408366Z 73a510e 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