Skip to content

chore(deps): lift the runtime crypto and utility dependencies past their advisories - #5

Merged
robrigo merged 1 commit into
mainfrom
chore/deps-advisories
Aug 19, 2026
Merged

chore(deps): lift the runtime crypto and utility dependencies past their advisories#5
robrigo merged 1 commit into
mainfrom
chore/deps-advisories

Conversation

@robrigo

@robrigo robrigo commented Aug 19, 2026

Copy link
Copy Markdown

Why

elliptic below 6.6.1 accepts signatures it should reject (GHSA-vjh7-7g9h-fjfh, critical). This package verifies real signatures, so that is the reason for the change; five older elliptic advisories clear with it. lodash carries a high and two mediums, and both the 4.x and 5.x bn.js lines carry one each. All four are direct runtime dependencies, so they ship to consumers of the published package.

Every declared range already admitted the patched version, so package.json is unchanged and no resolutions entry was needed. Scope is the root lockfile only; the examples lockfiles are excluded from the published tarball and are untouched.

One elliptic advisory stays open by design: CVE-2025-14505 applies to every version up to and including 6.6.1, so no bump clears it.

Validation

The lockfile is edited in place rather than regenerated. Yarn 1 renormalizes the whole file on any write, and doing so here rewrote 175 lines, dropped ten resolution specs and reformatted package.json; editing the four blocks keeps the diff at 12 lines each way. Each integrity hash was checked against the registry, and yarn install --frozen-lockfile passes, which validates them independently.

The VM suite passes at 35, unchanged, with the crypto paths green: recover_key, assert_recover_key, assert_valid_rsa_sig, assert_invalid_rsa_sig, and the sha256, sha1, sha512 and ripemd160 assertions. The release-notes composer test passes 12/12 and the packaging check 8/8, both unchanged.

…eir advisories

elliptic below 6.6.1 accepts signatures it should reject, and this package
verifies real signatures, so that one is the reason for the change. lodash,
and both the 4.x and 5.x bn.js lines, carry their own advisories and sit in
the same runtime graph that ships to consumers. Every declared range already
admitted the patched version, so package.json needs no change.

The lockfile is edited in place rather than regenerated. Yarn 1 renormalizes
the whole file on any write, which here also dropped ten resolution specs and
reformatted package.json; the four edited blocks keep the diff to what the
advisories require, and a frozen install validates the integrity hashes.
@robrigo
robrigo requested a lite review from Copilot August 19, 2026 02:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


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

@robrigo
robrigo merged commit e44cdc7 into main Aug 19, 2026
4 checks passed
@robrigo
robrigo deleted the chore/deps-advisories branch August 19, 2026 02:42
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.

2 participants